-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec Conformance Review: Span End #1643
Comments
We gate span methods that should have no effect after End is called with the opentelemetry-go/sdk/trace/span.go Line 168 in 90bd4ab
This is set to non-zero when a span is ended: opentelemetry-go/sdk/trace/span.go Lines 244 to 249 in 90bd4ab
Note: there is somewhat related bug, but it is more related to starting a span and the
We do not provide such functions currently.
It does not. Spans to not, currently, keep reference to any child spans other than a running total of how many are created.
There is a concept of active Span in the project. There is no process to make a span (active or) inactivate.
There are no restrictions in place. The parent span is stored, but no check is in place for if it has ended in the creation of a new span: opentelemetry-go/sdk/trace/span.go Lines 521 to 590 in 90bd4ab
and opentelemetry-go/sdk/trace/tracer.go Lines 40 to 80 in 90bd4ab
opentelemetry-go/trace/config.go Lines 149 to 153 in 90bd4ab
opentelemetry-go/sdk/trace/span.go Lines 245 to 249 in 90bd4ab
This method needs to acquire a lock to set the end time so it does not have a race with any other calls to the I'm opening this to see about clarifying this requirement. |
The text was updated successfully, but these errors were encountered: