# Best practices to upgrade the ActiveGate extensions without interrupting the monitoring

**URL:** <https://community.dynatrace.com/t/best-practices-to-upgrade-the-activegate-extensions-without-interrupting-the-monitoring/41010>\
**Category:** Extensions\
**Tags:** activegate, extensions\
**Created:** [August 3, 2023, 8:39am UTC](https://community.dynatrace.com/t/best-practices-to-upgrade-the-activegate-extensions-without-interrupting-the-monitoring/41010 "2023-08-03T08:39:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [August 3, 2023, 8:39am UTC](https://community.dynatrace.com/t/best-practices-to-upgrade-the-activegate-extensions-without-interrupting-the-monitoring/41010/1 "2023-08-03T08:39:46Z")

</div>

Dear All,

What are the best practices to upgrade the&nbsp;ActiveGate extensions without interrupting the monitoring?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [August 7, 2023, 11:08pm UTC](https://community.dynatrace.com/t/best-practices-to-upgrade-the-activegate-extensions-without-interrupting-the-monitoring/41010/2 "2023-08-07T23:08:40Z")

</div>

[@Babar\_Qayyum](https://community.dynatrace.com/user/22017),

This is a very interesting question! In fact, there are several similar cases, regarding introducing new endpoints/configurations/ etc, eg.: [https://community.dynatrace.com/t5/Extensions/Restart-remotepluginmodule-faster/m-p/210473](https://community.dynatrace.com/post/210473)

And it really depends on the extensions themselves. In the extensions I develop, I tend to preserve state in sqlite database, because no one knows when the next restart will be. But I frequently loose one minute data…

So, since extensions run each minute, my trick is to try to do it around second 15, and in this case, that minute gets processed, and&nbsp; I typically only loose one minute of data…

But would be willing to know more tricks around this…

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [August 9, 2023, 2:41am UTC](https://community.dynatrace.com/t/best-practices-to-upgrade-the-activegate-extensions-without-interrupting-the-monitoring/41010/3 "2023-08-09T02:41:24Z")

</div>

Hello&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

Thank you for your comments and tricks. Agree, we should have a way to upgrade the extensions without interruptions.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [August 9, 2023, 9:59am UTC](https://community.dynatrace.com/t/best-practices-to-upgrade-the-activegate-extensions-without-interrupting-the-monitoring/41010/4 "2023-08-09T09:59:30Z")

</div>

I would also say that from empirical analysis, when we change an extension v1 configuration, it happens too. I even believe other extensions are impacted too, but not absolutely sure.
