29 Jul 2025 04:05 PM
I have lambda that runs once everyday, I have the metric for invocations coming though but want to create a problem if the lambda has not been invoked in the past 24 hours. As the Davis anomaly detector has a maximum of a 60 minute sliding window I am unable to get it to measure for a complete day. I am wondering if there is any other way to create a problem that monitors a 24 hour period or if there is something else in Davis anomaly detector that can have a wider sliding window of 1440 minutes (one day)
30 Jul 2025 08:47 AM - edited 30 Jul 2025 08:49 AM
Hi,
I had just raised this product idea. Maybe it can help to your use case.
Another option can be maintenance window if you know when your funcion is executed more or less, something as it is executed everyday at 12:00am...
Best regards
30 Jul 2025 12:04 PM
There are multiple options already.
For Managed customers who don't have the options above, I recommend a custom ActiveGate extension in Python, which would perform the required checks (by accessing the Dynatrace API) and send events/logs/metrics (as needed). Not a common usage for ActiveGate extensions, but it allows you to execute code and can be run easily on the Dynatrace infrastructure. Requires some python and extensions development knowledge, but it's not difficult.