22 Dec 2025 04:00 PM
Hi,
I have created custom extension for Oracle data source to monitor few out of the box capabilities, In this case I have set up interval as 15 mins while defining the query/metric in the extension.
and I have set up custom alert with the help of defined metric and keep all as it is(advance model properties : 3 violations in 5 mins window).
Since we are not seen any alert, does this(advance model properties) effect the problem creation? if yes could any one please help me to set up correct violation samples?
Thank you
Chaitanya
23 Dec 2025 10:24 AM
Hi @Chaitanya30,
Yes, this configuration explains why you don’t see any alert.
Your custom Oracle metric is collected every 15 minutes, but the Davis Anomaly Detector is configured for 3 violations within a 5-minute sliding window. With a 15-minute interval, Dynatrace can’t have more than one data point in 5 minutes, so 3 violations are impossible. As a result, no problem can be created.
How to fix it (simple):
Either increase the violation window (for example: 1 violation in 30 or 45 minutes)
Or reduce the metric collection interval to match the 5-minute window
Rule: the violation window must always be longer than the metric collection interval.
That’s all — once they’re aligned, alerts will work.
Best regards,
23 Dec 2025 10:37 AM
Hi JeanBlanc,
Thanks for your help!
I will tweak the metric as per this, we have another requirement to monitor the query once in a day(for example 1440mins) and want to be alerted once in a day.
How do we achieve this?
Best regards
Chaitanya
23 Dec 2025 10:50 AM
There are other options for your needs :
23 Dec 2025 10:59 AM
Hi JeanBlanc,
We have limited licenses, I think that workflows are consuming some licenses. so it is too hard to me find more consumption for workflows. Do we have any other ways to achieve? with metric event(already used for above)
Best regards
Chaitanya
23 Dec 2025 01:53 PM
SimpleWorkflow cost nothing 💡
See doc : https://docs.dynatrace.com/docs/shortlink/simple-workflow
Featured Posts