Is there anything special in your setup? Using kubernetes, deploying APM as a Service, default namespace, no customizations except adding kubernetes metadata:
Sample config:
Problem: Kubernetes metadata is not added to the APM traces:
Only pod id and name are recorded automatically, and only if they have been found by the container-info module. You can try running that module in your environment to see what it gets, if you like. If that is unable to identify your environment then you will need to supply the data manually via the agent.start(...) options.
That is where data is mapped to in the Elasticsearch documents created by apm-server, if it is given the appropriate input data to include that. It will not record that data itself, it will only map it from the input it gets from agents.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.