getsentry / getsentry/sentry

Feature Request: Allow me to query for issues where all events in the issue match the query

Open
#102,279 2 comments 0 reactions 0 assignees View on GitHub
Feature Issues > Stream/Feed Product Area: Issues
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

When I query for issues, there does not appear to be a way to specify that I want all events in the issue grouping to match the query, not just some.

This makes it hard to query for exclusivity when attempting to detect issues only found with a particular tag, in our case a feature gate.

To put that another way, we want to be able to see issues where might be caused by a specific feature gate state, which we report up as a tag. We don't want to see groups which have only _some_ events with the feature gate on, because those groups are likely not caused by the feature flag being on -- they also happen when it's off.

### Solution Brainstorm

It would be nice to have some argument I can add to search to say that I want to search exclusively, or a toggle in the UI to toggle exclusive/inclusive.

### Product Area

Unknown

Contributor guide

Open the contributing guide

Research direction

The issue identifies no files, tests, or entry points. Start by locating the issue-query implementation and search UI, then clarify whether exclusivity belongs in the query language, grouping semantics, or UI. Done should be a tested way to require every event in a group to match a condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.