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

Auto-adaptive threshold/Seasonal baseline Metric event with threshold

kobkob
Contributor

Hi,

 

Is there any way to create Auto-adaptive threshold/Seasonal baseline Metric events that will be triggered only if the value is greater than X?

 

Thanks

12 REPLIES 12

PacoPorro
Dynatrace Leader
Dynatrace Leader

Do you mean a mix of thresholds and baselines?
If the baseline event does not reach threshold X?

 

 

@PacoPorro exactly

PacoPorro
Dynatrace Leader
Dynatrace Leader

AFAIK this is not possible, probably you can check if you can implement something using slos

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Create both?  Auto-adaptive + static threshold?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

@AntonPineiro Its not an option since the static threshold for one service is not relevant for another, and I have thousands of microservices. 

kobkob
Contributor

I saw this in the metric event settings:

kobkob_0-1727763652690.png

 

Anyone know what exactly it affects?

 

 

 

PacoPorro
Dynatrace Leader
Dynatrace Leader

The threshold, whether static or baseline, used for monitoring the metric.

@PacoPorro thanks for your answer. Can you please elaborate?

Hello @kobkob 

Let's agree that:

  1. Auto-adaptive baselining can be configured to trigger alert as per the automatic baselining and reference periods,...etc.
  2. Static-threshold which is decided and provided by the app owner to receive alerts upon specific value violation to take an action.
  3. Seasonal thresholds can be configured as well to pickup the violations which haven't been detected either through automatic baselining and static-based.
  4. Common case for seasonal-baselining: marketing campaigns where excessive number of purchase, payment, delivery ... etc requests are processed and executed by specific services, so you can create a metric events and make as info if you need to be notified, or if you need to have an alert created keep the event type as "custom alert"

As a conclusion

  • You can create multiple metric events and choose where to receive alerts or not based on the actual use case.
  • You can create multiple metric events, but ensure there is no conflict in the configurations to receive the accurate alerts.
  • You can name the metric events if required ex: Exceeding processed requests during Black Friday.
  • If you have a request attribute configured for example to fetch purchased amounts or other parameter of interest > create multidimensional analysis view > create a metric for example if the total purchased amounts exceeds 1M so you will be notified during the seasonal baselining.
  • To create metric event: Manage > Settings > Anomaly Detection > Metric events, and simply configure it in meaningful way to be notified and take prober actions.

Feel free to review Seasonal Baselining 

KR,

Peter.

ChadTurner
DynaMight Legend
DynaMight Legend

I recommend using the Davis Anomaly Detector in the new layout as it will not incur any limits etc on your allotment of metric events. Assuming your metric does not begin with ext:

-Chad

rastislav_danis
DynaMight Pro
DynaMight Pro

maybe you can try partition in metric selector to apply static threshold and then use baseline, f.e. for cpu util >6% (i added default to fill the gaps with data):

builtin:host.cpu.usage:splitBy():auto:partition("cpuhigh",value("gt6",gt(6))):default(6)

 

Alanata a.s.

@rastislav_danis I think this is what I was looking for! Ill defently try it and update if it worked. Thanks a lot!

Featured Posts