public class PrometheusMetricsCreator extends Object implements MetricsCreator
HEALTH_METRIC_PREFIX| Constructor and Description |
|---|
PrometheusMetricsCreator() |
| Modifier and Type | Method and Description |
|---|---|
CounterMetrics |
createCounter(String name,
String tips,
MetricsTag.Keys tagKeys,
MetricsTag.Values tagValues) |
GaugeMetrics |
createGauge(String name,
String tips,
MetricsTag.Keys tagKeys,
MetricsTag.Values tagValues) |
HistogramMetrics |
createHistogramMetric(String name,
String tips,
MetricsTag.Keys tagKeys,
MetricsTag.Values tagValues,
double... buckets) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateHealthCheckerGauge, extractModuleName, isHealthCheckerMetricspublic CounterMetrics createCounter(String name, String tips, MetricsTag.Keys tagKeys, MetricsTag.Values tagValues)
createCounter in interface MetricsCreatorpublic GaugeMetrics createGauge(String name, String tips, MetricsTag.Keys tagKeys, MetricsTag.Values tagValues)
createGauge in interface MetricsCreatorpublic HistogramMetrics createHistogramMetric(String name, String tips, MetricsTag.Keys tagKeys, MetricsTag.Values tagValues, double... buckets)
createHistogramMetric in interface MetricsCreatorCopyright © 2022 The Apache Software Foundation. All rights reserved.