Skip to content

Avoid expensive call to Span.fromContextOrNull(null) #89135

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

Conversation

DaveCTurner
Copy link
Contributor

Workaround for #89107

@DaveCTurner DaveCTurner added >non-issue :Core/Infra/Core Core issues without another label v8.5.0 labels Aug 4, 2022
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Aug 4, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Contributor

@ChrisHegarty ChrisHegarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@DaveCTurner DaveCTurner added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Aug 4, 2022
@elasticsearchmachine elasticsearchmachine merged commit c08111b into elastic:main Aug 4, 2022
@DaveCTurner DaveCTurner deleted the 2022-08-04-cheaper-spanFromContextOrNull branch August 4, 2022 16:37
elasticmachine pushed a commit to mushao999/elasticsearch that referenced this pull request Aug 18, 2022
Closes elastic#89414. Remove the workaround from elastic#89135 that addressed elastic#89107,
and instead upgrade the OpenTelemetry API, which contains a fix for the
underlying issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants