Add process group metadata from OneAgent plugin

Hello,

is adding of properties (metadata) currently possible with OneAgent plugin?

There is a method add_property() or the results builder, which takes the PluginProperty class and it seems one should be able to send key/value for process group metadata properties. It works in the simulator, but I can’t see the custom properties in Dynatrace.

For example:

self.results_builder.add_property(PluginProperty(key="Application version", value="1.0", me_attribute=MEAttribute.CUSTOM_PG_METADATA))

It this working/supported at the moment?

Julius

You can also use the DT_Custom_Prop to populate metadata on the processes/process group. But the processes will require a reboot.

Let me know if you need any assistance with this

Hi @Julius_Loman did you ever got this working? Would this be a mechanism to (mass) update the metadata of OneAgents? This functionality is missed in Dynatrace…

This was for the old OneAgent plugins, now deprecated and to be removed in October 2024.
For mass update this is already possible in deployment status: