getsentry / getsentry/sentry

Dashboard table widgets: support percentage-of-total calculated columns

Open
#119,280 4 comments 0 reactions 0 assignees View on GitHub
Feature Product Area: Dashboards
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 10m
Merged PRs (30d)
635

Description

### Problem Statement

It would be useful to add a "percentage of total" column type to dashboard table widgets. Currently, table widgets only support raw aggregates (eg. `sum()`). There's no way to express a derived value like "this row's value as a percentage of the column total."

For example, I am making a dashboard to group AI spend by feature.

Image

Raw numbers are helpful but it would be nice to have a percentage here. I sort of get this with a bar (time series) chart; I just want the same info in tabular form.

Image

### Solution Brainstorm

_No response_

### Product Area

Dashboards

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named in the issue. Start by locating dashboard table widget column definitions and the handling for raw aggregates, then clarify how totals and sorting should behave with maintainers. Done means a table widget can display each row's share of the relevant column total, with coverage for the intended behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.