Sync docs from master to gh-pages

This commit is contained in:
buildmaster
2018-09-07 12:29:26 +00:00
parent cfba0b4e2d
commit 23a945104e
3 changed files with 3 additions and 3 deletions

View File

@@ -1014,7 +1014,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>