librato / librato-collectd-docker

Collectd plugin for Docker cgroup metrics
MIT License
9 stars 7 forks source link

Block I/O #4

Closed chancefeick closed 8 years ago

chancefeick commented 8 years ago

Add block I/O stats via blkio_stats using Docker Remote API. Introduces 10 new metrics:

vagrant@vagrant-ubuntu-trusty-64:/$ sudo python opt/collectd/share/collectd/collectd-docker.py
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_serviced_read" interval=60 N:831
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_serviced_write" interval=60 N:0
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_serviced_sync" interval=60 N:0
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_serviced_async" interval=60 N:831
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_serviced_total" interval=60 N:831
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_service_bytes_read" interval=60 N:19849216
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_service_bytes_write" interval=60 N:0
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_service_bytes_sync" interval=60 N:0
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_service_bytes_async" interval=60 N:19849216
PUTVAL "localhost/docker-librato-96e60565fe71/blkio-io_service_bytes_total" interval=60 N:19849216
# other stats omitted
obfuscurity commented 8 years ago

Is this still WIP or did you figure out the metric reporting issue?

chancefeick commented 8 years ago

Yeah, still having issues with dropping despite successful output. Left details in Asana.

chancefeick commented 8 years ago

Dropping issue resolved in 920c8d272f396331106f163ba8c7c8a9dbdcd225.