Package step.plugins.measurements
Class PrometheusCollectorRegistry
java.lang.Object
step.plugins.measurements.PrometheusCollectorRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrometheusCollectorRegistry
io.prometheus.client.Gauge
getOrCreateGauge
(String name, String help, String... labels) io.prometheus.client.Histogram
getOrCreateHistogram
(String name, String help, double[] buckets, String... labels)
-
Constructor Details
-
PrometheusCollectorRegistry
public PrometheusCollectorRegistry()
-
-
Method Details
-
getInstance
-
getOrCreateHistogram
-
getOrCreateGauge
-