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

Make sure we don't send zero value metrics to Prometheus in verbs #284

Merged

Conversation

josephschorr
Copy link
Contributor

The inc function rejects these with an exception

Fixes https://issues.redhat.com/browse/PROJQUAY-456

Copy link
Contributor

@jzelinskie jzelinskie left a comment

Choose a reason for hiding this comment

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

LGTM. I hadn't considered this being possible when verb metrics were added.

@josephschorr
Copy link
Contributor Author

@jzelinskie It shouldn't be, but there appears to be a bug somewhere in ACI generation that can lead to empty images. Since ACI is deprecated, I'd rather just patch this and wait for us to remove ACI.

Copy link
Contributor

@thomasmckay thomasmckay left a comment

Choose a reason for hiding this comment

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

LGTM

@josephschorr josephschorr merged commit 258a7dc into quay:master Mar 26, 2020
@josephschorr josephschorr deleted the joseph.schorr/PROJQUAY-456/verbs-prom branch March 26, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants