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.
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
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!