This version is still in development and is not considered stable yet. For the latest stable version, please use Micrometer 1.14.2!

Installing

Snapshots are published to repo.spring.io/snapshot for every successful build on the main branch and maintenance branches.

Milestone releases are published to repo.spring.io/milestone. Include that as a Maven repository in your build configuration to use milestone releases. Note that milestone releases are for testing purposes and are not intended for production use.

It is recommended to use the BOM provided by Micrometer (or your framework if any), you can see how to configure it here. The examples below assume you are using a BOM.

Gradle

After the BOM is configured, the following example adds Context Propagation in Gradle:

implementation 'io.micrometer:context-propagation'
The version is not needed for this dependency since it is defined by the BOM.

Maven

After the BOM is configured, the following example adds Context Propagation in Maven:

<dependencies>
    <dependency>
        <groupId>io.micrometer</groupId>
        <artifactId>context-propagation</artifactId>
    </dependency>
</dependencies>
The version is not needed for this dependency since it is defined by the BOM.