Class NodeCountMetricsCollector

java.lang.Object
io.confluent.telemetry.collector.NodeCountMetricsCollector
All Implemented Interfaces:
MetricsCollector

public class NodeCountMetricsCollector extends Object implements 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 Details

  • Constructor Details

    • NodeCountMetricsCollector

      public NodeCountMetricsCollector(String nodeId)
  • Method Details