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

Using labels to tag an entity

VENKY1544
Observer

i have  kubernetes namespace:- oneplus-asia-prod-abc which has the below label associated with it 

kubernetes.io/metadata.name:oneplus-asia-prod-abc,

i want to use this label as a tag value for the namespace entity 

so that i can use this tag in the payload of problem notification 

or how can i use the labels of the above entity in the payload of problem notification 

2 REPLIES 2

bsnurka
Dynatrace Advisor
Dynatrace Advisor

Hey @VENKY1544 have a look at our Organize K8s Deployments by Tags Documentation. This will explain how you can import you pre-existing labels & annotations on the K8s objects, and use them in Dynatrace.

HI @bsnurka 

I'm able to tag the services and processgroups but i want to tag is the entities like pods containers, workloads with these labels and annotations and use them in the payload in problem notification as "Tags":"{Tags}"

Featured Posts