Uses of Class
io.prometheus.client.CollectorRegistry
-
-
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.Builder. registry
private CollectorRegistry
HTTPServer.HTTPMetricHandler. 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.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.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.HTTPServer.Builder
HTTPServer.Builder. withRegistry(CollectorRegistry registry)
Optional: Default isdefaultRegistry
.Constructors in io.prometheus.client.exporter with parameters of type CollectorRegistry Constructor Description HTTPMetricHandler(CollectorRegistry registry)
HTTPMetricHandler(CollectorRegistry registry, Supplier<Predicate<java.lang.String>> sampleNameFilterSupplier)
HTTPServer(com.sun.net.httpserver.HttpServer httpServer, CollectorRegistry registry, boolean daemon)
Start an HTTP server serving Prometheus metrics from the given registry using the givenHttpServer
.HTTPServer(java.net.InetSocketAddress addr, CollectorRegistry registry)
Start an HTTP server serving Prometheus metrics from the given registry using non-daemon threads.HTTPServer(java.net.InetSocketAddress addr, CollectorRegistry registry, boolean daemon)
Start an HTTP server serving Prometheus metrics from the given registry.HTTPServer(java.util.concurrent.ExecutorService executorService, com.sun.net.httpserver.HttpServer httpServer, CollectorRegistry registry, boolean daemon, Supplier<Predicate<java.lang.String>> sampleNameFilterSupplier, com.sun.net.httpserver.Authenticator authenticator)
MetricsServlet(CollectorRegistry registry)
MetricsServlet(CollectorRegistry registry, Predicate<java.lang.String> sampleNameFilter)
-
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)
-
Uses of CollectorRegistry in io.prometheus.client.logback
Constructors in io.prometheus.client.logback with parameters of type CollectorRegistry Constructor Description InstrumentedAppender(CollectorRegistry registry)
Create a new instrumented appender using the supplied registry. -
Uses of CollectorRegistry in io.prometheus.client.servlet.common.exporter
Fields in io.prometheus.client.servlet.common.exporter declared as CollectorRegistry Modifier and Type Field Description private CollectorRegistry
Exporter. registry
Constructors in io.prometheus.client.servlet.common.exporter with parameters of type CollectorRegistry Constructor Description Exporter(CollectorRegistry registry, Predicate<java.lang.String> sampleNameFilter)
Construct a MetricsServlet for the given registry. -
Uses of CollectorRegistry in io.prometheus.client.servlet.jakarta.exporter
Constructors in io.prometheus.client.servlet.jakarta.exporter with parameters of type CollectorRegistry Constructor Description MetricsServlet(CollectorRegistry registry)
MetricsServlet(CollectorRegistry registry, Predicate<java.lang.String> sampleNameFilter)
-