Skip to content

Added capacity information to the output.#270

Merged
nichollri merged 4 commits intomainfrom
add_capacity
Mar 2, 2026
Merged

Added capacity information to the output.#270
nichollri merged 4 commits intomainfrom
add_capacity

Conversation

@kcantrel
Copy link
Collaborator

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copy link

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 pull request adds CloudWatch-based capacity information (storage size and used space) to two AWS FSx ONTAP management utility scripts. The changes allow users to optionally view volume and filesystem capacity metrics alongside existing metadata.

Changes:

  • Added -x option to both scripts to display capacity information from CloudWatch metrics
  • Updated help text and documentation to describe new capacity fields
  • Added volume name pattern filtering capability to list_fsxn_volumes
  • Implemented CloudWatch API integration to fetch StorageUsed metrics

Reviewed changes

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

File Description
list_fsxn_volumes Added -x option for volume capacity info, volume pattern filtering, CloudWatch integration for volume usage metrics, and updated output formatting
list_fsxn_filesystems Added CloudWatch integration to fetch and display filesystem capacity and used space when -x option is used

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

@kcantrel kcantrel requested a review from nichollri February 26, 2026 23:38
Copy link
Collaborator

@nichollri nichollri left a comment

Choose a reason for hiding this comment

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

one tiny typo

@kcantrel kcantrel requested a review from nichollri February 27, 2026 22:08
Copy link
Collaborator

@nichollri nichollri 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.

@nichollri nichollri merged commit 707e9bc into main Mar 2, 2026
12 checks passed
@nichollri nichollri deleted the add_capacity branch March 2, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants