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

Increment failure metric for Kubernetes API client #263

Merged

Conversation

dippynark
Copy link
Contributor

@dippynark dippynark commented Jun 19, 2024

The Kubernetes API client runner currently does not increment the metric client failure metric if there is a failure.

This PR fixes this to match with the Prometheus client:

metrics.MetricsClientFailTotal.Increment()

FYI I saw the KubernetesClientFailTotal metric, but I am assuming this should be reserved for listing PVCs etc. rather than for retrieving metrics

@dippynark dippynark requested a review from a team as a code owner June 19, 2024 12:15
Signed-off-by: Luke Addison <lukeaddison785@gmail.com>
@dippynark dippynark force-pushed the enable-kubernetes-api-client-metrics branch from 69f725b to 000b8eb Compare June 19, 2024 12:16
@satoru-takeuchi satoru-takeuchi merged commit 0723820 into topolvm:main Jun 20, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants