Index
All Classes and Interfaces|All Packages
B
- buildAndStart() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Build and start the HTTPServer.
C
- close() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- close() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Stop the HTTPServer.
D
- DefaultHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the / endpoint
- DefaultHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.DefaultHandler
E
- executorService - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer
G
- getHeaders(String) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getMethod() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getPort() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Gets the port number.
- getQueryString() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getRequest() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- getResponse() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
H
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.DefaultHandler
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.HealthyHandler
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- handleException(IOException) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- handleException(RuntimeException) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- HealthyHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the /-/healthy endpoint
- HealthyHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.HealthyHandler
- HttpExchangeAdapter - Class in io.prometheus.metrics.exporter.httpserver
- HttpExchangeAdapter(HttpExchange) - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- HttpExchangeAdapter.HttpRequest - Class in io.prometheus.metrics.exporter.httpserver
- HttpExchangeAdapter.HttpResponse - Class in io.prometheus.metrics.exporter.httpserver
- HttpRequest() - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- HttpResponse() - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- HTTPServer - Class in io.prometheus.metrics.exporter.httpserver
-
Expose Prometheus metrics using a plain Java HttpServer.
- HTTPServer.Builder - Class in io.prometheus.metrics.exporter.httpserver
I
- io.prometheus.metrics.exporter.httpserver - package io.prometheus.metrics.exporter.httpserver
M
- MetricsHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the /metrics endpoint
- MetricsHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusProperties) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusProperties, PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
N
- newBuilder() - Static method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- newBuilder(PrometheusProperties) - Static method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
S
- sendHeadersAndGetBody(int, int) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- server - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- setHeader(String, String) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- stop() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Stop the HTTP server.
W
- withAuthenticator(Authenticator) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional:
Authenticatorfor authentication. - withDefaultHandler(HttpHandler) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: Override default handler, i.e.
- withExecutorService(ExecutorService) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: ExecutorService used by the
httpServer. - withHostname(String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Use this hostname to resolve the IP address to bind to.
- withHttpsConfigurator(HttpsConfigurator) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional:
HttpsConfiguratorfor TLS/SSL - withInetAddress(InetAddress) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Bind to this IP address.
- withPort(int) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Port to bind to.
- withRegistry(PrometheusRegistry) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: Default is
PrometheusRegistry.defaultRegistry.
All Classes and Interfaces|All Packages