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

utils prometheusmetrics: convert gauges to counters #3093

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

dshehbaj
Copy link
Member

@dshehbaj dshehbaj commented Oct 28, 2024

What type of PR is this?

Bug Fix

Which issue does this PR fix?:

#3031

What does this PR do / Why do we need it?:
Bug fix

Testing done on this change:

Added unit tests confirming the behavior of the counters.

Will this PR introduce any new dependencies?:

No

Will this break upgrades or downgrades? Has updating a running cluster been tested?:
No

Does this change require updates to the CNI daemonset config files to work?:

No

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dshehbaj dshehbaj force-pushed the shehbaj/addipcnt-gauge-bug branch from 193aec9 to 5d14bce Compare October 28, 2024 21:00
@dshehbaj dshehbaj changed the title utils prometheusmetrics: switch AddIPCnt to be a counter utils prometheusmetrics: convert gauges to counters Oct 28, 2024
@dshehbaj dshehbaj force-pushed the shehbaj/addipcnt-gauge-bug branch 2 times, most recently from e7db380 to f447ce6 Compare October 28, 2024 21:12
@dshehbaj dshehbaj marked this pull request as ready for review October 29, 2024 16:44
@dshehbaj dshehbaj requested a review from a team as a code owner October 29, 2024 16:44
pkg/ipamd/ipamd.go Outdated Show resolved Hide resolved
@dshehbaj dshehbaj force-pushed the shehbaj/addipcnt-gauge-bug branch from f447ce6 to 8d6eee5 Compare October 29, 2024 18:13
@dshehbaj dshehbaj requested a review from jaydeokar October 29, 2024 18:57
Copy link
Contributor

@jaydeokar jaydeokar 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
Member

@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

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

LGTM

@orsenthil orsenthil merged commit d57c443 into aws:master Oct 31, 2024
6 checks passed
@dshehbaj dshehbaj deleted the shehbaj/addipcnt-gauge-bug branch November 14, 2024 01:58
ROunofF pushed a commit to ROunofF/amazon-vpc-cni-k8s that referenced this pull request Nov 22, 2024
orsenthil added a commit that referenced this pull request Dec 10, 2024
orsenthil added a commit that referenced this pull request Dec 10, 2024
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