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 CollectorRegistryCollectorRegistry.defaultRegistryThe 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.exporter
Fields in io.prometheus.client.exporter declared as CollectorRegistryModifier and TypeFieldDescriptionprivate CollectorRegistryHTTPServer.Builder.registryprivate final CollectorRegistryHTTPServer.HTTPMetricHandler.registryMethods in io.prometheus.client.exporter with parameters of type CollectorRegistryModifier and TypeMethodDescriptionHTTPServer.Builder.withRegistry(CollectorRegistry registry) Optional: Default isdefaultRegistry.Constructors in io.prometheus.client.exporter with parameters of type CollectorRegistryModifierConstructorDescriptionHTTPMetricHandler(CollectorRegistry registry) HTTPMetricHandler(CollectorRegistry registry, Supplier<Predicate<String>> sampleNameFilterSupplier) HTTPServer(HttpServer httpServer, CollectorRegistry registry, boolean daemon) Start an HTTP server serving Prometheus metrics from the given registry using the givenHttpServer.HTTPServer(InetSocketAddress addr, CollectorRegistry registry) Start an HTTP server serving Prometheus metrics from the given registry using non-daemon threads.HTTPServer(InetSocketAddress addr, CollectorRegistry registry, boolean daemon) Start an HTTP server serving Prometheus metrics from the given registry.privateHTTPServer(ExecutorService executorService, HttpServer httpServer, CollectorRegistry registry, boolean daemon, Supplier<Predicate<String>> sampleNameFilterSupplier, Authenticator authenticator) MetricsServlet(CollectorRegistry registry) MetricsServlet(CollectorRegistry registry, Predicate<String> sampleNameFilter) -
Uses of CollectorRegistry in io.prometheus.client.hibernate
Methods in io.prometheus.client.hibernate with parameters of type CollectorRegistryModifier and TypeMethodDescription<T extends Collector>
THibernateStatisticsCollector.register(CollectorRegistry registry) -
Uses of CollectorRegistry in io.prometheus.client.hotspot
Methods in io.prometheus.client.hotspot with parameters of type CollectorRegistryModifier and TypeMethodDescriptionstatic voidDefaultExports.register(CollectorRegistry registry) Register the default Hotspot collectors with the given registry. -
Uses of CollectorRegistry in io.prometheus.client.servlet.common.exporter
Fields in io.prometheus.client.servlet.common.exporter declared as CollectorRegistryConstructors in io.prometheus.client.servlet.common.exporter with parameters of type CollectorRegistryModifierConstructorDescriptionExporter(CollectorRegistry registry, Predicate<String> sampleNameFilter) Construct a MetricsServlet for the given registry.