container-counter

command module
v0.0.0-...-cd37031 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2016 License: MIT Imports: 4 Imported by: 0

README

container-counter

container-counter is a small container that listens to docker events and increments a statsd gauge whenever a new container is created.

Usage

Start a countainer-counter container with the local docker socket mounted as a volume, and provide a statsd instance via the env var COUNTER_STATSD:

docker run -d -e COUNTER_STATSD=1.2.3.4:8125 -v /var/run/docker.sock:/var/run/docker.sock bcicen/container-counter

That's it!

TODO

Add counters for other pseudo-trivial docker metrics(number of images pulled, number of pushes performed, etc.)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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