Uses of Class
io.prometheus.client.Collector
-
-
Uses of Collector in io.prometheus.client
Subclasses of Collector in io.prometheus.client Modifier and Type Class Description classCounterCounter metric, to track counts of events or running totals.classGaugeGauge metric, to report instantaneous values.classHistogramHistogram metric, to track distributions of events.classSimpleCollector<Child>classSummarySummary metric, to track the size of events.Methods in io.prometheus.client with type parameters of type Collector Modifier and Type Method Description <T extends Collector>
TCollector. register()Register the Collector with the default registry.<T extends Collector>
TCollector. register(CollectorRegistry registry)Register the Collector with the given registry.<T extends Collector>
TSimpleCollector. setChild(Child child, String... labelValues)Replace the Child with the given labels.Methods in io.prometheus.client with parameters of type Collector Modifier and Type Method Description voidCollectorRegistry. register(Collector m)Register a Collector.voidCollectorRegistry. unregister(Collector m)Unregister a Collector.
-