Skip to main content
Source: Al0078InvalidActivitySourceNameAnalyzer.cs

Description

ActivitySource names should follow the reverse-DNS naming convention (e.g., MyCompany.MyService) to avoid collisions and enable filtering.

Bad Code

Good Code

Properties

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

Configuration