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