cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Appmon - Incident rules based on calculated values

benoit_fortin
Newcomer

I would like to know if it is possible to have incident rules based on calculated values.

Here is an example: AppMon is exposing these values:

- Sun/Oracle Code Cache Used (in MB)

- Sun/Oracle Code Cache Commited (in MB)

So I have the current usage, and the maximum (reserved/allocated) space.

I would like to set an incident rule that would where the threshold would be based on the percentage of usage.

For instance: if (Code Cache Used / Code Cache Commited > 60%)

3 REPLIES 3

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

Take a look at the Rate measure.

In the Measure Creation dialog, here's the path to the Rate measure.

Server Side Performance-> Agent Based -> Calculation -> rate.

@Joseph M. H. I don't believe The Calculation Rate measures work for incidents. There's some tickets where they explain this but basically when you create one of these measures they don't actually create a new measure. They will just calculate it based off of the two measures you use and display it but no new measure is created so no incident can trigger off of it.

I think the only way to use a rate would be to do the calculation in a plugin like this one: https://community.dynatrace.com/community/display/DL/Generic+Operations+Plugin

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

The plugin is another good approach. A bit more work, but much more control and flexibility. Then of course the plugin can push the new value back into AppMon as a new measure.