getsentry / sentry

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

Ability able to filter events based off conditional logic around releases #77831

Open sentryadam0000345 opened 1 month ago

sentryadam0000345 commented 1 month ago

Problem Statement

Based off existing Github issues, listed here: https://github.com/getsentry/sentry/issues/72932, https://github.com/getsentry/sentry/issues/71901, https://github.com/getsentry/sentry/issues/63132

Wanted to add one more feature request regarding our Inbound Filters.

Is there a way to set up an inbound filter than will drop errors events for releases below a certain number? Right now it looks like I can filter via glob matching but I'd like to be able to say something like "drop error events for all releases below x.x.x", ideally being able to filter out error events more than x releases behind current

Solution Brainstorm

Since this doesn't seem possible could we allow this functionality via an API? Even if it is more of an unsupported internal API, being able to set this functionality programmatically would be great.

Product Area

Settings - Projects

getsantry[bot] commented 1 month ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 1 month ago

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

getsantry[bot] commented 1 month ago

Routing to @getsentry/product-owners-ingestion-and-filtering for triage ⏲️

jjbayer commented 1 month ago

This should be relatively straight forward with Generic Inbound Filters if we extend the Getter impl of Event to support string access to "virtual" fields "release.version.major", etc.