Skip to content

refactor(load): define each dashboard panel once - #5125

Merged
shepilov merged 1 commit into
masterfrom
refactor/load-dashboard
Oct 29, 2026
Merged

shepilov merged 1 commit into
masterfrom
refactor/load-dashboard

Conversation

@shepilov

Copy link
Copy Markdown
Member

Closes #5106.

capacity-overview.json goes from 20,437 to 13,946 lines and from 140 to 103 panels.

  • Shared panels: a panel that appears on several tabs is now defined once and referenced from each tab. Grafana 13.2 renders a v2 element referenced from several layout items.
  • Controls: the run, point and outside-window controls drop dtab from their links, so they stay on the current tab, and their per-tab copies become one panel each.
  • Workload: the tab no longer repeats Overview's summary stats for the selected points (16 panels). Its timelines and tested-point tables stay.
  • Status colours: one regex palette replaces the repeated value mappings.
  • Table columns: columns with the same settings, such as the status columns and the hidden link fields, share one byRegexp override.
  • Rows: consecutive headerless rows shown under the same condition share one grid.

Reviewed, kept as they are:

  • the local and DEV infrastructure panels, which use different queries and datasources;
  • the eight capacity scatter charts, whose transformations and overrides are specific to each chart.

Tests: make node-checks passes, 663 tests. On a local Grafana 13.2, an upload, ramp, fan-out and mixed run each render the same on Overview and Infrastructure as before: same panel titles, values, status colours and positions. On Workload, only the summary panels are gone.

Tabs now reference shared panels instead of carrying copies, and the run,
point and window controls keep the current tab, so one panel serves every
tab. Workload no longer repeats Overview's run summary for the selected
points. One status palette replaces the repeated value mappings, columns
with the same settings share one override, and consecutive rows shown
under the same condition share one grid.

capacity-overview.json goes from 20,437 to 13,946 lines and from 140 to
103 panels, with the same views and queries otherwise.
@shepilov
shepilov requested a review from taratatach as a code owner October 29, 2026 18:24
@shepilov
shepilov removed the request for review from taratatach October 29, 2026 18:24
@shepilov
shepilov merged commit e13d64b into master Oct 29, 2026
4 checks passed
@shepilov
shepilov deleted the refactor/load-dashboard branch October 29, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(load): shrink the unified Grafana dashboard

1 participant