Registry / observability / brave-context-slf4j

brave-context-slf4j

JSON →
library6.3.1javamavenunverified

Integrates Brave distributed tracing with SLF4J MDC for trace context propagation.

<dependency> <groupId>io.zipkin.brave</groupId> <artifactId>brave-context-slf4j</artifactId> <version>6.3.1</version> </dependency>
INSTALL
IMPORT
SIG · BRAVE-CONTEXT-SLF4
B
brave-context-slf4j
observabilityjavav6.3.1
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.

MDCScopeDecorator
✓ brave.context.slf4j.MDCScopeDecorator

Configures Brave tracing to propagate trace context via SLF4J MDC.

import brave.context.slf4j.MDCScopeDecorator; import brave.Tracing; public class Example { public static void main(String[] args) { Tracing tracing = Tracing.newBuilder() .currentTraceContext(ThreadLocalCurrentTraceContext.newBuilder() .addScopeDecorator(MDCScopeDecorator.create()) .build()) .build(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.3.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
1
Resources
brave-context-slf4j — mvn dependency:get brave-context-slf4j · libregistry