Alerting
Questions about alerting and problem detection in Dynatrace.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Service threshold over period of time (e.g. server response over 1 second for 5 minutes)

cambuchi
Newcomer

From the alert settings I'm able to create an alert query that charts server response times for a service. Currently that is set to alert when the threshold goes over 1 second. However, we want to ignore occasional blips so we want it to send an alert when it has been over 1 second for 5 minutes. I tried adding a "from:-5m" to my timeseries query but the query was not accepted by the alerting service and notified me that "from" and "to" were not allowed.

Any ideas?

1 REPLY 1

Fin_Ubels
Dynatrace Champion
Dynatrace Champion

Hey Cambuchi,

While creating a custom anomaly detector there are 2 modes, simple and advanced. If you switch to advanced mode you'll find settings for changing the violating samples as well as changing the size of the sliding window used for evaluation. Changing the violating samples to 5 would make it so the threshold has to be breached for 5 minutes to alert.

You can read more about sliding windows and evaluation in the docs here https://docs.dynatrace.com/docs/shortlink/anomaly-detection-configuration#sliding-window

Hope this helps!

Featured Posts