comment on Scope class is not accurate regarding span ended #3109
Labels
bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
api/include/opentelemetry/trace/scope.h
has following comment on the Scope class:It specifies that "the given span is ended". This is not accurate. The span is not ended simply because scope object is destroyed.
Users may not explicitly call span.End() based on the comment. This could delay the end of span.
The text was updated successfully, but these errors were encountered: