Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(explore): add sentry.normalized_description to trace explorer #86394

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

DominikB2014
Copy link
Contributor

  1. Add ability to search for sentry.normalized_description
    image

  2. Corrects description of the span.description field, it isn't technically always parameterized (for example the http.client spans contain the full url`

@DominikB2014 DominikB2014 requested review from a team as code owners March 5, 2025 16:49
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 5, 2025
@@ -1186,7 +1187,14 @@ export const TRACE_FIELD_DEFINITIONS: Record<TraceFields, FieldDefinition> = {
valueType: FieldValueType.STRING,
},
[SpanIndexedField.SPAN_DESCRIPTION]: {
desc: t('Parameterized and scrubbed description of the span'),
desc: t('Scrubbed description of the span'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this even scrubbed? I'm pretty sure it's just the raw description as received in the transaction event.

Copy link
Contributor Author

@DominikB2014 DominikB2014 Mar 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I think about it, I also am pretty sure it's the raw description as received in the transaction event. But is it possible it's scrubbed on the server side via https://docs.sentry.io/security-legal-pii/scrubbing/server-side-scrubbing/ ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if I changed this to raw_description of the span it would still be technically accurate. All fields imply PII scrubbing, so no need to mention it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants