Sync docs from 2.0.x to gh-pages

This commit is contained in:
buildmaster
2018-09-07 12:28:47 +00:00
parent 2b9f7ccfda
commit cfba0b4e2d
3 changed files with 3 additions and 3 deletions

View File

@@ -1015,7 +1015,7 @@ The following example shows how to propagate <literal>x-vcap-request-id</literal
<programlisting language="java" linenumbering="unnumbered">Tracing.newBuilder().propagationFactory(
ExtraFieldPropagation.newFactoryBuilder(B3Propagation.FACTORY)
.addField("x-vcap-request-id")
.addPrefixedFields("baggage-", Arrays.asList("country-code", "user-id"))
.addPrefixedFields("x-baggage-", Arrays.asList("country-code", "user-id"))
.build()
);</programlisting>
<simpara>Later, you can call the following code to affect the country code of the current trace context:</simpara>