Fixed missing in the sample; fixes gh-1085

This commit is contained in:
Marcin Grzejszczak
2018-09-07 14:27:07 +02:00
parent e02cea7bc0
commit 9c067115c7

View File

@@ -396,7 +396,7 @@ The following example shows how to propagate `x-vcap-request-id` the field as-is
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()
);
```