apm-agent-go
apm-agent-go copied to clipboard
Support cgroup v2 container ID parsing
Implement support for cgroup v2 container ID parsing according to https://github.com/elastic/apm/pull/807.
I'm not sure if this is related or not, but I noticed that APM data is generating container.id fields with the runtime as a prefix, such as containerd-<long base64 random id> while Elastic Agent's container logs by default do not include the conatinerd prefix. This breaks the "View container logs" button in the APM UI since the filter ends up not matching the actual logs.