Registry / observability / spring-cloud-starter-sleuth

spring-cloud-starter-sleuth

JSON →
library3.1.11javamavenunverified

Spring Cloud Starter for distributed tracing with Sleuth and Brave.

<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId> <version>3.1.11</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CLOUD-START
S
spring-cloud-starter-sleuth
observabilityjavav3.1.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Tracer
org.springframework.cloud.sleuth.Tracer

Inject the Sleuth Tracer to add custom tags to the current span.

import org.springframework.cloud.sleuth.Tracer; import org.springframework.beans.factory.annotation.Autowired; @Autowired private Tracer tracer; public void doWork() { tracer.currentSpan().tag("key", "value"); }
Debug
Known issues
breakingSpring Cloud Sleuth is deprecated in favor of Micrometer Tracing.
fix
Migrate to Micrometer Tracing (spring-cloud-starter-micrometer-tracing).
affects: >=3.1.0
Upgrade
Version history
3.1.11latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
spring-cloud-starter-sleuth — mvn dependency:get spring-cloud-starter-sleuth · libregistry