Skip to content

Add latency charts to Magma dashboard - #150

Open
rohansuri wants to merge 2 commits into
couchbaselabs:masterfrom
rohansuri:master
Open

Add latency charts to Magma dashboard#150
rohansuri wants to merge 2 commits into
couchbaselabs:masterfrom
rohansuri:master

Conversation

@rohansuri

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 24, 2026 13:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds latency and OS allocation-stall monitoring to the Magma node/bucket dashboard.

Changes:

  • Adds GET and SET p50–p99.9 latency charts.
  • Adds an OS allocation-stall rate panel.
  • Introduces Latency and OS dashboard sections.
Suppressed comments (1)

dashboards/magma-nodebucket.json:1789

  • This OS section has the same layout bug: using panel.json and overriding type leaves the row with w: 12/h: 12, and the dashboard generator lays it out using those panel dimensions. As a result, the OS row is not a full-width section divider. Use the row template (_base: "row") here as well.
      "_base": "panel",

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread dashboards/magma-nodebucket.json Outdated
]
},
{
"_base": "panel",
The row entries in magma-nodebucket.json were built from panel.json and
only overrode "type", so merge_meta_into_template left gridPos at the
panel template's {w: 12, h: 12} rather than the row template's
{w: 24, h: 1}. make_dashboard lays panels out using that grid position,
so each section divider was packed as a half-width, 12-unit-tall block
beside the preceding panel, which also pushed the first panel of every
section to x=12.

Build them from the row template instead. "type" is dropped as row.json
already sets it, matching how kv-cluster.json declares rows.

All six rows now lay out at x=0 w=24 h=1, no panel is left off the
two-column grid, and the dashboard is 19 grid units shorter.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

2 participants