The definition of a topic metric collector.
These can be configured to record metric data for a subset of all topics, specified with a topic selector.
Indicates whether the metric collector exports to Prometheus.
The number of leading parts of the topic path to group by, or 0 if the collector does not group by path prefix
Indicates whether the collector groups by topic type.
Limit on the number of groups maintained by this metric collector.
Session metric collectors can group metrics by property. Topic metric collectors can group metrics by topic type. This property places an upper limit on the number of groups that will be maintained for the metric collector.
For example, if a session metric collector groups by
maximumGroups is 10, then metrics will only be collected for the
first 10 sessions.
the name of the metric collector
the topic selector