We've recently deployed the oneagent operator to our kubernetes cluster, and I was under the impression that OneAgent would pick up custom labels and annotations we put on our pods. However, I only see a few k8 specific items at the process level when viewing in the console (see screenshot). Am I doing something wrong, or did I misread the documentation?
We're also running Istio, and have created the necessary service entries for the operator.
It looks like you need to change the permissions for your pods in order to gather that information. Here is the snippet from the documentation.
"Dynatrace automatically detects all labels attached to pods at application deployment time. All you have to do is grant sufficient privileges to the pods that allow for reading the metadata from the Kubernetes REST API endpoint. This way the OneAgent code-modules can read these labels directly from the pod."