ExtractAndAttach
Applicability
Product |
Supported (Yes/No) |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function Description
Parses HTTP Trace information and adds it to the current context.
Prototype
1 | size_t ExtractAndAttach(const std::string& traceParentOfW3C, const std::string& traceOfB3) |
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
traceParentOfW3C |
Input |
W3C-compliant traceparent string. |
traceOfB3 |
Input |
B3-compliant trace string. |
Return Value Description
Returns the context index, which is used to call Unattach.
Parent topic: TraceContext Class