Skip to content

feat: license dashboard#4170

Merged
rahulguptajss merged 3 commits intomainfrom
rg2-license
Mar 2, 2026
Merged

feat: license dashboard#4170
rahulguptajss merged 3 commits intomainfrom
rg2-license

Conversation

@rahulguptajss
Copy link
Contributor

No description provided.

@rahulguptajss rahulguptajss requested a review from cgrinds as a code owner March 2, 2026 09:46
Copilot AI review requested due to automatic review settings March 2, 2026 09:46
@rahulguptajss rahulguptajss requested a review from Hardikl as a code owner March 2, 2026 09:46
@cla-bot cla-bot bot added the cla-signed label Mar 2, 2026
@rahulguptajss rahulguptajss linked an issue Mar 2, 2026 that may be closed by this pull request
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

Adds ONTAP license collection and a Grafana dashboard to surface license details via the REST collector.

Changes:

  • Introduce a new REST License object template and corresponding REST plugin to emit license_* metrics.
  • Add a new Grafana dashboard (ONTAP: License) based on the new metrics.
  • Update generated metric metadata/docs and integration validation lists to include the new counters.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
mcp/metadata/ontap_metrics.json Adds descriptions for new license_* metrics in MCP metadata.
integration/test/dashboard_json_test.go Adds new license counters to the REST-only exclusion list for ZAPI validation.
grafana/dashboards/cmode/license.json New Grafana dashboard for license visibility (table-based).
docs/storagegrid-metrics.md Updates generated “Creation Date”.
docs/ontap-metrics.md Updates generated “Creation Date”, adds links and new metric sections for license_*.
docs/eseries-metrics.md Updates generated “Creation Date”.
docs/cisco-switch-metrics.md Updates generated “Creation Date” and adds missing visualization reference for cisco_interface_up.
conf/rest/default.yaml Registers the License REST object template.
conf/rest/9.12.0/license.yaml New REST template for api/cluster/licensing/licenses + plugin hook.
cmd/tools/generate/counter.yaml Adds new counters so docs/metadata generation includes license_*.
cmd/collectors/rest/rest.go Wires in the new REST plugin module (License).
cmd/collectors/rest/plugins/license/license.go New REST plugin that splits per-owner license info and derives capacity and expiry metrics.

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

Copilot AI review requested due to automatic review settings March 2, 2026 13:17
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 12 out of 12 changed files in this pull request and generated no new comments.


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

@rahulguptajss rahulguptajss merged commit 0ad2362 into main Mar 2, 2026
14 checks passed
@rahulguptajss rahulguptajss deleted the rg2-license branch March 2, 2026 14:03
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.

License dashboard and data pulled into harvest

4 participants