Package io.opencensus.tags.propagation
Class TagPropagationComponent
- java.lang.Object
-
- io.opencensus.tags.propagation.TagPropagationComponent
-
- Direct Known Subclasses:
NoopTags.NoopTagPropagationComponent
,TagPropagationComponentImpl
public abstract class TagPropagationComponent extends java.lang.Object
Object containing all supportedTagContext
propagation formats.- Since:
- 0.8
-
-
Constructor Summary
Constructors Constructor Description TagPropagationComponent()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TagContextBinarySerializer
getBinarySerializer()
Returns theTagContextBinarySerializer
for this implementation.abstract TagContextTextFormat
getCorrelationContextFormat()
Returns theTagContextTextFormat
for this implementation.
-
-
-
Method Detail
-
getBinarySerializer
public abstract TagContextBinarySerializer getBinarySerializer()
Returns theTagContextBinarySerializer
for this implementation.- Returns:
- the
TagContextBinarySerializer
for this implementation. - Since:
- 0.8
-
getCorrelationContextFormat
public abstract TagContextTextFormat getCorrelationContextFormat()
Returns theTagContextTextFormat
for this implementation.OpenCensus uses W3C Correlation Context as the HTTP text format. For more details, see correlation-context.
- Returns:
- the
TagContextTextFormat
for this implementation. - Since:
- 0.21
-
-