Package io.opencensus.tags
Class NoopTags.NoopTagPropagationComponent
- java.lang.Object
-
- io.opencensus.tags.propagation.TagPropagationComponent
-
- io.opencensus.tags.NoopTags.NoopTagPropagationComponent
-
- Enclosing class:
- NoopTags
@Immutable private static final class NoopTags.NoopTagPropagationComponent extends TagPropagationComponent
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static TagPropagationComponentINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateNoopTagPropagationComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagContextBinarySerializergetBinarySerializer()Returns theTagContextBinarySerializerfor this implementation.TagContextTextFormatgetCorrelationContextFormat()Returns theTagContextTextFormatfor this implementation.
-
-
-
Field Detail
-
INSTANCE
static final TagPropagationComponent INSTANCE
-
-
Method Detail
-
getBinarySerializer
public TagContextBinarySerializer getBinarySerializer()
Description copied from class:TagPropagationComponentReturns theTagContextBinarySerializerfor this implementation.- Specified by:
getBinarySerializerin classTagPropagationComponent- Returns:
- the
TagContextBinarySerializerfor this implementation.
-
getCorrelationContextFormat
public TagContextTextFormat getCorrelationContextFormat()
Description copied from class:TagPropagationComponentReturns theTagContextTextFormatfor this implementation.OpenCensus uses W3C Correlation Context as the HTTP text format. For more details, see correlation-context.
- Specified by:
getCorrelationContextFormatin classTagPropagationComponent- Returns:
- the
TagContextTextFormatfor this implementation.
-
-