feat(observability): Add additional metric panels to grafana dashboard#1778
feat(observability): Add additional metric panels to grafana dashboard#1778houseme merged 17 commits intorustfs:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds additional Grafana dashboard panels to improve RustFS observability (capacity, bucket/object counts, disks, I/O, and resource usage), building on the initial dashboard introduced in PR #1770.
Changes:
- Expands the “Overview” section with new stat panels (uptime, requests, buckets/objects, capacity, etc.).
- Adds new dashboard sections/panels for buckets, disks, and I/O performance, plus new template variables (bucket/drive).
- Adjusts dashboard settings (refresh interval, timepicker refresh options, panel layout).
|
Hello @evanofslack , Copilot provides some suggestions. |
|
@loverustfs addressed comments and pushed changes to fix 👍 |
Thank you. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: evan slack <51209817+evanofslack@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: evan slack <51209817+evanofslack@users.noreply.github.com>
| "id": "byRegexp", | ||
| "options": "/.*/Percent" | ||
| }, | ||
| "properties": [ | ||
| { | ||
| "id": "custom.axisPlacement", | ||
| "value": "right" | ||
| }, | ||
| { | ||
| "id": "unit", | ||
| "value": "percentunit" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "matcher": { |
There was a problem hiding this comment.
In Node Disk Usage overrides, the byRegexp matcher uses /.*/Percent, but the series legend is {{drive}} (percent) (lowercase) and Grafana regex matchers typically shouldn’t include leading/trailing /. This override likely never matches; either adjust the regex to match the actual series name or remove it and rely on the byFrameRefID: B override.
| "id": "byRegexp", | |
| "options": "/.*/Percent" | |
| }, | |
| "properties": [ | |
| { | |
| "id": "custom.axisPlacement", | |
| "value": "right" | |
| }, | |
| { | |
| "id": "unit", | |
| "value": "percentunit" | |
| } | |
| ] | |
| }, | |
| { | |
| "matcher": { |
Type of Change
Related Issues
Follow up to PR #1770
Summary of Changes
Add additional panels to grafana dashboard. Adds panels for multiple metrics, object counts, bucket count, disk capacity, io, etc.
Checklist
make pre-commitImpact