Open CodeBlanch opened 4 months ago
Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti See info in area-owners.md if you want to be subscribed.
Tagging subscribers to this area: @dotnet/area-system-diagnostics-activity See info in area-owners.md if you want to be subscribed.
We can use DiagnosticSourceEventSource to listen to
Activity
\ traces out of proc. One of the things it does is normalize all tags (KeyValuePair<string, object?>
) into strings (KeyValuePair<string, string?>
).Code: https://github.com/dotnet/runtime/blob/aedb91f487e4bb4ee6f08cd3826233d434736cf7/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSourceEventSource.cs#L1207
Question: Should we use
InvariantCulture
when we do this?Probably also the same question\issue for metrics and logs.
/cc @tarekgh @noahfalk @samsp-msft