A Splunk reporter for Metrics.
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);