Uses of Class
io.prometheus.client.exporter.HTTPServer.Builder
Packages that use HTTPServer.Builder
-
Uses of HTTPServer.Builder in io.prometheus.client.exporter
Methods in io.prometheus.client.exporter that return HTTPServer.BuilderModifier and TypeMethodDescriptionHTTPServer.Builder.withAuthenticator(Authenticator authenticator) Optional:Authenticatorto use to support authentication.HTTPServer.Builder.withDaemonThreads(boolean daemon) By default, theHTTPServeruses non-daemon threads.HTTPServer.Builder.withExecutorService(ExecutorService executorService) Optional: ExecutorService used by thehttpServer.HTTPServer.Builder.withHostname(String hostname) Use this hostname to resolve the IP address to bind to.HTTPServer.Builder.withHttpsConfigurator(HttpsConfigurator configurator) Optional:HttpsConfiguratorto use to support TLS/SSLHTTPServer.Builder.withHttpServer(HttpServer httpServer) Use this httpServer.HTTPServer.Builder.withInetAddress(InetAddress address) Bind to this IP address.HTTPServer.Builder.withInetSocketAddress(InetSocketAddress address) Listen on this address.HTTPServer.Builder.withPort(int port) Port to bind to.HTTPServer.Builder.withRegistry(CollectorRegistry registry) Optional: Default isCollectorRegistry.defaultRegistry.HTTPServer.Builder.withSampleNameFilter(Predicate<String> sampleNameFilter) Optional: Only export time series wheresampleNameFilter.test(name)returns true.HTTPServer.Builder.withSampleNameFilterSupplier(Supplier<Predicate<String>> sampleNameFilterSupplier) Optional: Only export time series wheresampleNameFilter.test(name)returns true.