Skip to main content
Source: Al0093MissingResourceAttributesAnalyzer.cs

Description

OpenTelemetry resources should include service.name and service.version attributes to identify the service in observability backends.

Bad Code

Good Code

Properties

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

Configuration