getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.58k stars 4.13k forks source link

Custom project_id tag unsearchable and leads to error #77564

Open JLuse opened 2 days ago

JLuse commented 2 days ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

A customer reported an issue where attempting to search for or apply a custom tag with the key "project_id" in the Sentry platform results in an error.

Zendesk ticket: https://sentry.zendesk.com/agent/tickets/132532

Steps to repro:

  1. Set tag project_id and send events

  2. View all tags in Sentry: https://jluse-free-org.sentry.io/issues/5858760152/tags/?project=4507924334313472&referrer=issue-stream&statsPeriod=1h&stream_index=1

  3. Click on project_id value: Image

  4. Error: Image

Expected Result

Tag to be searchable and directed to proper events

Actual Result

Cannot search events associated to tag and error when redirected.

Product Area

Issues

Link

No response

DSN

No response

Version

No response

getsantry[bot] commented 2 days ago

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

scttcper commented 2 days ago

Thanks, in this case it should be tags[project_id]: since project_id is a reserved keyword. Added to our backlog to fix that link.