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 TagPropagationComponent
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
NoopTagPropagationComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagContextBinarySerializer
getBinarySerializer()
Returns theTagContextBinarySerializer
for this implementation.TagContextTextFormat
getCorrelationContextFormat()
Returns theTagContextTextFormat
for this implementation.
-
-
-
Field Detail
-
INSTANCE
static final TagPropagationComponent INSTANCE
-
-
Method Detail
-
getBinarySerializer
public TagContextBinarySerializer getBinarySerializer()
Description copied from class:TagPropagationComponent
Returns theTagContextBinarySerializer
for this implementation.- Specified by:
getBinarySerializer
in classTagPropagationComponent
- Returns:
- the
TagContextBinarySerializer
for this implementation.
-
getCorrelationContextFormat
public TagContextTextFormat getCorrelationContextFormat()
Description copied from class:TagPropagationComponent
Returns theTagContextTextFormat
for this implementation.OpenCensus uses W3C Correlation Context as the HTTP text format. For more details, see correlation-context.
- Specified by:
getCorrelationContextFormat
in classTagPropagationComponent
- Returns:
- the
TagContextTextFormat
for this implementation.
-
-