Description
Using both automatic instrumentation (e.g.,AddAspNetCoreInstrumentation()) and manual spans for the same operation creates duplicate traces.
Bad Code
Good Code
Properties
- Category: OpenTelemetry
- Severity: Warning
- Enabled by default: True
- Code fix available: False
