Module io.prometheus.metrics.core
Class MetricWithFixedMetadata
- All Implemented Interfaces:
Collector
- Direct Known Subclasses:
Counter,CounterWithCallback,Gauge,GaugeWithCallback,Histogram,Info,StateSet,Summary,SummaryWithCallback
Almost all metrics have fixed metadata, i.e. the metric name is known when the metric is created.
An exception would be a metric that is a bridge to a 3rd party metric library, where the metric name has to be retrieved from the 3rd party metric library at scrape time.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMetricWithFixedMetadata.Builder<B extends MetricWithFixedMetadata.Builder<B,M>, M extends MetricWithFixedMetadata> -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collector
collect, collect, collect
-
Method Details
-
getPrometheusName
-