Skip to content

monitoring: Add subvolume dashboard - #66802

Merged
aaSharma14 merged 3 commits into
ceph:mainfrom
cloudbehl:Subvolume-dashboard
Feb 26, 2026
Merged

aaSharma14 merged 3 commits into
ceph:mainfrom
cloudbehl:Subvolume-dashboard

Conversation

@cloudbehl

@cloudbehl cloudbehl commented Jan 6, 2026 •

Copy link
Copy Markdown
Contributor
  • Add IO, Throughput and Latency
  • Added Capacity(used & Quota)
image

Fixes: https://tracker.ceph.com/issues/74323

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@Pegonzal Pegonzal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey @cloudbehl, I think we are missing to commit here the .libsonnet file and attach the reference to the dashboards.libsonnet so this can be autogenerated.

My SMB grafana dashboard panels PR for reference of what I commited

"refId": "B"
}
],
"title": "IOPS graph",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
"title": "IOPS graph",
"title": "IOPS",

Just a nitpick: I think "graph" is reduntant, one can see this is a graph, I'm fine keeping this as well but let's decide on wether "Graph" or "graph" as both are being used

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think it conflicts with the tests, if we give the same naming. That is the reason for changing it

"exemplar": false,
"expr": "ceph_mds_subvolume_metrics_avg_write_tp_Bps{cluster=\"$cluster\",fs_name=\"$filesystem\", subvolume_path=\"$subvolume\"}",
"hide": false,
"instant": true,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be since it's a timeseries graph

Suggested change
"instant": true,
"instant": false,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes it should be, ideally in case of graph it doesn't hold much value only in case of single state panel, it does. But to be on safer side, I will make the change.

"editorMode": "code",
"exemplar": false,
"expr": "ceph_mds_subvolume_metrics_avg_read_lat_msec{cluster=\"$cluster\",fs_name=\"$filesystem\", subvolume_path=\"$subvolume\"}",
"instant": true,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be since it's a timeseries graph

Suggested change
"instant": true,
"instant": false,

"exemplar": false,
"expr": "ceph_mds_subvolume_metrics_avg_write_lat_msec{cluster=\"$cluster\",fs_name=\"$filesystem\", subvolume_path=\"$subvolume\"}",
"hide": false,
"instant": true,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be since it's a timeseries graph

Suggested change
"instant": true,
"instant": false,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed it.

Comment on lines +25 to +27
"datasource": {
"type": "prometheus",
"uid": "P43CA22E17D0F9596"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Regarding datasources: shouldn't they be generic instead of specifying the uid and have them as

"datasource": "${datasource}",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed it, there were few other issues that I saw, fixed all of them. Thanks for pointing out.

@cloudbehl

Copy link
Copy Markdown
Contributor Author

I think we are missing to commit here the .libsonnet file and attach the reference to the dashboards.libsonnet so this can be autogenerated.

I think all the .libsonet needs to be migrated to jsonnet files, libsonet is depricated. It would just be additional effort to add the libsonet at htis moment.

@cloudbehl

Copy link
Copy Markdown
Contributor Author

Capacity changes are dependent on this PR: #66551

@cloudbehl
cloudbehl force-pushed the Subvolume-dashboard branch from ce84386 to c117463 Compare February 9, 2026 07:48
@cloudbehl

cloudbehl commented Feb 23, 2026 •

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

1 similar comment
@cloudbehl

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@aaSharma14
aaSharma14 force-pushed the Subvolume-dashboard branch 2 times, most recently from 10d360d to 69c82e7 Compare February 24, 2026 11:43
@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

9 similar comments
@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

@cloudbehl

Copy link
Copy Markdown
Contributor Author

jenkins test docs

@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test docs

@aaSharma14

Copy link
Copy Markdown
Contributor

jenkins test make check

@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Feb 26, 2026
@aaSharma14
aaSharma14 merged commit f91c68a into ceph:main Feb 26, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Feb 26, 2026
@cloudbehl
cloudbehl deleted the Subvolume-dashboard branch March 2, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants