Skip to content

feat: add time till full dashboard#4166

Merged
cgrinds merged 3 commits intomainfrom
cbg-ttf
Feb 27, 2026
Merged

feat: add time till full dashboard#4166
cgrinds merged 3 commits intomainfrom
cbg-ttf

Conversation

@cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Feb 26, 2026

Fixes: #4163
Thanks to @erikgruetter and @ReBaunana for reporting!

Copilot AI review requested due to automatic review settings February 26, 2026 20:41
@cla-bot cla-bot bot added the cla-signed label Feb 26, 2026
Copy link
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

This PR adds a new "Time Till Full" dashboard that provides capacity forecasting for ONTAP storage resources by predicting days until volumes, aggregates, and clusters reach full capacity. The feature leverages VictoriaMetrics' linear regression ttf() function to analyze historical usage trends, directly addressing the feature request in issue #4163.

Changes:

  • Added new timetillfull.json Grafana dashboard with panels for cluster, volume, and aggregate capacity forecasting
  • Enabled Cluster object collection in REST default configuration and added required API permission
  • Updated test configuration to support the new dashboard's special legend and metric unit requirements

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
grafana/dashboards/cmode/timetillfull.json New dashboard providing time-to-full predictions for clusters, volumes, and aggregates with time-series graphs and ranked tables
conf/rest/default.yaml Enables Cluster object collection in REST collector configuration
conf/rest/9.10.0/cluster.yaml Defines cluster metrics collection including space_available used for predictions
docs/prepare-cdot-clusters.md Adds required API permission for /api/storage/cluster endpoint
cmd/tools/grafana/dashboard_test.go Adds test exceptions for new dashboard panels and metric unit combinations

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

},
"timezone": "",
"title": "ONTAP: Time Till Full",
"uid": "57niG0dvk",
Copy link
Contributor

Choose a reason for hiding this comment

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

uid should be custom one.

Copilot AI review requested due to automatic review settings February 27, 2026 12:43
Copy link
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 5 out of 5 changed files in this pull request and generated 6 comments.


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

@cgrinds cgrinds merged commit f553e32 into main Feb 27, 2026
14 checks passed
@cgrinds cgrinds deleted the cbg-ttf branch February 27, 2026 14:19
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.

Prediction of aggregate/volume/cluster days until full

3 participants