Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

OpenTSDB Ruby client

Stuff

What is this?

This is a Ruby client for simplifying interactions with OpenTSDB.

What does it do?

As of this instant, not a whole lot except wrap the "put" method in a quick-and-dirty style. This will eventually grow to be much more useful as I expand functionality.

Requirements

ruby 1.9.3+

Quick example

  @client = OpenTSDB::Client.new(hostname: 'localhost', port: 4242)

  sample = {
    metric: 'double_rainbow.count',
    value: 42,
    timestamp: Time.now.to_i,
    tags: { factor: 'awesome', host: 'ponies' }
  }

  @client.put(sample)

License

Copyright 2012 John Ewart john@johnewart.net. Released under the MIT license. See the file LICENSE for further details.

About

Ruby OpenTSDB client gem

Resources

License

Languages

You can’t perform that action at this time.