19 Dec 2023 07:39 AM
Hi All
i have simple case that when some request repeated by certain value per hour ( 100 per hour) send alert
am already done with the calc metric, and almost with the metric event, but i have some confuses about the part of event duration, what shall i put in it
Violating samples
Sliding window
Dealerting samples
appricatie your feedback
Regards,
Solved! Go to Solution.
19 Dec 2023 07:47 AM - edited 19 Dec 2023 07:48 AM
Hello Eslam,
you can use duration parameters as following, knowing that Dynatrace get the sample every 1 minute for most of metrics:
Violating samples : Number of times that the threshold is violated.
Sliding window : The duration that you will consider the violating samples in.
Dealerting samples : how many time needed below threshold to close the problem.
Please let me know if you need further clarification.
Thanks,
Islam
19 Dec 2023 07:58 AM
Hi Islam
Thanks for you replay
so based on what you mentioned
i have to devide the 100 request / 60 min to get the right value to use in Violating samples
and at the Sliding window i will put 60 as a min
and at the Dealerting samples i will bet the normal expected requests to consider it normal per min
if you can give me number for examples it will be great as i want to consider it problem if the number of requests reach 100 per hour
Regards,
19 Dec 2023 08:37 AM
You can do it as below:
Threshold : 100
Violating samples : 5
Sliding window : 60
Dealerting samples : 5
19 Dec 2023 08:50 AM
many thanks. i will try it
19 Dec 2023 09:02 AM
if i want if once the threshold reach make a problem i have to make Violating samples 1, right?
19 Dec 2023 09:03 AM
Yes, Correct