Uses of Class
io.prometheus.client.CollectorRegistry
-
Packages that use CollectorRegistry Package Description io.prometheus.client io.prometheus.client.bridge io.prometheus.client.exporter io.prometheus.client.hotspot io.prometheus.client.jetty -
-
Uses of CollectorRegistry in io.prometheus.client
Fields in io.prometheus.client declared as CollectorRegistry Modifier and Type Field Description static CollectorRegistry
CollectorRegistry. defaultRegistry
The default registry.Methods in io.prometheus.client with parameters of type CollectorRegistry Modifier and Type Method Description <T extends Collector>
TCollector. register(CollectorRegistry registry)
Register the Collector with the given registry.C
SimpleCollector.Builder. register(CollectorRegistry registry)
Create and register the Collector with the given registry. -
Uses of CollectorRegistry in io.prometheus.client.bridge
Fields in io.prometheus.client.bridge declared as CollectorRegistry Modifier and Type Field Description private CollectorRegistry
Graphite.PushThread. registry
Methods in io.prometheus.client.bridge with parameters of type CollectorRegistry Modifier and Type Method Description void
Graphite. push(CollectorRegistry registry)
Push samples from the given registry to Graphite.java.lang.Thread
Graphite. start(CollectorRegistry registry)
Push samples from the given registry to Graphite every minute.java.lang.Thread
Graphite. start(CollectorRegistry registry, int intervalSeconds)
Push samples from the given registry to Graphite at the given interval.Constructors in io.prometheus.client.bridge with parameters of type CollectorRegistry Constructor Description PushThread(CollectorRegistry registry, int intervalSeconds)
-
Uses of CollectorRegistry in io.prometheus.client.exporter
Fields in io.prometheus.client.exporter declared as CollectorRegistry Modifier and Type Field Description private CollectorRegistry
HTTPServer.HTTPMetricHandler. registry
private CollectorRegistry
MetricsServlet. registry
Methods in io.prometheus.client.exporter with parameters of type CollectorRegistry Modifier and Type Method Description (package private) void
PushGateway. doRequest(CollectorRegistry registry, java.lang.String job, java.util.Map<java.lang.String,java.lang.String> groupingKey, java.lang.String method)
void
PushGateway. push(CollectorRegistry registry, java.lang.String job)
Pushes all metrics in a registry, replacing all those with the same job and no grouping key.void
PushGateway. push(CollectorRegistry registry, java.lang.String job, java.lang.String instance)
Deprecated.void
PushGateway. push(CollectorRegistry registry, java.lang.String job, java.util.Map<java.lang.String,java.lang.String> groupingKey)
Pushes all metrics in a registry, replacing all those with the same job and grouping key.void
PushGateway. pushAdd(CollectorRegistry registry, java.lang.String job)
Pushes all metrics in a registry, replacing only previously pushed metrics of the same name and job and no grouping key.void
PushGateway. pushAdd(CollectorRegistry registry, java.lang.String job, java.lang.String instance)
Deprecated.void
PushGateway. pushAdd(CollectorRegistry registry, java.lang.String job, java.util.Map<java.lang.String,java.lang.String> groupingKey)
Pushes all metrics in a registry, replacing only previously pushed metrics of the same name, job and grouping key.Constructors in io.prometheus.client.exporter with parameters of type CollectorRegistry Constructor Description HTTPMetricHandler(CollectorRegistry registry)
HTTPServer(com.sun.net.httpserver.HttpServer httpServer, CollectorRegistry registry, boolean daemon)
Start a HTTP server serving Prometheus metrics from the given registry using the givenHttpServer
.HTTPServer(java.net.InetSocketAddress addr, CollectorRegistry registry)
Start a HTTP server serving Prometheus metrics from the given registry using non-daemon threads.HTTPServer(java.net.InetSocketAddress addr, CollectorRegistry registry, boolean daemon)
Start a HTTP server serving Prometheus metrics from the given registry.MetricsServlet(CollectorRegistry registry)
Construct a MetricsServlet for the given registry. -
Uses of CollectorRegistry in io.prometheus.client.hotspot
Methods in io.prometheus.client.hotspot with parameters of type CollectorRegistry Modifier and Type Method Description static void
DefaultExports. register(CollectorRegistry registry)
Register the default Hotspot collectors with the given registry. -
Uses of CollectorRegistry in io.prometheus.client.jetty
Methods in io.prometheus.client.jetty with parameters of type CollectorRegistry Modifier and Type Method Description <T extends Collector>
TQueuedThreadPoolStatisticsCollector. register(CollectorRegistry registry)
-