Skip to content

Instantly share code, notes, and snippets.

@cooniur
Created December 4, 2016 05:02
Show Gist options
  • Save cooniur/921c541a486df064ab5b39c346bae4b8 to your computer and use it in GitHub Desktop.
Save cooniur/921c541a486df064ab5b39c346bae4b8 to your computer and use it in GitHub Desktop.
StatsD test via CLI
#!/bin/bash
while :
do
echo -n "example.statsd.counter.changed:$((((RANDOM %10)+1)*3))|c"| nc -w 1 -u statsd.myapp.com 8125
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment