# Extensions 2.0 Alert definitions lifecycle

**URL:** <https://community.dynatrace.com/t/extensions-2-0-alert-definitions-lifecycle/48470>\
**Category:** Extensions\
**Tags:** metric-events, extensions, problems-classic\
**Created:** [October 22, 2024, 1:13pm UTC](https://community.dynatrace.com/t/extensions-2-0-alert-definitions-lifecycle/48470 "2024-10-22T13:13:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rastislav\_danis](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@rastislav\_danis](https://community.dynatrace.com/u/rastislav_danis)\
**Post date:** [October 22, 2024, 1:13pm UTC](https://community.dynatrace.com/t/extensions-2-0-alert-definitions-lifecycle/48470/1 "2024-10-22T13:13:58Z")

</div>

As part of Extension 2.0, alert (metric events) definitions can be defined. Unfortunately each version update causes replace of these definitions and reset of their configs (removal of custom properties, disabling of enabled alerts, etc).

This issue can be solved by copying default alerts to separate custom instances, but introduces different issue, that copied custom alert can use old metric labels/structure that doesn’t fit with updated extension version (and is covered with new version of alert definitions).

So after each extension version update it’s neccesary to perform one of these steps (depending on selected alert strategy above):

- define customizations in new alerts
- compare new alerts with copied custom ones to find possible issues with metric name/structure definitions

Not sure which of these strategies is better nor recommended one. Can anyone share recommendations with Extensions 2.0 Alerts lifecycle?

---

<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:** [October 22, 2024, 3:30pm UTC](https://community.dynatrace.com/t/extensions-2-0-alert-definitions-lifecycle/48470/2 "2024-10-22T15:30:51Z")

</div>

On top of this thread, could you also please create a product idea with how you’d like it to be resolved?

---

<div class="post-metadata">

**Author:** ![rastislav\_danis](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@rastislav\_danis](https://community.dynatrace.com/u/rastislav_danis)\
**Post date:** [October 23, 2024, 6:45am UTC](https://community.dynatrace.com/t/extensions-2-0-alert-definitions-lifecycle/48470/3 "2024-10-23T06:45:11Z")

</div>

Done: [https://community.dynatrace.com/t5/Product-ideas/Extensions-2-0-Alert-definitions-lifecycle/idi-p/260246#M48129](https://community.dynatrace.com/post/260246#M48129)
