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

Create monitoring for frontend when there are no sessions for X amount of time

KVL
Frequent Guest

We had an issue recently where due to ngnix version upgrade dynatrace injection was not happening in the frontend applications and we found out about it by chance.

Note that we do have "Detect traffic drops" enabled, and yet no problem was opened for this.

Is there some way to create a monitor where if there's no user actions for more than 1 hour for example, then alert?

1 REPLY 1

marco_irmer
Advisor

You can use DQL to list out applications along with when they were first and last seen. The lifetime[end] field will give you the last time Dynatrace received a datapoint for that application.

fetch dt.entity.application
| fieldsAdd lifetime

 

marco_irmer_1-1741381731748.png

 

By adding your own logic for calculating how long it's been since the app was last seen, you should be able to set up a Davis Anomaly Detector or Workflow to enable alerting.

Featured Posts