Class Metric
Object
Metric
- All Implemented Interfaces:
Collector
- Direct Known Subclasses:
MetricWithFixedMetadata
Common base class for all metrics.
-
Method Summary
Modifier and TypeMethodDescriptionabstract MetricSnapshotcollect()Called when the Prometheus server scrapes metrics.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collector
collect, collect, collect, getLabelNames, getMetadata, getMetricFamilyDescriptor, getMetricType, getPrometheusName