27 Oct 2024 08:17 PM
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?
Solved! Go to Solution.
28 Oct 2024 11:35 AM
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.
28 Oct 2024 11:43 AM
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 ?
28 Oct 2024 06:14 PM
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.
28 Oct 2024 08:13 PM
Thanks for your explanation. From it, I assume the setting defined in the activation schema, will not appear in the UI?
28 Oct 2024 08:40 PM
It would show up in the monitoring configuration UI, just outside of the endpoints array.
28 Oct 2024 10:22 PM
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.
29 Oct 2024 06:06 AM
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.
01 Nov 2024 12:24 PM
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.
01 Nov 2024 12:41 PM
You can download any extension from the hub. For example: https://www.dynatrace.com/hub/detail/ibm-mq-local/#release-notes