Docker Stats command is very slow #2425
Unanswered
patrickrioux
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are currently using the Docker Java client (version 3.4.2) to retrieve Docker Stats using the callback implementation and call the following for each container id.
dockerClient.statsCmd(container.getId()).exec(callback);
We have 6 containers running and to retrieve the stats took almost 19 seconds.
The commands work great but this is much slower than I was expecting.
We are looking at some specific metrics like cpu and memory.
Is there a plan to accelerate getting stats? Is there a faster method or tuning available?
Any advice or recommendations?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions