I don't have anything that I can directly share -
What I can say is that to get at the java metrics, four approaches are used:
- use the jvm_monitor probe - has the downside that you need to enable the debug port on the app you are looking to monitor
- use jstat
https://docs.oracle.com/en/java/javase/14/docs/specs/man/jstat.html to get at the metrics from the command line and then use logmon (and maybe a wrapper script) to parse the output
- ignore the internal java metrics completely - or maybe better is to ask the question of the value of collecting the metrics. For example in one of my use cases, we run a java app on a dedicated server. The heap is set to reflect the total memory available. So what value is it to track the heap usage? Tracking total memory via CDM provides the same value.
- instrument the app you are monitoring to output these values in a readable way.
Original Message:
Sent: Jan 31, 2023 08:47 AM
From: Miller Echagarreta
Subject: Can UIM monitor JVM Crashes, Java heapsize, business transactions
Hi @Garin Walsh how are you? I need to specifically monitor this, do you have some script or some similar for this metrics?
Core JMX metrics
1. Heap usage
2. GC activity
3. Inner queues (mandatory: defaultMessageProducer, adviceMessageProducer, LIMIT_NODES, TRIGGERED_RULES, HISTORY_INDEX, ASYNC_HISTORY_INDEX, TRANSACTION_REQUEST)
thanks for you help