1 year ago

#221372

test-img

paui

Tracer active and startActive deprecated

With active and startActive being deprecated, what are the "proper" method of doing

tracer
    .buildSpan(instructions)
    .startActive()
    .span()
    .setTag("id", id);

and then, if need be, stop scope with

tracer
    .scopeManager()
    .active()
    .close();

Ive tried replacing active with activeSpan as per deprecation notes but cant really get the scope from the span?

did some googling buut didnt really find much info on this

java

opentracing

0 Answers

Your Answer

Accepted video resources