# Extension alerting when it's not working

**URL:** <https://community.dynatrace.com/t/extension-alerting-when-its-not-working/49824>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [January 20, 2025, 4:24pm UTC](https://community.dynatrace.com/t/extension-alerting-when-its-not-working/49824 "2025-01-20T16:24:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manosirigosdyn7](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manosirigosdyn7](https://community.dynatrace.com/u/Manosirigosdyn7)\
**Post date:** [January 20, 2025, 4:24pm UTC](https://community.dynatrace.com/t/extension-alerting-when-its-not-working/49824/1 "2025-01-20T16:24:05Z")

</div>

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.&nbsp; 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

---

<div class="post-metadata">

**Author:** ![PedroSantos](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pedrosantos/32/28150_2.png) [@PedroSantos](https://community.dynatrace.com/u/PedroSantos)\
**Post date:** [January 20, 2025, 4:51pm UTC](https://community.dynatrace.com/t/extension-alerting-when-its-not-working/49824/2 "2025-01-20T16:51:55Z")

</div>

Hey [@Manosirigosdyn7](https://community.dynatrace.com/user/61683) , 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](https://global.discourse-cdn.com/dynatrace/original/2X/f/ffe90b48dd6a085518409a5b7b6cf58bd921d3e6.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 🙂

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [January 20, 2025, 6:47pm UTC](https://community.dynatrace.com/t/extension-alerting-when-its-not-working/49824/3 "2025-01-20T18:47:24Z")

</div>

Hi,

This is probably the easiest way to report on it:&nbsp;[Davis® AI detects outages within your custom data streams](https://www.dynatrace.com/news/blog/use-the-davis-ai-to-detect-outages-within-your-custom-data-streams/)

---

<div class="post-metadata">

**Author:** ![Manosirigosdyn7](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manosirigosdyn7](https://community.dynatrace.com/u/Manosirigosdyn7)\
**Post date:** [January 21, 2025, 1:24pm UTC](https://community.dynatrace.com/t/extension-alerting-when-its-not-working/49824/4 "2025-01-21T13:24:41Z")

</div>

Hello Pedro,

thanks a lot! found also some other Status metrics also along with the one you said like&nbsp; Extension - Endpoint - Statuses&nbsp; or&nbsp;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&nbsp;:blush:

---

<div class="post-metadata">

**Author:** ![Manosirigosdyn7](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manosirigosdyn7](https://community.dynatrace.com/u/Manosirigosdyn7)\
**Post date:** [January 21, 2025, 1:26pm UTC](https://community.dynatrace.com/t/extension-alerting-when-its-not-working/49824/5 "2025-01-21T13:26:50Z")

</div>

Thanks Mike,

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