Uses of Class
io.prometheus.client.CollectorRegistry
Packages that use CollectorRegistry
Package
Description
-
Uses of CollectorRegistry in io.prometheus.client
Fields in io.prometheus.client declared as CollectorRegistryModifier and TypeFieldDescriptionstatic final CollectorRegistry
CollectorRegistry.defaultRegistry
The default registry.Methods in io.prometheus.client with parameters of type CollectorRegistryModifier and TypeMethodDescription<T extends Collector>
TCollector.register
(CollectorRegistry registry) Register the Collector with the given registry.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 CollectorRegistryMethods in io.prometheus.client.bridge with parameters of type CollectorRegistryModifier and TypeMethodDescriptionvoid
Graphite.push
(CollectorRegistry registry) Push samples from the given registry to Graphite.Graphite.start
(CollectorRegistry registry) Push samples from the given registry to Graphite every minute.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 CollectorRegistryModifierConstructorDescription(package private)
PushThread
(CollectorRegistry registry, int intervalSeconds) -
Uses of CollectorRegistry in io.prometheus.client.exporter
Fields in io.prometheus.client.exporter declared as CollectorRegistryModifier and TypeFieldDescriptionprivate CollectorRegistry
HTTPServer.HTTPMetricHandler.registry
private CollectorRegistry
MetricsServlet.registry
Methods in io.prometheus.client.exporter with parameters of type CollectorRegistryModifier and TypeMethodDescription(package private) void
PushGateway.doRequest
(CollectorRegistry registry, String job, Map<String, String> groupingKey, String method) void
PushGateway.push
(CollectorRegistry registry, String job) Pushes all metrics in a registry, replacing all those with the same job and no grouping key.void
PushGateway.push
(CollectorRegistry registry, String job, String instance) Deprecated.void
Pushes all metrics in a registry, replacing all those with the same job and grouping key.void
PushGateway.pushAdd
(CollectorRegistry registry, 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, String job, String instance) Deprecated.void
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 CollectorRegistryModifierConstructorDescription(package private)
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
(InetSocketAddress addr, CollectorRegistry registry) Start a HTTP server serving Prometheus metrics from the given registry using non-daemon threads.HTTPServer
(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 CollectorRegistryModifier and TypeMethodDescriptionstatic 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 CollectorRegistryModifier and TypeMethodDescription<T extends Collector>
TQueuedThreadPoolStatisticsCollector.register
(CollectorRegistry registry)
PushGateway.push(CollectorRegistry, String, Map)