18 Sep 2019
01:24 PM
- last edited on
18 May 2023
08:16 AM
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.
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