Skip to content

cnbaker/metrics-opentsdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metrics OpenTSDB Build Status Coverage Status

A Coda Hale Metrics Reporter.

OpenTsdbReporter allows your application to constantly stream metric values to an opentsdb server via the 2.0 HTTP API.

Example Usage

dropwizard 0.7.x app:

@Override
public void run(T configuration, Environment environment) throws Exception {
...
  OpenTsdbReporter.forRegistry(environment.metrics())
      .prefixedWith("app_name")
      .withTags(ImmutableMap.of("other", "tags"))
      .build(OpenTsdb.forService("http://opentsdb/")
      .create())
      .start(30L, TimeUnit.SECONDS);

About

OpenTSDB Metrics Reporter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%