27 Aug 2025 03:39 PM
We had an issue where one of our applications had no traffic for 2 hours due to a genuine problem. We got no alert from the anomaly detection we had set up for Dynatrace traffic drops.
Dynatrace support said that was because we had no traffic at all rather than a drop from one figure to another so DT will not alert on 0 traffic.
I was advised to set up a metric event using auto-adaptive setting. I have it set to alert if metric is below and to alert on missing data.
This is the metric selector code used - builtin:apps.web.actionsPerSession:filter(in("dt.entity.application",entitySelector("type(application),entityName.equals(~"Aspire~")")))
Trouble is it is alerting a lot, every time there are 0 user actions in the application. I've messed about with sliding windows and signal fluctuations but still alert spam.
I was hoping and told the auto-adaptive would know not to alert at quiet times.
Any suggestions how to get this to work? I'm surprised Dynatrace doesn't alert out of the box on zero traffic to an application for a sustained period.
29 Aug 2025 02:23 AM - edited 29 Aug 2025 02:32 AM
Hi @DannyH ,
You may want to experiment with the traffic drop setting on the frontend app. but if it is no traffic at all rather than a drop might not be useful .
https://community.dynatrace.com/t5/Real-User-Monitoring/How-application-traffic-drops-is-calculated/....
If you have the data in Grail, maybe we could use DQL to run a comparison of the previous 1-hour timeframe and send an alert if there is any drop