getsentry / sentry

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

Ability to provide a browserlist query as an inbound filter #54934

Open QuentinFchx opened 1 year ago

QuentinFchx commented 1 year ago

Problem Statement

In the "Inbound Filters" settings, I'd like to provide a browserlist query to filter out events from unsupported browsers.

The current "Filter out known errors from legacy browsers" section is somewhat outdated and we'd like to have more control over which browsers we consider irrelevant.

Thank you in advance :)

Solution Brainstorm

No response

Product Area

Settings - Projects

getsantry[bot] commented 1 year ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 1 year ago

Routing to @getsentry/product-owners-settings-projects for triage ⏲️

Dhrumil-Sentry commented 1 year ago

Hi @QuentinFchx thanks for the feedback, We'll add it to our backlog and keep this issue updated

scttcper commented 1 month ago

Going to keep this open and share some of the investigation we did when we added a few more filters.

We did look into browserlist support a little bit when we added the new browser filters and the challenges were around needing to support browserlist query parsing and supporting a somewhat different behavior. for example - browserlist query of firefox > 100 browserlist can tell you the supported versions 101, 102, 103. But what happens when a new version comes out do we filter out 104 if its not in the list?

And then we were trying to figure out if people should upload their browserlist query or the output of supported browsers since our version of the database might be different from theirs. "Last 3 major versions" depends on when the caniuse database was updated and questions around how to update that and inform people of when we update.