Skip to content

Removed the quota monitor which was not emitting a metric and in rare…#4663

Merged
mociarain merged 1 commit intomasterfrom
hlipsig/ARO-25071-remove-faulty-quota-monitor
Mar 10, 2026
Merged

Removed the quota monitor which was not emitting a metric and in rare…#4663
mociarain merged 1 commit intomasterfrom
hlipsig/ARO-25071-remove-faulty-quota-monitor

Conversation

@hlipsig
Copy link
Collaborator

@hlipsig hlipsig commented Mar 6, 2026

… cases panicked

Which issue this PR addresses:

Fixes ARO-25071 and INT-00070
Fixes

What this PR does / why we need it:

Monic panic clued us in to the fact that this didn't emit a metric properly. For now we've decided to deprecate this and we'll reassess what the intent was as it wasn't in use for operations.

Test plan for issue:

Green e2e and monitor tests.

Is there any documentation that needs to be updated for this PR?

We were not using the metrics so no documentation updates.

How do you know this will function as expected in production?

Logs will clear of panics.

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

Removes the cluster quota monitor/collector that was not reliably emitting a metric and could panic in rare cases, reducing monitor noise and eliminating the observed panic path.

Changes:

  • Delete the quota failure detection collector implementation and its associated metric constant/helpers.
  • Remove the quota collector from the default Monitor collectors list.
  • Remove the unit test coverage specific to the deleted quota monitor logic.

Reviewed changes

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

File Description
pkg/monitor/cluster/quota.go Removes quota failure detection logic and metric emission.
pkg/monitor/cluster/quota_test.go Removes tests for the deleted quota monitor behavior.
pkg/monitor/cluster/cluster.go Drops the quota collector from the monitor’s collectors list.

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

@mociarain mociarain merged commit 30c25d4 into master Mar 10, 2026
34 checks passed
@mociarain mociarain deleted the hlipsig/ARO-25071-remove-faulty-quota-monitor branch March 10, 2026 11:12
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.

5 participants