B C E G H I O P S W 
All Classes All Packages

B

build() - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Build the HTTPServer
Builder() - Constructor for class io.prometheus.client.exporter.HTTPServer.Builder
 

C

close() - Method in class io.prometheus.client.exporter.HTTPServer
Stop the HTTPServer.

E

executorService - Variable in class io.prometheus.client.exporter.HTTPServer
 

G

get() - Method in class io.prometheus.client.exporter.SampleNameFilterSupplier
 
getPort() - Method in class io.prometheus.client.exporter.HTTPServer
Gets the port number.

H

handle(HttpExchange) - Method in class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
 
HTTPServer - Class in io.prometheus.client.exporter
Expose Prometheus metrics using a plain Java HttpServer.
HTTPServer(int) - Constructor for class io.prometheus.client.exporter.HTTPServer
Start an HTTP server serving the default Prometheus registry using non-daemon threads.
HTTPServer(int, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
Start an HTTP server serving the default Prometheus registry.
HTTPServer(HttpServer, CollectorRegistry, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
Start an HTTP server serving Prometheus metrics from the given registry using the given HttpServer.
HTTPServer(String, int) - Constructor for class io.prometheus.client.exporter.HTTPServer
Start an HTTP server serving the default Prometheus registry using non-daemon threads.
HTTPServer(String, int, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
Start an HTTP server serving the default Prometheus registry.
HTTPServer(InetSocketAddress, CollectorRegistry) - Constructor for class io.prometheus.client.exporter.HTTPServer
Start an HTTP server serving Prometheus metrics from the given registry using non-daemon threads.
HTTPServer(InetSocketAddress, CollectorRegistry, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
Start an HTTP server serving Prometheus metrics from the given registry.
HTTPServer.Builder - Class in io.prometheus.client.exporter
We keep the original constructors of HTTPServer for compatibility, but new configuration parameters like sampleNameFilter must be configured using the Builder.
HTTPServer.HTTPMetricHandler - Class in io.prometheus.client.exporter
Handles Metrics collections from the given registry.

I

io.prometheus.client.exporter - package io.prometheus.client.exporter
 

O

of(Predicate<String>) - Static method in class io.prometheus.client.exporter.SampleNameFilterSupplier
 

P

parseQuery(String) - Static method in class io.prometheus.client.exporter.HTTPServer
 

S

SampleNameFilterSupplier - Class in io.prometheus.client.exporter
For convenience, an implementation of a Supplier<Predicate<String>> that always returns the same sampleNameFilter.
server - Variable in class io.prometheus.client.exporter.HTTPServer
 
shouldUseCompression(HttpExchange) - Static method in class io.prometheus.client.exporter.HTTPServer
 
stop() - Method in class io.prometheus.client.exporter.HTTPServer
Deprecated.
renamed to close(), so that the HTTPServer can be used in try-with-resources.

W

withAuthenticator(Authenticator) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Optional: Authenticator to use to support authentication.
withDaemonThreads(boolean) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
By default, the HTTPServer uses non-daemon threads.
withHostname(String) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Use this hostname to resolve the IP address to bind to.
withHttpServer(HttpServer) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Use this httpServer.
withInetAddress(InetAddress) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Bind to this IP address.
withInetSocketAddress(InetSocketAddress) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Listen on this address.
withPort(int) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Port to bind to.
withRegistry(CollectorRegistry) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Optional: Default is CollectorRegistry.defaultRegistry.
withSampleNameFilter(Predicate<String>) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Optional: Only export time series where sampleNameFilter.test(name) returns true.
withSampleNameFilterSupplier(Supplier<Predicate<String>>) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
Optional: Only export time series where sampleNameFilter.test(name) returns true.
B C E G H I O P S W 
All Classes All Packages