Historique | Voir | Annoter | Télécharger (18,7 ko)
Add 'containers' to the supported series
Apparently, the code support that serie, as the docs say.
[docker_] add multigraph support
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
[docker_] status: report and warn on unhealthy containers
[docker_] expose APIClient from Wrapper
[docker_] memory: report `usage` if `total_rss` is not available
[docker_] Add support for custom attributes reporting in extinfo
Improve perlpod formatting for multiple plugins
Escpecially the final marker ("=cut") was missing in these plugins.
[docker_] Get CPU count from os.cpu_count() everywhere
Docker-py and os.cpu_count() disagree on the count, leading to datagoing beyond the scale of the graph. As Docker-py seems to have dummyCPU data in the stats, we instead always rely on Python's CPU count....
[docker_] Fix network extinfo
[docker_] Fix missing f-string
[docker_] Fake functools.cached_property for Python<3.8
Fixes: #1116Signed-off-by: Olivier Mehani <shtrom@ssji.net>
[plugin/docker_] Improvements to docker_ plugin (#1094)
Added env to exclude containers from cpu/memory docker graphs
It maybe desirable to not generate stats for ephemeral containers.This commit adds an env variable EXCLUDE_CONTAINER_NAME which is a regex, if it matchesthen the container is excluded from the cpu and memory graphs.
Improved docker_ performance when getting CPU/Memory stats
Added parallel processing using python's muliprocessing moduleto fork a new process each for each docker container when gatheringstats.
This vastly improves performance since using a for loop the script...
Rewrite Docker plugin
Fix:- CPU- Memory
Add:- Containers number- Containers status- Images number- Volumes number