Public | Automated Build

Last pushed: 2 years ago
Short Description
setup for statsite inside docker
Full Description


Docker container for Statsite


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.


Using influxdb (with defaults)

docker run -p 8125:8125 -p 8125:8125/udp -e STREAM_CMD="python /code/statsite/sinks/ /configs/influxdb.ini INFO" nyxcharon/statsite
Docker Pull Command
Source Repository