github.com/porjo/dockerinflux

Docker container stats to influxdb


License
GPL-2.0
Install
go get github.com/porjo/dockerinflux

Documentation

DEPRECATED in favour of Telegraf + Docker plugin for input, and Chronograf for output

Dockerinflux

Dockerinflux populates InfluxDB backend with metrics (CPU, memory) from Docker containers running on localhost. These can then be graphed using a frontend like Grafana

Usage

./dockerinflux --help
Usage of ./dockerinflux:
  -cgroups="/sys/fs/cgroup": location of cgroups directory
  -database="": database for InfluxDB
  -docker="": Docker socket used to resolve container IDs to friendly names e.g. unix:///var/run/docker.sock (optional)
  -influxdb="localhost:8086": host:port for InfluxDB
  -logfile="": path to log file
  -password="root": password for InfluxDB
  -username="root": username for InfluxDB
  -verbose=false: true if you need to trace the requests