public class VolumeMetricsCollector extends java.lang.Object implements MetricsCollector
Modifier and Type | Class and Description |
---|---|
static class |
VolumeMetricsCollector.Builder |
static class |
VolumeMetricsCollector.VolumeMetricsCollectorConfig |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VOLUME_LABEL |
LABEL_COLLECTOR, LABEL_LIBRARY, LABEL_ORIGINAL, LIBRARY_NONE
Modifier and Type | Method and Description |
---|---|
void |
collect(Exporter exporter) |
java.util.Map<java.lang.String,io.confluent.telemetry.collector.VolumeMetricsCollector.VolumeInfo> |
getMetrics() |
static VolumeMetricsCollector.Builder |
newBuilder() |
static VolumeMetricsCollector.Builder |
newBuilder(ConfluentTelemetryConfig config)
Create a new Builder using values from the
ConfluentTelemetryConfig . |
java.lang.String |
toString() |
public static final java.lang.String VOLUME_LABEL
public void collect(Exporter exporter)
collect
in interface MetricsCollector
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,io.confluent.telemetry.collector.VolumeMetricsCollector.VolumeInfo> getMetrics()
public static VolumeMetricsCollector.Builder newBuilder()
public static VolumeMetricsCollector.Builder newBuilder(ConfluentTelemetryConfig config)
ConfluentTelemetryConfig
.