Description
[TracedTag] marks a parameter to be recorded as a span tag during instrumentation. Without [Traced] on the method or its declaring class, no span is created and the tag is silently ignored.
Bad Code
Good Code
Properties
- Category: OpenTelemetry
- Severity: Warning
- Enabled by default: True
- Code fix available: True
