A vendor-neutral observability facade for JVM apps
open sourceApache-2.0free
Micrometer is a vendor-neutral facade for instrumenting JVM application code, "SLF4J, but for observability". It provides dimensional timers, gauges, counters, distribution summaries and long task timers, comes with ready-made instrumentation, and publishes to most observability backends, including Prometheus, Datadog, CloudWatch and Azure Monitor, so the backend can be chosen last or changed later. Its Observation API produces metrics, traces and logs from one piece of instrumentation, and Micrometer Tracing is a facade over the Brave and OpenTelemetry tracers. Helidon, Micronaut, Quarkus and Spring integrate it.
Problems it solves
- add metrics to my Java service without locking into one monitoring vendor
- expose Prometheus metrics from a Spring or Quarkus app
- instrument my JVM library so users can send metrics to any backend
Features
- dimensional timers, gauges, counters and distribution summaries
- publishing to Prometheus, Datadog, CloudWatch and other backends
- Observation API for metrics, traces and logs at once
- Micrometer Tracing over Brave and OpenTelemetry
- built-in instrumentation for common components
Alternatives
The same job
These do what Micrometer does.
- OpenTelemetry Vendor-neutral APIs, SDKs and tools for traces, metrics and logs
- Dropwizard Metrics Capture JVM and application metrics in production
- OpenTelemetry eBPF Instrumentation eBPF-based zero-code instrumentation following the OpenTelemetry standard
- OpenTelemetry Operator Kubernetes operator for the OpenTelemetry Collector and auto-instrumentation
- Odigos Production context. For every decision.
