Skip to content

Instantly share code, notes, and snippets.

@edwise
Created April 1, 2022 07:24
Show Gist options
  • Save edwise/9bf7a00233fe77ac372ad3c0e1118b92 to your computer and use it in GitHub Desktop.
Save edwise/9bf7a00233fe77ac372ad3c0e1118b92 to your computer and use it in GitHub Desktop.
Timer timer = Timer.builder("timerName")
.publishPercentiles(0.5, 0.95, 0.99)
.tag("tag1", "sdgawehwh")
.register(meterRegistry);
return timer.record(() -> httpClient.call(body));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment