getsentry / getsentry/sentry

Explore - Filter metric options list based on query

Open
#118,334 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3. Medium Feature Product Area: Explore
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 23m
Merged PRs (30d)
607

Description

Problem Statement

When I have a specific query in the explore - metrics view it still shows me all metrics from the dropdown.
Even if this query doesn't contain any value in the shown metrics.
This means I'll have to search a long time before I can find a metric that has any value for my specific quer.

Image
Solution Brainstorm

Filter metrics options list based on Query

Product Area

Explore

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Explore metrics view and inspect how the current query and metric dropdown are assembled; trace the query state to the options list before choosing a code entry point. Done means the metrics list is filtered to options with values for the query, while the existing metric selection behavior remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.