public static final class ExtraFieldPropagation.FactoryBuilder extends Object
Modifier and Type | Method | Description |
---|---|---|
ExtraFieldPropagation.FactoryBuilder |
addField(String fieldName) |
Adds a field that is referenced the same in-process as it is on the wire.
|
ExtraFieldPropagation.FactoryBuilder |
addPrefixedFields(String prefix,
Collection<String> fieldNames) |
Adds a prefix when fields are extracted or injected from headers.
|
brave.propagation.ExtraFieldPropagation.Factory |
build() |
public ExtraFieldPropagation.FactoryBuilder addField(String fieldName)
Note: fieldName
will be implicitly lower-cased.
public ExtraFieldPropagation.FactoryBuilder addPrefixedFields(String prefix, Collection<String> fieldNames)
Note: any fieldNames
will be implicitly lower-cased.
public brave.propagation.ExtraFieldPropagation.Factory build()
Copyright © 2018 OpenZipkin. All rights reserved.