Class NodeCountMetricsCollector
java.lang.Object
io.confluent.telemetry.collector.NodeCountMetricsCollector
- All Implemented Interfaces:
MetricsCollector
A metrics collector that emits a single metric representing that this node is up in this cluster. This acts as a
liveness metric for the cluster as well as a count of the number of nodes that are part of the cluster.
-
Field Summary
FieldsFields inherited from interface io.confluent.telemetry.collector.MetricsCollector
LABEL_LIBRARY, LABEL_ORIGINAL, LIBRARY_NONE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.confluent.telemetry.collector.MetricsCollector
start, stop
-
Field Details
-
LABEL_RESOURCE_NODE_ID
- See Also:
-
NODE_COUNT_METRIC_NAME
- See Also:
-
NODE_COUNT_METRIC_REGEX
-
-
Constructor Details
-
NodeCountMetricsCollector
-
-
Method Details
-
collect
- Specified by:
collectin interfaceMetricsCollector
-