Metricbeat version: 7.1.1
We have configured Metricbeat with Docker API instead of Unix Socket in metricbeat.yml
We are able to get container, cpu,
emory, stats etc.
Each Metrics consist of cpu stats, container id, container image, container name however container labels are missing.
We also tried configuring the add_docker_metadata to get additional details related to container based on container id. After configuration, metricbeat service startup will fail with panic. I suspect its a bug where Metricbeat docker metadata only works if metricbeat is configured locally with unix socket. It will fail if configured with remote docker API.
Can you please help to confirm if its a bug or if I am missing some configuration.
My requirement is to get the container labels for cpu, memory , diskio, network stats which currently is not available. I can only see container id, name, image related to this stats.