getsentry / getsentry/sentry

improve inbound filters

Open
#80,731 13 comments 3 reactions 0 assignees View on GitHub
Feature Product Area: Ingestion and Filtering
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

In mobile, we have many requests that are coming from outdated clients, and it makes it hard to understand which errors are not relevant anymore (we keep getting errors that were already fixed in newer clients).
Our current way of overcoming this issue is to use inbound filters to filter out versions from old clients. The issue with that approach is that inbound filters are matched as strings, and we can't add filters like this for example: **> 2.100155.0**, in order to filter out all releases that are less than version 2.100155.0.
So in order to achieve something like that, we have some complex inbound filters that we update on every new release, and it looks like this:
com.app@2.?.*+*
com.app@2.??.*+*
com.app@2.???.*+*
com.app@2.????.*+*
com.app@2.?????.*+*
com.app@[0-1].??????.?+*
com.app@2.0?????.?+*
com.app@2.1000??.?+*
com.app@2.1001[0-4]?.?+*
com.app@2.10015[0-4].?+*

Not pleasant at all as you can see.

### Solution Brainstorm

One suggested solution would be to support richer filter syntax, like suggested above.
Another option is to add whiteList filters instead of blacklist, so we could just say "filter out everything which isn't coming from this release and that release.

### Product Area

Ingestion and Filtering

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.