We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminating Metricbeat with the docker module loaded doesn't seem to work until one period passes.
period
To reproduce:
- module: docker metricsets: ["cpu", "info", "memory", "network", "diskio", "container"] enabled: true period: 10s #hosts: ["localhost"] socket: unix:///var/run/docker.sock
Happens:
The text was updated successfully, but these errors were encountered:
The reason metricbeat does not directly shutdown is that fetching the docker stats takes at least 2 seconds: https://github.com/docker/docker/blob/master/cli/command/container/stats_helpers.go#L148 Unfortunately for a longer list of containers this can take a lot more time. We should find a way to stop the fetching loop.
Sorry, something went wrong.
Closing this as the docker client is now setup with a timeout means it will block only based on the timeout and not until all is completed.
No branches or pull requests
Terminating Metricbeat with the docker module loaded doesn't seem to work until one
period
passes.To reproduce:
Happens:
The text was updated successfully, but these errors were encountered: