You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to get the tomcat JVM metrics using Java Agent jmx_prometheus_javaagent ( have tried 0.20.0 and 1.0.1 both version )
My issue is that if I use * in Rule file like below
rules:
- pattern: ".*"
It work properly and fetch all attribute etc. But I want to get specfic Mbeans only ( Memory , Threading,Garbagecollection and ClassLoading ). I am using the below configuration for it
while using above config. it is not fetching many attribute which are part of these Mbeans. Like java_lang_ClassLoading_LoadedClassCount is atttribute of ojbect ClassLoading but it is not receiving.
Similarly their are some other attributes which are missing if I don't use ".*" in config.yaml file
am I missing something or its a bug of jmx_prometheus_javaagent ?
Just for info, I am verifying the list of metrics like below
curl localhost:9093/metrics
The text was updated successfully, but these errors were encountered:
Dear @dhoard
Thank you for your prompt and accurate reply. I am now receiving all attributes using your suggested configuration. I really appreciate your support.
Best regards,
Hi,
I am trying to get the tomcat JVM metrics using Java Agent jmx_prometheus_javaagent ( have tried 0.20.0 and 1.0.1 both version )
My issue is that if I use * in Rule file like below
It work properly and fetch all attribute etc. But I want to get specfic Mbeans only ( Memory , Threading,Garbagecollection and ClassLoading ). I am using the below configuration for it
while using above config. it is not fetching many attribute which are part of these Mbeans. Like java_lang_ClassLoading_LoadedClassCount is atttribute of ojbect ClassLoading but it is not receiving.
Similarly their are some other attributes which are missing if I don't use ".*" in config.yaml file
am I missing something or its a bug of jmx_prometheus_javaagent ?
Just for info, I am verifying the list of metrics like below
curl localhost:9093/metrics
The text was updated successfully, but these errors were encountered: