20 Jan 2025 04:24 PM
Hello everyone,
we have made a custom sql db extension on a managed dynatrace environment. At first it was working fine but seems like after a while it stopped. It's been 2 months since it stopped working and never noticed it till now. Now we can clearly see the "error" state of the extension but we had to go on the extension page to see that. So now we are searching for ways to make dynatrace alert us when an extension isn't working anymore. Does anyone know any ways to do that? Any example could help like for example by using metrics or logs or whatever. Any idea is welcomed if it's working.
Thanks a lot
Solved! Go to Solution.
20 Jan 2025 04:51 PM
Hey @Manosirigosdyn7 , from the top of my head I have 2 ideas for this.
There's an Extension - Config - Status metric (dsfm:extension.config.status) you can probably use to get alerts on this. You can filter this metric by extension name and then split/filter by extension's monitoring configuration. Create a metric event based on this, and you can probably fulfill the requirements you described.
Alternatively, you could have your own extension insert some sort of "heartbeat" metric to let you know it's alive, and create a metric event based on that. But really, that just sounds like option 1 with extra steps 😅
Let me know if this helps you 🙂
21 Jan 2025 01:24 PM
Hello Pedro,
thanks a lot! found also some other Status metrics also along with the one you said like Extension - Endpoint - Statuses or Extension - Status . They seem to do the job since we can use them for alerting as metric events! I'll let the team know!
Thank you 😊
20 Jan 2025 06:47 PM
Hi,
This is probably the easiest way to report on it: https://www.dynatrace.com/news/blog/use-the-davis-ai-to-detect-outages-within-your-custom-data-strea...
21 Jan 2025 01:26 PM
Thanks Mike,
interesting info for the custom data sources in general i'll keep it in mind also.