public static interface Metrics.MetricCollector
| Modifier and Type | Method and Description |
|---|---|
boolean |
exportsToPrometheus()
Indicates whether the metric collector exports to Prometheus.
|
String |
getName()
Returns the name of the metric collector.
|
int |
maximumGroups()
Limit the number of groups maintained by this metric collector.
|
String getName()
boolean exportsToPrometheus()
int maximumGroups()
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 $SessionId and
maximumGroups is 10, then metrics will only be collected for the
first 10 sessions.
Copyright © 2024 DiffusionData Limited. All rights reserved.