Hi, at the moment I use prometheus-java-client 0.8.1 with out of the box HTTPServer to expose metrics on my K8S pods and Prometheus discovery to scrape them. I just wonder if there is any particular reason to use fixedThreadPool of size 5 as default. - https://github.com/prometheus/client_java/blob/master/simpleclient_httpserver/src/main/java/io/prometheus/client/exporter/HTTPServer.java#L167
As the metrics endpoint is usually accessed by prometheus scrape only I feel as 5 threads are quite a luxury to have on every pod. I wonder if there is any response time based reasoning behind the pool size or some situation I still have to experience. https://github.com/prometheus/client_java/blob/master/simpleclient_httpserver/src/main/java/io/prometheus/client/exporter/HTTPServer.java#L167 While I guess the default HTTPServer could be replace by different implementation I just want to know what setup is the most lightweight and reliable at the same time. Thanks, Milan. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/9e57f6c6-51ad-49c0-8c9a-b3f58945143a%40googlegroups.com.

