Closed MetikovVadim closed 6 years ago
Resolved by downgrade CentOS, install dockerpy and others.
AFAIK the reason is conflict between docker and docker-py python modules. docker module is the new version of docker-py. New versions of docker-compose, for example, using docker. And Diamond is using docker-py.
Hello there!
There is no metrics from Diamond Docker collector. In the log i found only: [MainThread] Collector failed! Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/diamond/utils/scheduler.py", line 77, in collector_process collector._run() File "/usr/lib/python2.7/site-packages/diamond/collector.py", line 477, in _run self.collect() File "/usr/share/diamond/collectors/docker_collector/docker_collector.py", line 66, in collect client = docker.Client(version='auto') AttributeError: 'module' object has no attribute 'Client'
How to fix that?