Skip to content

Commit eab6d39

Browse files
Updated docs
1 parent 642cf9d commit eab6d39

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Below you can find an example of a Logback configuration (file named `https://gi
280280
NOTE: 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

285285
The span context is the state that must get propagated to any child Spans across process boundaries.
286286
Part 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
294294
too many can decrease system throughput or increase RPC latency. In extreme cases, it could crash the app due
295295
to 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
----
301301
Span initialSpan = this.tracer.createSpan("span");
302302
initialSpan.setBaggageItem("foo", "bar");
303303
----
304304

305-
====== Baggage vs. Span Tags
305+
===== Baggage vs. Span Tags
306306

307307
Baggage travels with the trace (i.e. every child span contains the baggage of its parent). Zipkin has no knowledge of
308308
baggage and will not even receive that information.

docs/src/main/asciidoc/intro.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ include::https://raw.githubusercontent.com/spring-cloud-samples/sleuth-documenta
164164
NOTE: 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

169169
The span context is the state that must get propagated to any child Spans across process boundaries.
170170
Part 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
178178
too many can decrease system throughput or increase RPC latency. In extreme cases, it could crash the app due
179179
to 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
----
185185
include::{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

190190
Baggage travels with the trace (i.e. every child span contains the baggage of its parent). Zipkin has no knowledge of
191191
baggage and will not even receive that information.

0 commit comments

Comments
 (0)