Using JSON editor to combine metrics for alerting

Query alerts make it possible to use JSON code to set up arithmetic and advanced functions for your monitors. This enables you to easily alert based on a relationship between two metrics. For example, if you wanted to receive an alert when the metric jvm.mem.heap_used reaches 80% of the metric jvm.mem.heap_commited, you would add "jvm.mem.heap_used{*}/jvm.mem.heap_committed{*}" to the Source tab when setting up the monitor. Then, set the threshold for alerts to .8, as shown here:

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk