Uses of Class
io.prometheus.client.Collector
-
Packages that use Collector Package Description io.prometheus.client io.prometheus.client.exporter io.prometheus.client.guava.cache io.prometheus.client.hotspot io.prometheus.client.jetty -
-
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.Fields in io.prometheus.client with type parameters of type Collector Modifier and Type Field Description private java.util.Iterator<Collector>CollectorRegistry.MetricFamilySamplesEnumeration. collectorIterprivate java.util.Map<Collector,java.util.List<java.lang.String>>CollectorRegistry. collectorsToNamesprivate java.util.Map<java.lang.String,Collector>CollectorRegistry. namesToCollectorsMethods 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, java.lang.String... labelValues)Replace the Child with the given labels.Methods in io.prometheus.client that return types with arguments of type Collector Modifier and Type Method Description private java.util.Set<Collector>CollectorRegistry. collectors()A snapshot of the current collectors.private java.util.Iterator<Collector>CollectorRegistry.MetricFamilySamplesEnumeration. includedCollectorIterator(java.util.Set<java.lang.String> includedNames)Methods in io.prometheus.client with parameters of type Collector Modifier and Type Method Description private java.util.List<java.lang.String>CollectorRegistry. collectorNames(Collector m)voidCollectorRegistry. register(Collector m)Register a Collector.voidCollectorRegistry. unregister(Collector m)Unregister a Collector. -
Uses of Collector in io.prometheus.client.exporter
Methods in io.prometheus.client.exporter with parameters of type Collector Modifier and Type Method Description voidPushGateway. push(Collector collector, java.lang.String job)Pushes all metrics in a Collector, replacing all those with the same job and no grouping key.voidPushGateway. push(Collector collector, java.lang.String job, java.lang.String instance)Deprecated.voidPushGateway. push(Collector collector, java.lang.String job, java.util.Map<java.lang.String,java.lang.String> groupingKey)Pushes all metrics in a Collector, replacing all those with the same job and grouping key.voidPushGateway. pushAdd(Collector collector, java.lang.String job)Pushes all metrics in a Collector, replacing only previously pushed metrics of the same name and job and no grouping key.voidPushGateway. pushAdd(Collector collector, java.lang.String job, java.lang.String instance)Deprecated.voidPushGateway. pushAdd(Collector collector, java.lang.String job, java.util.Map<java.lang.String,java.lang.String> groupingKey)Pushes all metrics in a Collector, replacing only previously pushed metrics of the same name, job and grouping key. -
Uses of Collector in io.prometheus.client.guava.cache
Subclasses of Collector in io.prometheus.client.guava.cache Modifier and Type Class Description classCacheMetricsCollectorCollect metrics from Guava's com.google.common.cache.Cache. -
Uses of Collector in io.prometheus.client.hotspot
Subclasses of Collector in io.prometheus.client.hotspot Modifier and Type Class Description classBufferPoolsExportsExports metrics about JVM buffers.classClassLoadingExportsExports metrics about JVM classloading.classGarbageCollectorExportsExports metrics about JVM garbage collectors.classMemoryAllocationExportsclassMemoryPoolsExportsExports metrics about JVM memory areas.classStandardExportsExports the standard exports common across all prometheus clients.classThreadExportsExports metrics about JVM thread areas.classVersionInfoExportsExports JVM version info. -
Uses of Collector in io.prometheus.client.jetty
Subclasses of Collector in io.prometheus.client.jetty Modifier and Type Class Description classJettyStatisticsCollectorCollect metrics from jetty's org.eclipse.jetty.server.handler.StatisticsHandler.classQueuedThreadPoolStatisticsCollectorMethods in io.prometheus.client.jetty with type parameters of type Collector Modifier and Type Method Description <T extends Collector>
TQueuedThreadPoolStatisticsCollector. register(CollectorRegistry registry)
-