public class PrometheusMetricCreator extends Object implements MetricCreator
| Constructor and Description |
|---|
PrometheusMetricCreator() |
| Modifier and Type | Method and Description |
|---|---|
CounterMetric |
createCounter(String name,
String tips,
MetricTag.Keys tagKeys,
MetricTag.Values tagValues) |
GaugeMetric |
createGauge(String name,
String tips,
MetricTag.Keys tagKeys,
MetricTag.Values tagValues) |
HistogramMetric |
createHistogramMetric(String name,
String tips,
MetricTag.Keys tagKeys,
MetricTag.Values tagValues,
double... buckets) |
public CounterMetric createCounter(String name, String tips, MetricTag.Keys tagKeys, MetricTag.Values tagValues)
createCounter in interface MetricCreatorpublic GaugeMetric createGauge(String name, String tips, MetricTag.Keys tagKeys, MetricTag.Values tagValues)
createGauge in interface MetricCreatorpublic HistogramMetric createHistogramMetric(String name, String tips, MetricTag.Keys tagKeys, MetricTag.Values tagValues, double... buckets)
createHistogramMetric in interface MetricCreatorCopyright © 2019 The Apache Software Foundation. All rights reserved.