Skip to content

feat: add top users to volume dashboard#4154

Merged
cgrinds merged 6 commits into
mainfrom
rg2-user
Feb 20, 2026
Merged

feat: add top users to volume dashboard#4154
cgrinds merged 6 commits into
mainfrom
rg2-user

Conversation

@rahulguptajss
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 20, 2026 08:07
@cla-bot cla-bot Bot added the cla-signed label Feb 20, 2026
@rahulguptajss rahulguptajss linked an issue Feb 20, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds “Top users” visibility to the volume dashboard by introducing new Grafana panels and extending the RESTPerf VolumeTopClients plugin to collect/export per-volume top-user metrics.

Changes:

  • Add a new collapsed “Users” row to the volume Grafana dashboard with panels for top users by read/write IOPs and throughput.
  • Extend volumetopmetrics (RESTPerf) to fetch/process/export volume_top_users_* metrics and add unit tests + fixtures.
  • Update example configuration comments to include the optional user object type.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
grafana/dashboards/cmode/volume.json Adds “Users” row + panels querying volume_top_users_* metrics.
conf/restperf/9.12.0/volume.yaml Documents user as an optional objects entry for the top-metrics plugin.
conf/keyperf/9.15.0/volume.yaml Same documentation update for KeyPerf volume template.
conf/keyperf/9.11.1/volume.yaml Same documentation update for KeyPerf volume template.
conf/keyperf/9.10.0/volume.yaml Same documentation update for KeyPerf volume template.
cmd/collectors/restperf/plugins/volumetopmetrics/volumetopmetrics.go Implements fetching/processing/exporting top-user metrics and enablement flag.
cmd/collectors/restperf/plugins/volumetopmetrics/volumetopmetrics_test.go Adds tests for processing top-user metrics.
cmd/collectors/restperf/plugins/volumetopmetrics/testdata/user_readops.json New fixture for top-user read IOPs.
cmd/collectors/restperf/plugins/volumetopmetrics/testdata/user_writeops.json New fixture for top-user write IOPs.
cmd/collectors/restperf/plugins/volumetopmetrics/testdata/user_readdata.json New fixture for top-user read throughput.
cmd/collectors/restperf/plugins/volumetopmetrics/testdata/user_writedata.json New fixture for top-user write throughput.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread conf/restperf/9.12.0/volume.yaml Outdated
Copilot AI review requested due to automatic review settings February 20, 2026 08:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 10 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/tools/generate/counter.yaml Outdated
Comment thread docs/ontap-metrics.md Outdated
Comment thread docs/ontap-metrics.md Outdated
Comment thread docs/ontap-metrics.md Outdated
Comment thread docs/ontap-metrics.md Outdated
Comment thread conf/keyperf/9.15.0/volume.yaml Outdated
Comment thread cmd/tools/generate/counter.yaml Outdated
Comment thread cmd/tools/generate/counter.yaml Outdated
Comment thread cmd/tools/generate/counter.yaml Outdated
Comment thread cmd/tools/generate/counter.yaml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/ontap-metrics.md Outdated
| API | Endpoint | Metric | Template |
|--------|----------|--------|---------|
| RestPerf | `api/storage/volumes/*/top-metrics/clients` | `throughput.write`<br><span class="key">Unit:</span> <br><span class="key">Type:</span> <br><span class="key">Base:</span> | conf/restperf/9.12.0/volume.yaml |
| KeyPerf | `api/storage/volumes/*/top-metrics/files` | `throughput.write`<br><span class="key">Unit:</span> <br><span class="key">Type:</span> <br><span class="key">Base:</span> | conf/keyperf/9.15.0/volume.yaml |
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

The endpoint for volume_top_clients_write_data is incorrect. It currently shows "api/storage/volumes//top-metrics/files" but should be "api/storage/volumes//top-metrics/clients" since this metric is for top clients, not top files. This is a pre-existing bug but should be fixed since this file is being modified.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

@Hardikl Hardikl left a comment

Choose a reason for hiding this comment

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

Looks good.

@cgrinds cgrinds merged commit 196b52a into main Feb 20, 2026
10 checks passed
@cgrinds cgrinds deleted the rg2-user branch February 20, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FSA - Top User Metrics

4 participants