Anyone know what the 'key' is to correlate infrastructure metrics with APM agent metrics so they appear in the infrastructure tab in the APM UI?
I am not seeing any infra metrics for an APM service but I know that we definitely have them in elasticsearch from the Elastic Agent running on the server that the JVM is hosted on.
host.hostname field is common across both APM and EA documents but interestingly in the APM data it is uppercase and in the EA data it is lowercase. Not sure if this could be the issue though.
The infrastructure metrics table in the APM UI is populated by infrastructure data filtered by the following fields:
kubernetes.pod.name from the APM metrics data streams.
container.id from the APM metrics data streams.
Hosts: If the application is containerized (if the APM metrics documents include
host.name is used from the infrastructure data streams (filtered by
container.id). If not,
host.hostname is used from the APM metrics data streams.
Really useful information. So one thing, for my non-containerized app I am not seeing any data in the infrastructure tab. Interestingly the host.hostname field for the APM data stream is lowercase. It is uppercase for the infrastructure data. Host name is the same!
Could this be an issue do you think?