Since 2.1.13
This is an experimental feature that is currently enabled by default.
You can disable it by adding kanela.modules.spring.enabled = no
to your configuration.
The Spring WebClient instrumentation will automatically create spans for requests sent using Spring WebClient. All requests will have a name that corresponds to the request type sent by the client, and add HTTP trace and span headers to the request.
Example span and tags:
In case you are not using the Kamon Bundle, add the dependency below to your build.
libraryDependencies += "io.kamon" %% "kamon-spring" % "2.5.4"
<dependency>
<groupId>io.kamon</groupId>
<artifactId>kamon-spring_2.13</artifactId>
<version>2.5.4</version>
</dependency>
implementation 'io.kamon:kamon-spring_2.13:2.5.4'
You must start your application with the instrumentation agent for this module to work properly.
Your first step towards Kamon APM is conversation with Kamon's lead developer, Ivan. He'll help you figure out if Kamon APM is the right tool for your team and personally guide you through the initial setup and next steps. Here he is: