Provide Quick-Start for Docker and Configuration
Author: belugabehrCreated Mar 31, 2022Updated Mar 31, 2022
I spent more time than I would have liked on quickly deploying a test statsd container for evaluation. For anyone else looking for a quick-start:
Create a New Configuration File
Create a new config.js with a console backend defined:
{
backends: [ "./backends/console" ]
}Launch the Conatiner
docker run -p 127.0.0.1:88:8125/udp -v /path/to/my/console/config.js:/usr/src/app/config.js statsd/statsdTest It Out!
echo "foo:1|c" | nc -u -w0 127.0.0.1 88Source: statsd/statsd