File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ Below you can find an example of a Logback configuration (file named `https://gi
280280NOTE: If you're using a custom `logback-spring.xml` then you have to pass the `spring.application.name` in
281281`bootstrap` instead of `application` property file. Otherwise your custom logback file won't read the property properly.
282282
283- ===== Propagating Span Context
283+ ==== Propagating Span Context
284284
285285The span context is the state that must get propagated to any child Spans across process boundaries.
286286Part of the Span Context is the Baggage. The trace and span IDs are a required part of the span context.
@@ -294,15 +294,15 @@ IMPORTANT: There's currently no limitation of the count or size of baggage items
294294too many can decrease system throughput or increase RPC latency. In extreme cases, it could crash the app due
295295to exceeding transport-level message or header capacity.
296296
297- Example of setting span:
297+ Example of setting baggage on a span:
298298
299299[source,java]
300300----
301301Span initialSpan = this.tracer.createSpan("span");
302302initialSpan.setBaggageItem("foo", "bar");
303303----
304304
305- ====== Baggage vs. Span Tags
305+ ===== Baggage vs. Span Tags
306306
307307Baggage travels with the trace (i.e. every child span contains the baggage of its parent). Zipkin has no knowledge of
308308baggage and will not even receive that information.
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ include::https://raw.githubusercontent.com/spring-cloud-samples/sleuth-documenta
164164NOTE: If you're using a custom `logback-spring.xml` then you have to pass the `spring.application.name` in
165165`bootstrap` instead of `application` property file. Otherwise your custom logback file won't read the property properly.
166166
167- ===== Propagating Span Context
167+ ==== Propagating Span Context
168168
169169The span context is the state that must get propagated to any child Spans across process boundaries.
170170Part of the Span Context is the Baggage. The trace and span IDs are a required part of the span context.
@@ -178,14 +178,14 @@ IMPORTANT: There's currently no limitation of the count or size of baggage items
178178too many can decrease system throughput or increase RPC latency. In extreme cases, it could crash the app due
179179to exceeding transport-level message or header capacity.
180180
181- Example of setting span:
181+ Example of setting baggage on a span:
182182
183183[source,java]
184184----
185185include::{github-raw}/spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/multiple/MultipleHopsIntegrationTests.java[tags=baggage,indent=0]
186186----
187187
188- ====== Baggage vs. Span Tags
188+ ===== Baggage vs. Span Tags
189189
190190Baggage travels with the trace (i.e. every child span contains the baggage of its parent). Zipkin has no knowledge of
191191baggage and will not even receive that information.
You can’t perform that action at this time.
0 commit comments