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

Add process group metadata from OneAgent plugin

Julius_Loman
DynaMight Legend
DynaMight Legend

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

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner
3 REPLIES 3

ChadTurner
DynaMight Legend
DynaMight Legend

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

-Chad

FransS_CustAcc1
Observer

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:

Julius_Loman_0-1718789113675.png

 

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts