Hey, it's alright.

The custom instrumentation jetty metrics problem is solved. Thankyou.

Now I am trying to use auto instrumentation using jmx exporter to get the 
metrics to prometheus.  
My jetty is running through Tanuki Wrapper. 
When i try to get the metrics by including the agent, I can see all the jvm 
metrics and jetty metrics. But for the jetty metrics, the values are stuck 
at 0.
I have included jmx and stats modules too.

Java version is Java 1.8
Jetty version is 9.4.26

Any help is appreciated, Thanks
On Wednesday, May 4, 2022 at 8:09:28 PM UTC+5:30 [email protected] wrote:

> Hi Gagan,
>
> Sorry for the late reply, your mail ended up in my Spam folder for some 
> reason. Could you let me know which Jetty version you are using?
>
> Fabian
>
> On Wed, Apr 27, 2022 at 3:43 PM Gagan Singhal <[email protected]> 
> wrote:
>
>> I have configured the Jetty metrics in my code as mentioned in the 
>> prometheus client_java documentation. 
>> I can see the jetty metrics on the mentioned endpoint (/metrics) but they 
>> all show the value as 0. I don't know how to proceed further. Any help is 
>> appreciated. 
>>
>> -- 
>> 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/a499c069-4c5d-475c-bb46-80813d7a07abn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/a499c069-4c5d-475c-bb46-80813d7a07abn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/40c483bb-b013-4e4c-8375-98ec83e276b4n%40googlegroups.com.

Reply via email to