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 class
Counter
Counter metric, to track counts of events or running totals.class
Enumeration
Enumeration metric, to track which of a set of states something is in.class
Gauge
Gauge metric, to report instantaneous values.class
Histogram
Histogram metric, to track distributions of events.class
Info
Info metric, key-value pairs.class
SimpleCollector<Child>
class
Summary
Fields in io.prometheus.client with type parameters of type Collector Modifier and Type Field Description private java.util.Iterator<Collector>
CollectorRegistry.MetricFamilySamplesEnumeration. collectorIter
private java.util.Map<Collector,java.util.List<java.lang.String>>
CollectorRegistry. collectorsToNames
private java.util.Map<java.lang.String,Collector>
CollectorRegistry. namesToCollectors
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, 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. filteredCollectorIterator()
Methods in io.prometheus.client with parameters of type Collector Modifier and Type Method Description private void
CollectorRegistry. assertNoDuplicateNames(Collector m, java.util.List<java.lang.String> names)
private java.util.List<java.lang.String>
CollectorRegistry. collectorNames(Collector m)
void
CollectorRegistry. register(Collector m)
Register a Collector.void
CollectorRegistry. unregister(Collector m)
Unregister a Collector. -
Uses of Collector in io.prometheus.client.cache.caffeine
Subclasses of Collector in io.prometheus.client.cache.caffeine Modifier and Type Class Description class
CacheMetricsCollector
Collect metrics from Caffeine's com.github.benmanes.caffeine.cache.Cache. -
Uses of Collector in io.prometheus.client.exporter
Methods in io.prometheus.client.exporter with parameters of type Collector Modifier and Type Method Description void
PushGateway. push(Collector collector, java.lang.String job)
Pushes all metrics in a Collector, replacing all those with the same job and no grouping key.void
PushGateway. 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.void
PushGateway. 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.void
PushGateway. 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 class
CacheMetricsCollector
Collect 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 class
BufferPoolsExports
Exports metrics about JVM buffers.class
ClassLoadingExports
Exports metrics about JVM classloading.class
GarbageCollectorExports
Exports metrics about JVM garbage collectors.class
MemoryAllocationExports
class
MemoryPoolsExports
Exports metrics about JVM memory areas.class
StandardExports
Exports the standard exports common across all prometheus clients.class
ThreadExports
Exports metrics about JVM thread areas.class
VersionInfoExports
Exports JVM version info. -
Uses of Collector in io.prometheus.client.jetty
Subclasses of Collector in io.prometheus.client.jetty Modifier and Type Class Description class
JettyStatisticsCollector
Collect metrics from jetty's org.eclipse.jetty.server.handler.StatisticsHandler.class
QueuedThreadPoolStatisticsCollector
Methods in io.prometheus.client.jetty with type parameters of type Collector Modifier and Type Method Description <T extends Collector>
TQueuedThreadPoolStatisticsCollector. register(CollectorRegistry registry)
-