Hi,
I've installed Metricbeat V7.4.1 on a Windows Server 2019 host that is running docker 19.0.3 with the system, windows and docker modules enabled. The system and windows modules are working correctly with kibana dashboard showing the correct info, however the docker dashboard is not displaying CPU or memory information for containers. The docker.yml module config is:
# Module: docker
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.4/metricbeat-module-docker.html
- module: docker
metricsets:
- container
- cpu
# - diskio
# - event
# - healthcheck
- info
- memory
# - network
period: 10s
hosts: ["npipe:////./pipe/docker_engine"]
If I look at the messaged logged in elastic for that metric set i find only some of the memory metrics are included and only CPU ticks have values, the rest are 0. e.g.
.
The dashboards reference .pct fields which are all missing or zero.
The logs on metricbeat do not have any warns or errors and simply show that metrics are being published. I have tried starting the metricbeat service with -d docker but no other warnings or errors appear.
I found this issue on GitHub https://github.com/elastic/beats/issues/6894. however setting DOCKER_API_VERSION didn't change anything (fyi - It's docker api versoin 1.40).
There appear to have been lots of topics created on this site but either do not recieve a reply or are closed within a few months.
Can anyone help?
Thanks,