We have installed Metricbeat 7.1.1 on the servers in our Docker cluster and enabled the
docker module with the following configuration:
- module: docker metricsets: - container - cpu - diskio - event - healthcheck - info - memory - network period: 10s hosts: ["unix:///var/run/docker.sock"] # If set to true, replace dots in labels with `_`. #labels.dedot: false # To connect to Docker over TLS you must specify a client and CA certificate. #ssl: #certificate_authority: "/etc/pki/root/ca.pem" #certificate: "/etc/pki/client/cert.pem" #key: "/etc/pki/client/cert.key"
...in other words, the standard
docker module config, with the metricsets uncommented and enabled. However, I get the following error, and no metrics report in:
2019-07-15T08:55:44.856-0500 ERROR cpu/helper.go:143 Error calculating CPU time change for docker module: new stats value (0) is lower than the old one(20157987100000000)
When I comment out
metricsets and do a restart, I don't get any errors and the metricbeat reports in as expected for the