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

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

AntonioSousa
DynaMight Guru
DynaMight Guru

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?

Antonio Sousa
9 REPLIES 9

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.

Certified Dynatrace Professional | Certified Dynatrace Services - Observability | Dynatrace Partner yourcompass.ca

@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 ?

Antonio Sousa

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

@Mike_L,

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

Antonio Sousa

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

Mike

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

MostafaHussein_0-1730153328434.png

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

Thanks,
Mostafa Hussein.

 

Certified Dynatrace Professional | Certified Dynatrace Services - Observability | Dynatrace Partner yourcompass.ca

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.

Mike

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.

Certified Dynatrace Professional | Certified Dynatrace Services - Observability | Dynatrace Partner yourcompass.ca

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

Mike

Featured Posts