27 Jul 2022
04:38 AM
- last edited on
29 Jul 2022
05:51 AM
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.
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.
Tagging rules seems to be the best way to go here. This way you make sure the tags are not deleted by mistake.
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...