# Python Extensions 2.0 with NO required configuration? (i.e. activationSchema.json Documentation?)

**URL:** <https://community.dynatrace.com/t/python-extensions-2-0-with-no-required-configuration-i-e-activationschema-json-documentation/45609>\
**Category:** Extensions\
**Tags:** python, extensions\
**Created:** [May 15, 2024, 7:52pm UTC](https://community.dynatrace.com/t/python-extensions-2-0-with-no-required-configuration-i-e-activationschema-json-documentation/45609 "2024-05-15T19:52:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Hobbs](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joseph_hobbs/32/34284_2.png) [@Joseph\_Hobbs](https://community.dynatrace.com/u/Joseph_Hobbs)\
**Post date:** [May 15, 2024, 7:52pm UTC](https://community.dynatrace.com/t/python-extensions-2-0-with-no-required-configuration-i-e-activationschema-json-documentation/45609/1 "2024-05-15T19:52:54Z")

</div>

Does anyone know if there is a detailed document around the activationSchema.json available?&nbsp; I’ve reviewed a couple of examples (like those provided by the sdk itself) and I just can’t seem to find one that handles the use case I’m after…

I’m in the process of putting together a Python-based Extension (2.0) to be deployed to a handful of our Linux-based hosts.&nbsp; These hosts are running something I’d like to query for information that I will then roll up as metrics.&nbsp; The issue is, _I don’t need any extra configuration_ for this to work beyond deploying it to the host.&nbsp;&nbsp;I’m trying to figure out how to remove the default parts that control the configuration screen, but I can’t seem to find the right combination of items to keep vs remove that will allow the schema to upload/work properly…

Thoughts/Examples?&nbsp; Thanks!

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [May 20, 2024, 2:20pm UTC](https://community.dynatrace.com/t/python-extensions-2-0-with-no-required-configuration-i-e-activationschema-json-documentation/45609/2 "2024-05-20T14:20:22Z")

</div>

I can’t think of any existing examples of something like this because we typically always have _some_ configuration, even if it is just the log level. I did a few quick tests and couldn’t find anything that allows for a completely empty pythonLocal activation. It won’t allow an activation object with no properties.

My recommendation would be to go with a bare minimum activation with perhaps just a toggle for debug logging that you can have off by default. This would be something to build off in the future as well in case you _do_ come across scenarios that require some configurations.

---

<div class="post-metadata">

**Author:** ![Joseph\_Hobbs](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joseph_hobbs/32/34284_2.png) [@Joseph\_Hobbs](https://community.dynatrace.com/u/Joseph_Hobbs)\
**Post date:** [May 20, 2024, 2:23pm UTC](https://community.dynatrace.com/t/python-extensions-2-0-with-no-required-configuration-i-e-activationschema-json-documentation/45609/3 "2024-05-20T14:23:56Z")

</div>

I came to the same conclusion in that ‘something’ has to be present.&nbsp;&nbsp;Thanks for the info/insight!

---

<div class="post-metadata">

**Author:** ![36Krazyfists](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/36krazyfists/32/37434_2.png) [@36Krazyfists](https://community.dynatrace.com/u/36Krazyfists)\
**Post date:** [June 11, 2024, 6:57pm UTC](https://community.dynatrace.com/t/python-extensions-2-0-with-no-required-configuration-i-e-activationschema-json-documentation/45609/4 "2024-06-11T18:57:51Z")

</div>

Yeah, I’ve searched and searched and there is nothing comprehensive about the activationSchema.json file that I can find.&nbsp; Kind of crazy considering how important this file seems to be.&nbsp; &nbsp;Plus, it seems to have a lot of things you can maybe do with it, I think…

---

<div class="post-metadata">

**Author:** ![Joseph\_Hobbs](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joseph_hobbs/32/34284_2.png) [@Joseph\_Hobbs](https://community.dynatrace.com/u/Joseph_Hobbs)\
**Post date:** [June 13, 2024, 6:01am UTC](https://community.dynatrace.com/t/python-extensions-2-0-with-no-required-configuration-i-e-activationschema-json-documentation/45609/5 "2024-06-13T06:01:12Z")

</div>

Yes, that’s been my struggle as well.&nbsp; I’ve been able to patch together something that works, but having a complete reference would be awesome.  
I was lucky in finding an app that had a pretty comprehensive configuration associated with it at ([https://www.dynatrace.com/hub/detail/remote-unix-monitoring-20/?query=linux+remote&filter=all#overview](https://www.dynatrace.com/hub/detail/remote-unix-monitoring-20/?query=linux+remote&filter=all#overview)).&nbsp; It has really helped me figure out some of the specific usage cases I was after.

---

<div class="post-metadata">

**Author:** ![36Krazyfists](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/36krazyfists/32/37434_2.png) [@36Krazyfists](https://community.dynatrace.com/u/36Krazyfists)\
**Post date:** [June 13, 2024, 12:47pm UTC](https://community.dynatrace.com/t/python-extensions-2-0-with-no-required-configuration-i-e-activationschema-json-documentation/45609/6 "2024-06-13T12:47:25Z")

</div>

Nice, I’ll check it out.&nbsp; Thanks!
