Skip to content

Instantly share code, notes, and snippets.

@mapledyne
Created June 6, 2017 17:13
Show Gist options
  • Save mapledyne/533f28ee9f4db84b9d0b29c0d78e078f to your computer and use it in GitHub Desktop.
Save mapledyne/533f28ee9f4db84b9d0b29c0d78e078f to your computer and use it in GitHub Desktop.
test datadog statsd
require 'datadog/statsd'
statsd = Datadog::Statsd.new
stat = 100
while true do
puts("Running channels: #{stat}")
statsd.gauge('iguana.channels.running', stat)
sleep(10)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment