list_topics#

MonitorApi.list_topics(limit=1000, exclude_noisy=True)#

List all known tag keys and their values via the WebSocket list_tags action.

Sends a list_tags command to the monitor WebSocket endpoint and returns the authoritative tag catalogue reported by the server.

High-cardinality tag keys (such as timestamp) that carry a unique value per message are suppressed by default because they are rarely useful for subscription discovery. Pass exclude_noisy=False to include them.

Return type:

dict[str, list[str]]

Parameters:
limitint, optional

Maximum number of tag values to request per key. The default is 1000.

exclude_noisybool, optional

When True, remove tag keys listed in _NOISY_TAG_KEYS and any key whose value count exceeds _NOISY_MAX_VALUES. The default is True.

Returns:
dict[str, list[str]]

Dictionary mapping each tag key to a list of known values as returned by the server (noisy keys removed unless exclude_noisy=False).