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

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

Joseph_Hobbs
Participant

Does anyone know if there is a detailed document around the activationSchema.json available?  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.  These hosts are running something I'd like to query for information that I will then roll up as metrics.  The issue is, I don't need any extra configuration for this to work beyond deploying it to the host.  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?  Thanks!

 

 

2 REPLIES 2

JamesKitson
Dynatrace Guru
Dynatrace Guru

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.

I came to the same conclusion in that 'something' has to be present.  Thanks for the info/insight!

Featured Posts