Skip to content

fix: license key handling#4178

Merged
rahulguptajss merged 1 commit intomainfrom
rg2-fix-license-keys
Mar 5, 2026
Merged

fix: license key handling#4178
rahulguptajss merged 1 commit intomainfrom
rg2-fix-license-keys

Conversation

@rahulguptajss
Copy link
Contributor

No description provided.

@rahulguptajss rahulguptajss requested a review from cgrinds as a code owner March 5, 2026 06:01
Copilot AI review requested due to automatic review settings March 5, 2026 06:01
@rahulguptajss rahulguptajss requested a review from Hardikl as a code owner March 5, 2026 06:01
@cla-bot cla-bot bot added the cla-signed label Mar 5, 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

Updates the ONTAP cDOT license collection/export and corresponding Grafana dashboard to treat serial_number as part of the license identity, preventing series collisions and improving table joins.

Changes:

  • Export serial_number as an instance_key for the REST license plugin (so it’s present on all license metric time series).
  • Update the cDOT license Grafana dashboard to include serial_number in the unique_id label join for license tables.

Reviewed changes

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

File Description
grafana/dashboards/cmode/license.json Includes serial_number in the unique_id label_join to correctly distinguish license rows in the table.
cmd/collectors/rest/plugins/license/license.go Moves serial_number into instance_keys so it is exported on all license metric series (not just the _labels pseudo-metric).

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

@rahulguptajss rahulguptajss merged commit fcd25da into main Mar 5, 2026
14 checks passed
@rahulguptajss rahulguptajss deleted the rg2-fix-license-keys branch March 5, 2026 09:33
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.

3 participants