cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Extension alerting when it's not working

Manosirigosdyn7
Participant

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

4 REPLIES 4

PedroSantos
Advisor

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.

PedroSantos_1-1737391818386.png

 

 

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 🙂

To make an error is human. To spread the error across all servers in an automated way is DevOps.

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 😊

Mike_L
Dynatrace Guru
Dynatrace Guru

Thanks Mike,

interesting info for the custom data sources in general i'll keep it in mind also.

Featured Posts