Skip to content

DataCollection phase 2: migrate OpenTelemetry and logging integrations #5435

Description

@jamescrosswell

Part of #5420. Phase 2 — consumer migration.

Migrate remaining integrations to the resolved config:

  • src/Sentry.OpenTelemetry/SentrySpanProcessor.cs — db/messaging attribute passthrough (db.statement-equivalents → DatabaseQueryData; messaging attrs → Queues where applicable).
  • src/Sentry.Serilog/SentrySinkExtensions.cs:20,255sendDefaultPii sink parameter (keep mapping to the legacy option until the major; document).
  • src/Sentry.NLog/SentryTarget.cs:490-502 — user layouts → these are user-configured (explicit), so per spec they are NOT gated; confirm and add a test locking that in.
  • src/Sentry.Extensions.Logging — anything reading SendDefaultPii via options binding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeFeatureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions