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 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.Builder. registryprivate CollectorRegistryHTTPServer.HTTPMetricHandler. 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.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.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.BuilderHTTPServer.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 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) -
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 CollectorRegistryExporter. registryConstructors 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)
-