Thanks for replying. Can we do this by Mbeans and JMX ? I can create Mbeans 
and register it in my application but I dont know how to capture the output 
in Prometheus time series format. For ex : 
Product_version{product="SomeProduct",version="2.9.1"}


On Tuesday, May 19, 2020 at 2:09:51 PM UTC+5:30, Vu Tuan Dat wrote:
>
> this can help https://github.com/prometheus/client_java
>
> On Tuesday, May 19, 2020 at 1:32:10 PM UTC+7, Nidhi Sharma wrote:
>>
>> Hi, I have a web app running on tomcat. There is a hello resource (REST 
>> API) to check the health of the app. Output if this resource gives the 
>> version of the app. I want output of this resource to be captured as a 
>> metric and pulled by Prometheus. Please help on how can I proceed.  
>>
>

-- 
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/2e4c7d5e-8222-4b26-861a-01b451af5480%40googlegroups.com.

Reply via email to