docker_watch

command module
v0.0.0-...-957cb1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2017 License: MIT Imports: 13 Imported by: 0

README

Docker Watch

Uses Prometheus Node Exporter as a base. Removed all node_exporter collectors and added two for docker.

These collectors hit the Stats and Inspect API's. I've only picked out the few metrics which are interesting to me, adding more should be trivial.

This is all pretty hacky, so pull requests welcome.

Docker

docker run \
  --rm \
  -p 9100:9100 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  alexrudd/docker_watch
curl localhost:9100/metrics

Building

Included a small build script which statically compiles the Go binary and runs the Docker build command

./build.sh

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL