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

Alert if users from other country access application

natanael_mendes
Champion

How to create an alert in this situation?

Dynatrace Professional Certified
3 REPLIES 3

dannemca
DynaMight Guru
DynaMight Guru

Assuming you are monitoring your frontend application, you can use a USQL like this: "SELECT count (DISTINCT userSessionId), country FROM usersession GROUP BY country" and then create a custom metric, using the field country as dimension.

With the metric in hand, you can create a metric event whenever the country value is different from the one you need, and value is higher 1, for example.

Let me know if this helps.

Site Reliability Engineer @ Kyndryl

thanks for the solution @dannemca 

Dynatrace Professional Certified

can you help me with this?

Dynatrace Professional Certified

Featured Posts