Skip to content
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

ScopeManagerShim - do not store not recorded spans #6123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

konczykl
Copy link

@konczykl konczykl commented Feb 4, 2025

Fixes #4728

Changes

Do not store not recorded spans in ScopeManagerShim - they are not returned anyway and those spans were often static field TelemetrySpan.NoopInstance that throws exception Key already has been added.

@konczykl konczykl requested a review from a team as a code owner February 4, 2025 17:55
Copy link

linux-foundation-easycla bot commented Feb 4, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: konczykl / name: Łukasz Kończyk (f6f917a)

@github-actions github-actions bot added the pkg:OpenTelemetry.Shims.OpenTracing Issues related to OpenTelemetry.Shims.OpenTracing NuGet package label Feb 4, 2025
@Kielek
Copy link
Contributor

Kielek commented Feb 5, 2025

@konczykl, signing EasyCLA is hard step before we can consider any new contribution. Could you please handle it?

@Kielek
Copy link
Contributor

Kielek commented Feb 5, 2025

@pjanotti, as you were reporting #4728

@pjanotti
Copy link
Contributor

pjanotti commented Feb 6, 2025

LGTM @Kielek

Thanks @konczykl

Copy link
Contributor

This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or pushing will instruct the bot to automatically remove the label. This bot runs once per day.

@github-actions github-actions bot added the Stale Issues and pull requests which have been flagged for closing due to inactivity label Feb 14, 2025
@Kielek
Copy link
Contributor

Kielek commented Feb 14, 2025

@konczykl, could you please check EasyCLA requierements?

@konczykl
Copy link
Author

konczykl commented Feb 14, 2025

@konczykl, could you please check EasyCLA requierements?

@Kielek yes, sorry for the delay. I am going to do this this weekend.

@github-actions github-actions bot removed the Stale Issues and pull requests which have been flagged for closing due to inactivity label Feb 15, 2025
@konczykl konczykl force-pushed the fix/scope-manager-shim-noopinstance-ref branch from 3f13bcd to f6f917a Compare February 16, 2025 11:04
@Kielek
Copy link
Contributor

Kielek commented Feb 18, 2025

@konczykl, please check CI issues. Executing dotnet format locally should help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:OpenTelemetry.Shims.OpenTracing Issues related to OpenTelemetry.Shims.OpenTracing NuGet package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenTracing Shim: ScopeManager.Activate can throw if span is not sampled
3 participants