Hello,

I need to monitor a Tomcat application and deployed the jmx_exporter with 
the tomcat.yml 
<https://github.com/prometheus/jmx_exporter/blob/master/example_configs/tomcat.yml>
 sample 
file. I'm able to monitor the memory used and also would like to monitor 
the garbage collection, threads and classes, but I don't know how to go 
about it. Can someone advise please?

  - alert: JvmMemoryWarning
    expr: jvm_memory_bytes_used{area="heap"} / 
jvm_memory_bytes_max{area="heap"} * 100 > 80
    for: 5m
    labels:
      severity: warning
    annotations:
      summary: "JVM memory filling up on {{ $labels.instance }}"
      description: "JVM memory is over 80%."

Thank you,

-- 
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/f45f524c-f15d-4c97-af15-c51af8a562f8%40googlegroups.com.

Reply via email to