~/talk

State of the Java Metrics Libraries

Talkat JCON-ONLINE 2021 · 2021-10-05..10-08· [java, observability]
slides:none on file

A small Greeter servlet is instrumented with Prometheus Java client, Micrometer, Dropwizard, MicroProfile and OpenTelemetry and the demos run against Prometheus/Grafana from code on GitHub. Prometheus client is lightweight, exposes 22,000 calls (200) and 4,400 calls (500) in the demo and supports histograms, summaries and exemplars; Micrometer is vendor‑neutral, built into Spring/Quarkus/Micronaut and uses ~12 req/s, ~16% errors from aggregated rates with exponential default buckets; Dropwizard exports precomputed quantiles (no labels), MicroProfile mirrors Dropwizard and is shifting toward Micrometer, OpenTelemetry is promising but alpha.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Example application
  3. 6:30Prometheus
  4. 11:45percentiles
  5. 15:33Histogram
  6. 16:00Prometheus Metrics
  7. 16:43Merging Distributions
  8. 18:30Recap
  9. 18:45servlet filter
  10. 20:08micrometer
  11. 21:04instrumentation
  12. 22:50buckets
  13. 25:12histograms
  14. 26:40annotations
  15. 28:37dropwizard metrics
  16. 30:45microprofile metrics
  17. 34:18opentelemetry
  18. 37:01Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.