Hi Daniel,

JMX collector polls all MBeans attributes. However Prometheus appender only 
expose metrics (numeric) on the Prometheus servlet:

http://localhost:8181/decanter/prometheus

As the generated JMX JSON is "more" than just numeric, it’s possible that you 
don’t have the metrics.

You can check the JMX JSON using another kind of appender (like log appender or 
elasticsearch).
I can add kind of "json introspection" on the Prometheus appender to "force" 
some JSON fields as metrics (gauge).

Regards
JB

> Le 2 mai 2021 à 22:24, Daniel Las <[email protected]> a écrit :
> 
> Hi,
> 
> I installed Decanter 2.7.0 on Karaf 4.2.11 with JMX collector and Prometheus 
> appender features. I uncommented "object.name.system=java.lang:*" in 
> org.apache.karaf.decanter.collector.jmx-local.cfg.
> 
> Where can I find JVM metrics like current heap memory usage? 
> 
> Regards
> -- 
> Daniel Łaś
> 

Reply via email to