Skip to content

feat(dashboards): create prebuilt dashboard for backend overview#105719

Merged
DominikB2014 merged 5 commits intomasterfrom
dominikbuszowiecki/browse-216-create-basic-backend-overview-page
Jan 6, 2026
Merged

feat(dashboards): create prebuilt dashboard for backend overview#105719
DominikB2014 merged 5 commits intomasterfrom
dominikbuszowiecki/browse-216-create-basic-backend-overview-page

Conversation

@DominikB2014
Copy link
Copy Markdown
Contributor

image

@DominikB2014 DominikB2014 requested a review from a team as a code owner January 6, 2026 17:17
@linear
Copy link
Copy Markdown

linear bot commented Jan 6, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 6, 2026
name: '',
fields: [
SpanFields.TRANSACTION,
'equation|count_if(cache.hit,equals,false)',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoded field name inconsistent with SpanFields constant usage

Low Severity

The field cache.hit is hardcoded as a string on this line, while the rest of the file (lines 175 and 268) consistently uses SpanFields.CACHE_HIT for the same field. If SpanFields.CACHE_HIT is ever renamed or its value changes, this hardcoded occurrence would be missed and cause the widget query to break. Using ${SpanFields.CACHE_HIT} would maintain consistency and prevent future maintenance issues.

Fix in Cursor Fix in Web

'Time Spent',
],
conditions: TABLE_QUERY.formatString(),
orderby: '-sum(span.duration)',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoded span.duration inconsistent with SpanFields constant usage

Low Severity

The orderby value uses a hardcoded string 'span.duration' while the same field in the fields and aggregates arrays on lines 300-304 and 308-312 consistently uses SpanFields.SPAN_DURATION. If the SpanFields.SPAN_DURATION constant value ever changes, this ordering clause would break while the rest of the query would use the updated value, causing the widget to fail or sort incorrectly.

Fix in Cursor Fix in Web

@DominikB2014 DominikB2014 merged commit 9949760 into master Jan 6, 2026
52 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/browse-216-create-basic-backend-overview-page branch January 6, 2026 18:52
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants