Hello, I am trying to create multiple alerts for JVM metrics using REST API.
These are the metrics I want to create.
Heap memory usage: Each chart shows the used and committed heap space in MB for a given heap.
- Garbage collection: The garbage collection CPU time.
- Thread count: The current number of active threads in the JVM.
I found this link explaining how to create alert with REST API
I am not sure what to put in
Metric field for the metrics I want to create alerts for.
Can anyone help me for this?
Again, since I am trying to create those alert automatically, creating it via UI won’t solve my problem…
Thank you for your time in advance!