diff --git a/examples/statsd-client.sh b/examples/statsd-client.sh index f1859366..9c40ba5c 100644 --- a/examples/statsd-client.sh +++ b/examples/statsd-client.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# Very simple bash client to send gauge metrics to a statsd client -# Example: ./statsd-client.sh 'my_metric:100' +# Very simple bash client to send metrics to a statsd server +# Example with gauge: ./statsd-client.sh 'my_metric:100|g' # # Alexander Fortin # @@ -18,7 +18,7 @@ fi exec 3<> /dev/udp/${STATSD}/${PORT} # Send data -echo "$1|g" >&3 +echo "$1" >&3 # Close UDP socket exec 3<&-