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

Building tagging rule to leverage Kubernetes labels and convert them to service tags to leverage in Data Explorer

steventorrestam
Observer

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? 

1 REPLY 1

Kenny_Gillette
DynaMight Leader
DynaMight Leader

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&section=35351

Kenny_Gillette_0-1689883105077.png

 

 

Dynatrace Certified Professional

Featured Posts