07 Dec 2023 10:00 AM - last edited on 11 Dec 2023 08:13 AM by MaciejNeumann
We have set metric dem.units.monthly.limit as 4k.
using this formula as current DEM consumption.
(builtin:billing.synthetic.actions:splitBy():default(0,always))+(0.1*(builtin:billing.synthetic.requests:splitBy():default(0,always)))+(builtin:billing.apps.web.sessionsWithReplayByApplication:splitBy():default(0,always))+0.25*(builtin:billing.apps.web.sessionsWithoutReplayByApplication:splitBy():default(0,always))+(0.01*(builtin:billing.apps.web.userActionPropertiesByApplication:splitBy():default(0,always)))+(0.1*(builtin:billing.synthetic.external:splitBy():default(0,always)))
What I want to do:
I would like to monitor the consumption of DEM (Digital Experience Monitoring) for the current month/year and receive alerts via Slack or email if it approaches or exceeds a certain threshold (e.g., 60% of the dem.units.annual.limit or dem.units.monthly.limit).
How could I config it?
13 Feb 2024 07:48 PM
@panda I would recommend making some custom events for alerting (Metric Events) to alert off the criteria you are looking for. Basically if you can formulate it in the advanced mode of the data explorer, you can toss it into the Metric Events builder and define out how you'd like to get alerted on this be it Email, Slack ITOM etc..
Let me know if you need any assistance.
13 Feb 2024 07:52 PM
Here is the sample:
Granted we left DEM and moved to DPS so my data is null but the method still works and will work for you 🙂
13 Feb 2024 07:55 PM
If you are good with defining a static threshold that can be done via the above image. You also stated that you have created a metric being the monthly segment that adds in all those variables, you can always substitute it in the metric event as well.
13 Aug 2024 11:27 AM
Hi @panda
Have you managed to solve the problem? It would be great if you shared the solution with the Community users 💡