20 Jul 2023 06:57 PM - last edited on 07 Aug 2023 12:25 PM by Ana_Kuzmenchuk
Hello, I am trying to see how you would design a tagging rule that would pull from the workload labels or possibly the properties in a service. Example I am looking at a web service in k8s and I see its part of namespace name: WebOne and there is a workload label partof:WebPortal.
How would I create a tagging rule that would pull data from the properties area of a service and make that a tag variable called namespace: WebOne. I would also do the same and build a tagging rule that would pull the workload label and the tag variable would be Partof:WebPortal.
I would like to build those two tagging rules so it would allow me to leverage those tags when filtering things down in my data explorer charts by those variables.... Anyone know how that would work?
20 Jul 2023 08:58 PM
There is a whole post on making K8 tagging better. Check this page out: https://community.dynatrace.com/t5/Product-ideas/Make-K8s-metadata-labels-annotations-a-first-class-...
Wonder if you could use relationships?
https://university.dynatrace.com/ondemand/course/21409/video/35596?content=overview§ion=35351