micrometer
An application observability facade for the most popular observability tools. Think SLF4J, but for observability.
What is micrometer?
An application observability facade for the most popular observability tools. Think SLF4J, but for observability.
Overview of micrometer
What it is
Micrometer is an application observability facade for the most popular observability tools. It provides a vendor-neutral interface for instrumenting code with dimensional metrics, allowing users to decide on the monitoring backend at the last minute. The project is analogous to SLF4J, but for observability. Micrometer artifacts work with Java 8 or later, with exceptions such as micrometer-java11 and micrometer-jetty11.
Key features
- Vendor-neutral metrics facade for popular monitoring tools
- Dimensional metrics support
- Supports Java 8 and later
- Snapshot builds published to repo.spring.io
- Milestone releases and release candidates published to Maven Central starting with 1.15.0-M2
Use cases
- Instrumenting Java applications with metrics without locking into a specific monitoring backend
- Switching between monitoring tools (e.g., Prometheus, Datadog, Graphite) without code changes
- Standardizing metrics collection across microservices or distributed systems
Getting started
To use snapshot builds, add the following to your Gradle build:groovyrepositories { maven { url 'https://repo.spring.io/snapshot' }}dependencies { implementation 'io.micrometer:micrometer-core:latest.integration'}For full documentation, see the repository README.
License and pricing
Licensed under Apache Software License 2.0. The project is open source and free to use.
Based on the project's public README and repository metadata.