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.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/micrometer-metricsmicrometer.svg)](https://yunodb.com/tools/micrometer-metricsmicrometer?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/micrometer-metricsmicrometer?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/micrometer-metricsmicrometer.svg" alt="Featured on YunoDB" height="20"></a>