# Geolocation-based alarm

**URL:** <https://community.dynatrace.com/t/geolocation-based-alarm/46805>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, apdex, dynatrace-managed\
**Created:** [July 24, 2024, 8:41pm UTC](https://community.dynatrace.com/t/geolocation-based-alarm/46805 "2024-07-24T20:41:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Osiris5654](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osiris5654](https://community.dynatrace.com/u/Osiris5654)\
**Post date:** [July 24, 2024, 8:41pm UTC](https://community.dynatrace.com/t/geolocation-based-alarm/46805/1 "2024-07-24T20:41:39Z")

</div>

Hi everyone,

Can i define a geolocation-based alarm according to apdex rating or visual complete time in an application?

Thanks,

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [July 25, 2024, 12:19am UTC](https://community.dynatrace.com/t/geolocation-based-alarm/46805/2 "2024-07-25T00:19:08Z")

</div>

Hi&nbsp;[@Osiris5654](https://community.dynatrace.com/user/58694)&nbsp;,&nbsp; I don’t have one for DQL, but you could use some of the in built metrics to create an SLO / SLA using

something like:

```markup
100 * ((builtin:apps.web.apdex.userType.geoBig:filter(and(or(in("dt.entity.geolocation",entitySelector("type(geolocation),entityName.equals(~"Australia~")"))))):splitBy("dt.entity.geolocation","dt.entity.application")))

```

you can also apply an entity selector for the application in the SLO to filter on a particular page.

 ![gopher_2-1721866672048.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/63fd39373d71bc900e469a06571b862eebfc0422.png)

from here you can generate SLO Alerts.

 ![gopher_1-1721865369698.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/2/e2f015ec6628c11897f6887184ff4ecfc8a6615d.png)

hope this helps
