Fabian Stäber
Fabian Stäber
I created #6476.
No, it's just callbacks waiting for the Prometheus server to scrape. If the metrics endpoint is not called, nothing will happen.
I think I don't understand your question. What are you trying to achieve? You need a Prometheus server to do Prometheus monitoring, right?
@fedetorres93 thanks for volunteering, I really appreciate that! Is there any general guidance yet on how to implement it, for example how to convert UTF-8 names to Prometheus names for...
Thanks @fedetorres93! There is already support for dots in metric and label names in `client_java`. It will be easy to extend this to other characters. The motivation for allowing dots...
Hello @fedetorres93, thanks for working on this. I noticed this is still a draft, but I have a few general comments, unrelated to specific code lines: * I think we...
Thanks a lot! This is interesting: The content type String is literally copied out of the [OpenMetrics spec](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md): > The content type MUST be: application/openmetrics-text; version=1.0.0; charset=utf-8 Could you open...
I suspect the `Counter` is from another library. Try with the full package name, like `io.prometheus.client.Counter.build()`.
Hi @leagueofsoups, it looks like the code you linked above is 2 years old. The current version looks like this: https://github.com/prometheus/client_java/blob/main/simpleclient_hotspot/src/main/java/io/prometheus/client/hotspot/VersionInfoExports.java Does upgrading help?
The test looks good to me. Prometheus text format doesn't support the OpenMetrics Info type, so the type is converted to Gauge. I'm not sure what the issue is.