Skip to main content
Source: Al0063UnregisteredActivitySourceAnalyzer.cs

Description

An ActivitySource that is not registered via AddSource() in the tracing configuration will silently drop all spans.

Bad Code

Good Code

Properties

  • Category: OpenTelemetry
  • Severity: Warning
  • Enabled by default: True
  • Code fix available: False

Configuration