18 Sep 2019 09:24 PM - last edited on 18 May 2023 04:16 PM by Michal_Gebacki
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
Solved! Go to Solution.
12 Feb 2020 03:54 PM
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
19 Jun 2024 09:15 AM
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...
19 Jun 2024 10:30 AM
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: