Skip to content

Commit

Permalink
Remove gauge reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Fortin committed Jun 26, 2012
1 parent 5095868 commit d00be7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/statsd-client.sh
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
#
Expand All @@ -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<&-
Expand Down

0 comments on commit d00be7a

Please sign in to comment.