yeep, So, it turns out, ASP.NET Core applications without Open Telemetry still send a traceparent header, with the tracing flag off. It also turns out that an ASP.NET Core application that does use OTEL will not send traces if they receive a traceparent header with the tracing flag off. And it also turns out, that the documentation on how to change this behaviour, by using the OTEL_TRACES_SAMPLER environment variable, is incorrect. This variable is not used yet. Fun.
#OpenTelemetry #DotNet #ASPNETCore
Add comment