Open roryodonnell opened 6 years ago
HttpTransport httpTransport = new HttpTransport.Builder().withApiKey(apiKey).build(); datadogReporter = DatadogReporter.forRegistry(registry).withTransport(httpTransport) .withExpansions(EnumSet.of(DatadogReporter.Expansion.COUNT)).build(); datadogReporter.start(1, TimeUnit.MINUTES);
registry.counter("if.you.really.cant.do.that.by.yourself.you.really.should.reconsider.yourself.as.a.develeoper").inc()
Thanks