Skip to content
New issue

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

Bump docker client to 20.10 and use StatsOneShot to get stats #107

Merged
merged 2 commits into from
Aug 16, 2022

Conversation

cpuguy83
Copy link
Contributor

See moby/moby#40478 for details on the newer stats option.
This significantly speeds up container stats collection.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This returns stats nearly instantly instead of having to wait for > 1s.
This feature was added in the 20.10 daemon. When connecting to
older daemons the stats will behave just as before since.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@evol262 evol262 merged commit 528fa13 into Mirantis:master Aug 16, 2022
@evol262
Copy link
Contributor

evol262 commented Aug 16, 2022

@cpuguy83 next expected build is in ~2 weeks unless there's a critical issue this is blocking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants