Registry / observability / spring-cloud-sleuth-core

spring-cloud-sleuth-core

JSON →
library2.2.8.RELEASEjavamavenunverified

Core library for distributed tracing in Spring Cloud applications.

<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-sleuth-core</artifactId> <version>2.2.8.RELEASE</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CLOUD-SLEUT
S
spring-cloud-sleuth-core
observabilityjavav2.2.8.RELEASE
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 and use the Sleuth Tracer to add custom tags to spans.

import org.springframework.cloud.sleuth.Tracer; import org.springframework.beans.factory.annotation.Autowired; @Service public class MyService { @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 for future compatibility.
affects: >=3.0.0
Upgrade
Version history
2.2.8.RELEASElatest on Maven
Audit
Dependencies

No dependency data recorded yet.

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