Conversation
Fixes: #4163 Thanks to @erikgruetter and @ReBaunana for reporting!
There was a problem hiding this comment.
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.
Fixes: #4163 Thanks to @erikgruetter and @ReBaunana for reporting!
| }, | ||
| "timezone": "", | ||
| "title": "ONTAP: Time Till Full", | ||
| "uid": "57niG0dvk", |
There was a problem hiding this comment.
uid should be custom one.
Fixes: #4163 Thanks to @erikgruetter and @ReBaunana for reporting!
There was a problem hiding this comment.
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.
Fixes: #4163
Thanks to @erikgruetter and @ReBaunana for reporting!