B3 propagator is not case insensitive #3149
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Good for taking. Extra help will be provided by maintainers
Bug Report
If you use the B3 propagator with e.g. the Grpc.Core instrumentation then it fails to connect the parent spans to the new server spans because gRPC headers are always lower case.
The issue is that the B3 propagator does not store the headers as lower case and then this line in the Grpc.Core instrumentation does not do case-insensitive comparison: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/f45edd73341c4ae35c417ffb98c23aabbc11081a/src/OpenTelemetry.Instrumentation.GrpcCore/ServerTracingInterceptor.cs#L166
There are two ways to fix this:
I wasn't sure which approach would be favoured here but I can implement the one that sounds good to the maintainers.
The text was updated successfully, but these errors were encountered: