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 CollectorRegistryCollectorRegistry. defaultRegistryThe 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.CSimpleCollector.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 CollectorRegistryGraphite.PushThread. registryMethods in io.prometheus.client.bridge with parameters of type CollectorRegistry Modifier and Type Method Description voidGraphite. push(CollectorRegistry registry)Push samples from the given registry to Graphite.java.lang.ThreadGraphite. start(CollectorRegistry registry)Push samples from the given registry to Graphite every minute.java.lang.ThreadGraphite. 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 CollectorRegistryHTTPServer.HTTPMetricHandler. registryprivate CollectorRegistryMetricsServlet. registryMethods in io.prometheus.client.exporter with parameters of type CollectorRegistry Modifier and Type Method Description (package private) voidPushGateway. doRequest(CollectorRegistry registry, java.lang.String job, java.util.Map<java.lang.String,java.lang.String> groupingKey, java.lang.String method)voidPushGateway. push(CollectorRegistry registry, java.lang.String job)Pushes all metrics in a registry, replacing all those with the same job and no grouping key.voidPushGateway. push(CollectorRegistry registry, java.lang.String job, java.lang.String instance)Deprecated.voidPushGateway. 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.voidPushGateway. 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.voidPushGateway. pushAdd(CollectorRegistry registry, java.lang.String job, java.lang.String instance)Deprecated.voidPushGateway. 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 voidDefaultExports. 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)
-