Skip to content

Not getting PII even though send_default_pii is set to true #598

Closed as duplicate of#599
@talzion12

Description

@talzion12

Environment

Rust 1.70.0
Sentry 0.31.5 with tracing feature

Steps to Reproduce

  1. Enable PII by setting send_default_pii: true in the ClientOptions.
  2. Enable Sentry integration for the tracing library.
  3. Send an error using tracing::error!().
  4. Open the issue in the Sentry dashboard and see that there is no IP attached to the issue.

Expected Result

An error is created with the user's IP attached to it.

Actual Result

The error is created but there is no IP in the Sentry dashboard.

Note

I searched the code for the send_default_pii flag and it seems it's only used in the sentry-actix integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions