Skip to content

OpenTelemetryExtension.Configuration 1.1.0

Choose a tag to compare

@github-actions github-actions released this 06 Jun 18:48
· 99 commits to main since this release
dcf9d24

v1.1.0

New Features

  • SampleRatio — configure trace sampling via appsettings.json (1.0 = all, 0.1 = 10%). Uses ParentBased(TraceIdRatioBased) sampler.
  • ResourceAttributes — add arbitrary OpenTelemetry resource attributes (e.g. team, region) via appsettings.json.
  • ExcludedPaths — replaces ExcludeHealthChecks. Accepts a list of paths to exclude from tracing (default: ["/health"]).
  • IncludeScopes — controls whether log scopes are included in exported log records (default: true).
  • IncludeFormattedMessage — controls whether the formatted log message is included in exported log records (default: true).

Changes

  • EnableSqlClientInstrumentation default changed from true to false — opt-in, as not all applications use SQL.
  • ExcludeHealthChecks removed — replaced by the more flexible ExcludedPaths.

Improvements

  • README rewritten for clarity — cleaner getting started, expanded backend examples.
  • TreatWarningsAsErrors enabled across all projects.
  • CI now also runs on pull requests.
  • GitHub Actions: replaced deprecated actions/create-release@v1 with softprops/action-gh-release@v2.
  • RepositoryType, PackageReleaseNotes and dynamic copyright added to NuGet package metadata.