Uses of Class
io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Uses of HTTPServer.Builder in io.prometheus.metrics.exporter.httpserver
Modifier and TypeMethodDescriptionHTTPServer.Builder.authenticatedSubjectAttributeName
(String authenticatedSubjectAttributeName) Optional: the attribute name of a Subject from a custom authenticator.HTTPServer.Builder.authenticator
(Authenticator authenticator) Optional:Authenticator
for authentication.static HTTPServer.Builder
HTTPServer.builder()
static HTTPServer.Builder
HTTPServer.builder
(PrometheusProperties config) HTTPServer.Builder.defaultHandler
(HttpHandler defaultHandler) Optional: Override default handler, i.e. the handler that will be registered for the / endpoint.HTTPServer.Builder.executorService
(ExecutorService executorService) Optional: ExecutorService used by thehttpServer
.Use this hostname to resolve the IP address to bind to.HTTPServer.Builder.httpsConfigurator
(HttpsConfigurator configurator) Optional:HttpsConfigurator
for TLS/SSLHTTPServer.Builder.inetAddress
(InetAddress address) Bind to this IP address.HTTPServer.Builder.port
(int port) Port to bind to.HTTPServer.Builder.registry
(PrometheusRegistry registry) Optional: Default isPrometheusRegistry.defaultRegistry
.