public Context.Builder loadCloudTraceContext(String cloudTrace)
Sets the trace id and span id values by parsing the string which represents xCloud Trace
Context. The Cloud Trace Context is passed as x-cloud-trace-context header (can be in
Pascal case format). The string format is TRACE_ID/SPAN_ID;o=TRACE_TRUE.
See Also: Cloud Trace header format.
public Context.Builder loadW3CTraceParentContext(String traceParent)
Sets the trace id and span id values by parsing the string which represents the standard W3C
trace context propagation header. The context propagation header is passed as
traceparent header. The method currently supports ONLY version "00". The string
format is 00-TRACE_ID-SPAN_ID-FLAGS. field of the version-format value.
See Also: traceparent header value format
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]