We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The OnEnding spec mentions: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#onending
The SDK MUST guarantee that the span can no longer be modified by any other thread before invoking OnEnding of the first SpanProcessor
The current OnEnding implementation doesn't prevent the span from being modified in another thread, concurrently with the processor's action.
The text was updated successfully, but these errors were encountered:
cc @pantuza
Sorry, something went wrong.
Two ways this can be done:
Java does it by storing the ID of the thread that runs OnEnding, and prevents any other thread from doing so. https://github.com/open-telemetry/opentelemetry-java/pull/6367/files#diff-d716139d47f651d6b6558f3e6f03aa59c98e52723f472b2c6a24bd02ec5fe2ceR338-R342
Go is going to setup a wrapper span that allows bypassing the span being read-only, and will be provided to the processor.
No branches or pull requests
The OnEnding spec mentions:
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#onending
The current OnEnding implementation doesn't prevent the span from being modified in another thread, concurrently with the processor's action.
The text was updated successfully, but these errors were encountered: