27 Jul 2022 12:38 PM - last edited on 29 Jul 2022 01:51 PM by Ana_Kuzmenchuk
We have many Management zones.
I want all of my services and process groups to have a tag with management zone value.
How do I achieve this?
We create a management zone via ansible roles.
Should we call autoTag API while creating the MZ?
Or is there any way to import the property ( management zone) as an auto-tagging capability?
Like we can assign K8 namespace as an auto tag to services/process groups.
Solved! Go to Solution.
27 Jul 2022 02:13 PM
You can't add your own placeholders unfortunately, so you would have to add that in ansible.
Either by adding tagging rules with the static value, or by using the manual tagging API.
29 Jul 2022 02:17 PM
Tagging rules seems to be the best way to go here. This way you make sure the tags are not deleted by mistake.
01 Aug 2022 01:36 PM
As of today you cannot provide the Management Zone as a variable for tagging results. We have a similar use case where we want to Tag entities with the associated Management Zone to also catch hosts that were onboarded outside of our standard.
I have an RFE out for it: https://community.dynatrace.com/t5/Dynatrace-product-ideas/Ability-to-set-Management-Zone-as-tag-val...