Bug Report
https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.SqlClient/Implementation/SqlEventSourceListener.netfx.cs
It never calls Enrich anywhere.
net462 build.
Symptom
This is valid code in .net framework lib, but it never calls the Enrich method.
.AddSqlClientInstrumentation(o => {
o.Enrich = (activity, _, _) => activity.DisplayName = "Sql";
})
What is the expected behavior?
Enrich called
What is the actual behavior?
Enrich never called
Reproduce
.AddSqlClientInstrumentation(o => {
o.Enrich = (activity, _, _) => activity.DisplayName = "Sql";
})
Bug Report
https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.SqlClient/Implementation/SqlEventSourceListener.netfx.cs
It never calls Enrich anywhere.
net462 build.
Symptom
This is valid code in .net framework lib, but it never calls the Enrich method.
What is the expected behavior?
Enrich called
What is the actual behavior?
Enrich never called
Reproduce