#124150·sentry

PII Not Being Scrubbed from Spans Java/Android SDK

Author: danielsheccoury-sentryCreated Sep 11, 2026Updated Sep 17, 2026
LabelsProduct Area: Ingestion and FilteringGitHub Team: ingestBugAndroidSpans

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. add advanced data scrubbing selectors for geo location: $span.attributes.'user.geo.country_code'.value or $span.attributes.'user.geo.country_code'.value ||$span.attributes.'user.geo.city'.value ||$span.attributes.'user.geo.region'.value
  2. send transactions with user.geo
  3. Check spans for the geo location and you will see that this PII has not been removed.

Expected Result

Geo location PII to be removed from spans.

Actual Result

Spans are being ingested with user geo location.

Product Area

Explore

Link

daniels-sentry-org1

DSN

https://3cf9ad76529b3d7e557ce2bc565e4c56@o4511652932616192.ingest.de.sentry.io/4511704152473680

Version

No response