Skip to main content
Source: Al0089MissingOtlpConfigurationAnalyzer.cs

Description

OTLP exporter should have its endpoint explicitly configured rather than relying on the default localhost:4317, which often does not exist in production.

Bad Code

Good Code

Properties

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

Configuration