-
What if I want to modify the traceflags of the spancontext in the span? Is it currently supported? |
Beta Was this translation helpful? Give feedback.
Answered by
MrAlias
Apr 1, 2021
Replies: 1 comment
-
You can use A |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Aneurysm9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
WithTraceFlags
to set the trace flags for a copy of aSpanContext
.A
SpanContext
is an immutable type by design and it's association with a span is also not mutable. If you are asking how to change this association, the answer is the same as the other question you asked here: you cannot by design.