23 Feb 2024 09:48 PM - last edited on 27 Feb 2024 08:30 AM by MaciejNeumann
Hello!
I was trying to add a new metric event that alerts me about my used JVM memory (in percent units). I used the metric key type andI noticed that all available options that dynatrace offers me are in bytes units.
There is way I can create this metric event? Thanks.
Solved! Go to Solution.
24 Feb 2024 08:53 AM - edited 25 Feb 2024 01:34 PM
Hi @MonseO,
There are many options in my mind. Maybe they are not meet with your expectation fully, but close to it.
Option one: I would try to create in data explorer a metric experssion in advance mode from the following metrics.
eg. (memory.pool.used / memory.pool.coomited) * 100. Based on my experience in case of any memory leak sooner or later the commited memory reach the jvm xmx and then the used memory also after the memory suspension increase always and the jvm can be crasched.
Option two: You can find some technology specific jmx metrix for it at the different techologies. Eg. one of my technology is weblogic. I really like to use the heap free percentage metric.
I hope it helps.
Best regards,
Mizső