Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(controller): add missing workqueue metrics (#16315) (cherry-pick #17013) #17209

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

gcp-cherry-pick-bot[bot]
Copy link

Cherry-picked fix(controller): add missing workqueue metrics (#16315) (#17013)

  • fix(controller): add missing kubernetes metrics

Signed-off-by: Alexandre Gaudreault alexandre.gaudreault@logmein.com

  • validate workqueue metrics are present

Signed-off-by: Alexandre Gaudreault alexandre.gaudreault@logmein.com

  • use newer metrics registry

Signed-off-by: Alexandre Gaudreault alexandre.gaudreault@logmein.com

  • fix duplicated

Signed-off-by: Alexandre Gaudreault alexandre.gaudreault@logmein.com

  • init runtime controller in test to have correct metrics

Signed-off-by: Alexandre Gaudreault alexandre.gaudreault@logmein.com

  • fix lint error

Signed-off-by: Alexandre Gaudreault alexandre_gaudreault@intuit.com

  • update controller-runtime to remove metrics with high cardinality

Signed-off-by: Alexandre Gaudreault alexandre_gaudreault@intuit.com


Signed-off-by: Alexandre Gaudreault alexandre.gaudreault@logmein.com
Signed-off-by: Alexandre Gaudreault alexandre_gaudreault@intuit.com

* fix(controller): add missing kubernetes metrics

Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>

* validate workqueue metrics are present

Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>

* use newer metrics registry

Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>

* fix duplicated

Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>

* init runtime controller in test to have correct metrics

Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>

* fix lint error

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>

* update controller-runtime to remove metrics with high cardinality

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>

---------

Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
@gcp-cherry-pick-bot gcp-cherry-pick-bot bot requested a review from a team as a code owner February 14, 2024 16:51
Copy link
Collaborator

@leoluz leoluz left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2268f08) 49.71% compared to head (f745706) 49.73%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-2.10   #17209      +/-   ##
================================================
+ Coverage         49.71%   49.73%   +0.01%     
================================================
  Files               272      271       -1     
  Lines             47964    47948      -16     
================================================
- Hits              23847    23845       -2     
+ Misses            21767    21753      -14     
  Partials           2350     2350              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@crenshaw-dev crenshaw-dev merged commit 65461a1 into release-2.10 Feb 14, 2024
18 of 23 checks passed
@crenshaw-dev crenshaw-dev deleted the cherry-pick-1cbc64-release-2.10 branch February 14, 2024 17:36
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.

None yet

4 participants