Skip to content

DataCollection phase 2: migrate core enricher (UserInfo) #5428

Closed

Description

@jamescrosswell

Part of #5420. Phase 2 — behavior-neutral consumer migration (via the SendDefaultPii bridge).

Gate core-SDK user info collection on resolved UserInfo instead of reading SendDefaultPii directly:

  • src/Sentry/Internal/Enricher.cs:85-93 — env username (IsEnvironmentUser), User.IpAddress ??= "{{auto}}".
  • src/Sentry/Internal/MainSentryEventProcessor.cs:76-79 — Environment.MachineName as ServerName.
  • src/Sentry/SentryLog.cs:161-163 — server.address attribute on logs.

Explicitly user-set User data remains untouched (never gated).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions