Automatic tags on Kubernetes/OpenShift components with labels (pod, namespace, etc.)

According to my experience with dynatrace.

It seems that you are experiencing issues with automatically tagging Azure components, such as pods, containers, workloads, services, and namespaces, despite meeting the requirements mentioned in the Dynatrace documentation. While labels are applied and visible, they do not seem to be functioning as expected for automatic tagging.

It is important to note that Dynatrace considers labels as metadata, and for automatic tagging purposes, you should use annotations instead. Labels are intended for Kubernetes, whereas annotations are more suitable for “human” interaction and tools like Dynatrace.

To ensure that your Kubernetes/OpenShift components are tagged correctly, follow the steps below:

Use annotations in your Kubernetes/OpenShift deployment configuration to define the tags you want Dynatrace to recognize.

Grant the viewer role to service accounts associated with your Kubernetes/OpenShift deployment, which allows Dynatrace to access and monitor the necessary metadata.

For more information on leveraging tags defined in Kubernetes deployments and the related documentation, please refer to this Dynatrace support article: Organize Kubernetes/OpenShift deployments by tags — Dynatrace Docs.

By following these guidelines, you should be able to resolve the tagging issues you are experiencing with Dynatrace and your Azure components.

Thats my workaround currently