Sign inSign up

nyxcharon/docker-statsite

By nyxcharon

•Updated over 10 years ago

Docker container for using statsite

Image
0

5.6K

nyxcharon/docker-statsite repository overview

⁠docker-statsite

Image Layers Docker Registry

Docker container for Statsite⁠

⁠Configuration

The only required enviornment variable is STREAM_CMD. This should contain the command you want statsite to run as part of it's configuration.

Simple setups using influxdb can be configured via enviornment variables Set INFLUXDB_HOST, INFLUXDB_PORT, INFLUXDB_DB as needed. They default to localhost, 8086, and statsite respectively.

Also included is a extra sink called dual-sink that will allow you to send metrics to influxdb and graphite at the same time. To do this set the above variables as needed, as well as GRAPHITE_HOST and GRAPHITE_PORT.

⁠Usage

Using influxdb (with defaults)

docker run -p 8125:8125 -p 8125:8125/udp -e STREAM_CMD="python /code/statsite/sinks/influxdb.py /configs/influxdb.ini INFO" nyxcharon/statsite

Tag summary

Content type

Image

Digest

Size

129.5 MB

Last updated

over 10 years ago

docker pull nyxcharon/docker-statsite