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.2.3"
<dependency> <groupId>io.kamon</groupId> <artifactId>kamon-spring_2.13</artifactId> <version>2.2.3</version> </dependency>
You must start your application with the instrumentation agent for this module to work properly.