[docker_] status: report and warn on unhealthy containers
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
[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 documantion of many plugins
Specifically the configuration examples are now indented properly.
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)
docker_cpu: fix warnings when docker ps has empty list
docker_cpu: fix data for container names starting with numbers
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
Whitespace cleanup
rename plugin example graphs for plugin gallery visualization
Some example graphs did not follow the naming convention required by theplugin gallery.
Category Tree: reduce number of categories
Docker Plugin
Ignore containers in weird state.
Docker plugin
Fix autoconf support
Add Docker plugins
Docker plugins for:- Monitor container CPU usage- Monitor memory CPU usage