You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 23, 2023. It is now read-only.
I want to set a custom Tracestate to a root span.
But the api only support set a Tracestate as follow:
tracestate.set("key", "value");
SpanContext spanContext = SpanContext.create(traceId, spanId, traceOption, tracestate);
Span span = tracer.spanBuilderWithRemoteParent(spanName, spanContext);
But in this way.
if spanContext.isValid == true, i only can get a non root span.
if spanContext.isValid == false, i will loss tracestate.