Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#727·statsd

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

bash
docker run -p 127.0.0.1:88:8125/udp -v /path/to/my/console/config.js:/usr/src/app/config.js statsd/statsd

Test It Out!

echo "foo:1|c" | nc -u -w0 127.0.0.1 88

Source: statsd/statsd

View original on GitHubView discussion on GitHub