Skip to content

Conversation

NatMarchand
Copy link
Contributor

@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
Contributor 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
Contributor

RussKie commented Nov 5, 2024

@dotnet/dotnet-extensions-telemetry please review

Copy link
Member

@dariusclay dariusclay left a comment

Choose a reason for hiding this comment

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

LGTM

@dariusclay dariusclay merged commit 2977765 into dotnet:main Nov 18, 2024
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Lack of baggage in Logs
3 participants