Class CallbackMetric
java.lang.Object
io.prometheus.metrics.core.metrics.Metric
io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
io.prometheus.metrics.core.metrics.CallbackMetric
- All Implemented Interfaces:
Collector
- Direct Known Subclasses:
CounterWithCallback, GaugeWithCallback, SummaryWithCallback
There are two kinds of metrics:
StatefulMetric and CallbackMetric.
See JavaDoc on StatefulMetric for more info.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classCallbackMetric.Builder<B extends CallbackMetric.Builder<B,M>, M extends CallbackMetric> -
Field Summary
Fields inherited from class MetricWithFixedMetadata
labelNamesFields inherited from class Metric
constLabels -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class MetricWithFixedMetadata
getLabelNames, getMetadata, getPrometheusNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collector
collect, collect, collect, getMetricType
-
Constructor Details
-
CallbackMetric
-
-
Method Details
-
makeLabels
-