Repository navigation
feat(app): show materialized view indicators on the trace search RED charts - #3739
Draft
alex-fedotyev wants to merge 2 commits into
Draft
alex-fedotyev wants to merge 2 commits into
alex-fedotyev wants to merge 2 commits into
Conversation
🦋 Changeset detectedLatest commit: f9acb06 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
This was referenced Nov 20, 2026
Contributor
E2E Test Results✅ All tests passed • 476 passed • 1 skipped • 1113s
Tests ran across 4 shards in parallel. |
alex-fedotyev
force-pushed
the
alex/HDX-6120-trace-rollup-4-mv-indicator
branch
from
November 20, 2026 06:27
e1fac0a to
b24f1a0
Compare
…charts The Throughput, Errors and Duration tiles already read from a source's materialized views when one fits, but they hid the indicators dashboard tiles show, so there was no way to tell whether a tile was accelerated or why not. The tiles now use the dashboard defaults: the acceleration indicator with its explanation dialog, and the date-range indicator, which shows the range the view's rollups queried when it differs from the search range.
alex-fedotyev
force-pushed
the
alex/HDX-6120-trace-rollup-4-mv-indicator
branch
from
November 24, 2026 02:06
b24f1a0 to
a054c7d
Compare
alex-fedotyev
changed the base branch from
alex/HDX-6120-trace-rollup-3-exact-mv-edges
to
alex/HDX-6120-trace-rollup-2-dd-merge-params
November 24, 2026 02:07
With the acceleration and date-range icons, the Errors header ran out of room below about 1100px: its title wrapped one letter per line, then disappeared. The RED charts now use the collapsed toolbar dashboard tiles use, which moves the header controls into a menu once a tile is 200px wide or less.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Throughput, Errors and Duration charts on trace search already read from a source's materialized views when one fits, but they hid the indicators dashboard tiles show, so there was no way to tell whether a chart was accelerated or why not. They now use the dashboard defaults:
Both appear only on sources that have views. Dashboard tiles already show both; this removes the two overrides that hid them here. The search histogram and the results count keep reading the exact range.
With both icons, the Errors header ran out of room below about 1100px: the title wrapped one letter per line, then disappeared (on
mainthat starts below about 960px). The charts now use the collapsed toolbar dashboard tiles use: once a tile is 200px wide or less, its header controls move into a "⋮" menu and the title keeps the row. In the search layout that happens below about 1150px. Under 900px the search page shows the histogram instead of these charts, as before.Loading and error states are the charts' existing ones. A source without views shows neither icon.
Stack
Third of three PRs in a GitHub stack (stack #3778). The header says this PR merges into the branch below it, but the stack's base is
main: merging a PR lands it and every PR below it onmain, one squashed commit each. Each diff is only its own change, and CI runs as if each PR targetsmain.The three changes don't depend on each other's code. They're groundwork for a default trace rollup, ordered smallest first.
Screenshots or video
Demo Traces from 12:40:17 AM to 1:40:17 AM, light theme. A one-minute view serves all three charts on both builds; only this branch says so:
The clock tooltip, with the range the view's rollups queried:
The dialog from the Duration chart:
otel_traces_1m_v2served it, andotel_traces_1mhas no percentile column:Fifteen minutes uses 15-second buckets, finer than the views, so each chart reads the source table, shows "Not accelerated", and has no clock:
Dark theme:
At 1100px the controls fold into each chart's menu; the Errors menu is open:
How to reproduce
Starting point: this PR's Vercel preview, or
yarn app:dev:local, then onboarding → "Connect to Demo Server".On
main:On this branch:
How to test on Vercel preview
Preview routes: /search
Steps:
otel_traces_1m_v2as "Active".References