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

Make ActivityBaggageLogScopeWrapper implements IEnumerable<KeyValuePair<string, object?>> #5589

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NatMarchand
Copy link

@NatMarchand NatMarchand commented Oct 31, 2024

In order to work with OpenTelemetry, ActivityBaggageLogScopeWrapper must implements IEnumerable<KeyValuePair<string, object?>>
Closes: open-telemetry/opentelemetry-dotnet#5943

Microsoft Reviewers: Open in CodeFlow

@NatMarchand
Copy link
Author

NatMarchand commented Nov 1, 2024

Just found out that the file is a copy of https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.Extensions.Logging/src/LoggerFactoryScopeProvider.cs
However, the source in dotnet/runtime was meanwhile modified to be an IEnumerable<KeyValuePair<string, object?>>
Replicating changes

@RussKie
Copy link
Member

RussKie commented Nov 5, 2024

@dotnet/dotnet-extensions-telemetry please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Lack of baggage in Logs
2 participants