Description
The docs for adding tracing state:
Span computationSpan = tracer.newScope("Expensive computation."); try { //expensive computation here } finally { computationSpan.stop(); }
the tracer.newScope method returns a TraceScope object. That object has a close method, not stop.