EF2: Common config in a monitoring configuration for python extensions?

In EF2 python extensions, most of the configuration is assumed to be in each endpoint, for each monitoring configuration.

In certain cases, there might be entries that apply to all endpoints, so defining them for each endpoint is not desired.

What are the best practices of defining entries that apply to the monitoring configuration, and not for each endpoint. And how do they appear in the UI?

It will be great idea if listed under product ideas as for now there’s nothing in UI is dedicated for global extension configuration. but we can do it in the code level itself (not the best practice because every change in configuration we should update the extension version)

BR,
Mostafa Hussein.

@MostafaHussein,

I believe some things might be in place, as the “Enrichment attributes” have recently appeared.

Before Product Idea, I was just trying to confirm if so? @Mike_L ?

It is indeed already possible. Most of our extensions have a setting outside of the endpoints, debug logging. It’s up to the activation schema to place the setting, and then you can access it in the Python code. Keep in mind that it is not “global”, but per monitoring configuration.

@Mike_L,

Thanks for your explanation. From it, I assume the setting defined in the activation schema, will not appear in the UI?

It would show up in the monitoring configuration UI, just outside of the endpoints array.

I think the documentation is missing this info. as the mentioned configuration sample i can’t see any info referring to `configuration level parameters` just what mentioned is the endpoint

also appreciate your support and advice if you provided us with the proper activation.json sample.

Thanks,
Mostafa Hussein.

You can download the IBM MQ extension from the hub for an example of how to write the activation schema. It has the debug logging outside of the endpoints.

Hello @Mike_L ,

i don’t know how to download it, but I’ve added it to my environment and tried to find it in both sub-directories of

C:\ProgramData\dynatrace\remotepluginmodule\

C:\Program Files\dynatrace\remotepluginmodule\

appreciate your advice.

Thanks,
Mostafa Hussein.

You can download any extension from the hub. For example: https://www.dynatrace.com/hub/detail/ibm-mq-local/#release-notes