Skip to content

alexrudd/docker_watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Exposes Docker metrics over a Prometheus endpoint

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published