Skip to content

bradfordw/gen_opentsdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

gen_opentsdb is a gen_server which connects and is able to push (and soon be able to query) metrics to an opentsdb server.

Example usage:

  gen_opentsdb:start_link().
  
  gen_opentsdb:put_metric(<<"nhl.det">>,150.0).
  %% Submits a metric "nhl.det" with a value of 150.0 and no tags.
  
  gen_opentsdb:put_metric(<<"nhl.det">>,150.0,[{<<"user">>,<<"brad">>}])
  %% Submits the same metric as before, but with a proplist which will be composed into a tag key/value pair for opentsdb.

About

OpenTSDB interface for Erlang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages