W3CTraceContextPropagator class
W3C Trace Context Level 1 propagator.
Inject always writes traceparent with header version 00 and the sampled
flag only. Extract accepts a well-formed version-traceid-parentid-flags
value, including unknown versions that share the version-00 layout
(forward-compatible). Malformed or truncated headers leave the input
context unchanged. Outbound inject still rewrites the version as 00.
Trace Context Level 2 (random-trace-id flag / ID-generation rules) is not implemented.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
extract(
Context context, dynamic carrier, TextMapGetter getter) → Context -
override
-
inject(
Context context, dynamic carrier, TextMapSetter setter) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- traceParentHeaderRegEx → RegExp
-
final