Ruby
How to send metrics using Ruby
Installing the Ruby Gem
A Hosted Graphite Ruby Gem is available on github, and can be installed directly by typing:
Using the Gem to send via TCP
Using the Gem to send via UDP
Using the Gem to send via HTTP
Using the Gem to send via StatsD
Basic Ruby
Here are some ways to send via TCP, UDP and HTTP directly in your code.
Sending a metric via TCP
Sending a metric via UDP
Sending a metric via HTTP POST
Your API key can be found on your account home page.
Last updated