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 io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
labelNamesFields inherited from class io.prometheus.metrics.core.metrics.Metric
constLabels -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
getLabelNames, getMetadata, getPrometheusNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.prometheus.metrics.model.registry.Collector
collect, collect, collect, getMetricType
-
Constructor Details
-
CallbackMetric
-
-
Method Details
-
makeLabels
-