Skip to content

jonekdahl/metrics-splunk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A (Splunk)[http://www.splunk.com] reporter for (Metrics)[http://metrics.codahale.com/].


ServiceArgs args = new ServiceArgs();
args.setUsername("admin");
args.setPassword("changeme");
Service splunk = Service.connect(args);

SplunkReporter
        .forRegistry(metricRegistry)
        .withSource("example-application")
        .addAttribute("some-tag", "foobar")
        .withIndex("my-index")
        .build(splunk)
        .start(10, TimeUnit.SECONDS);

About

A Splunk reporter for the Metrics library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published