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

Skip metric update if no values are defined in configuration #126

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

Arnoways
Copy link

@Arnoways Arnoways commented Jun 7, 2024

With the recent addition of histograms to measure query times, we might have no interest in defining values for our queries.
Even with allow_zero_rows set to true, we still end up with errors within the logs.
This PR corrects minor typos and adds a condition that will skip the updateMetrics if q.values is empty

@dewey dewey merged commit 0001728 into justwatchcom:master Jul 11, 2024
@dewey
Copy link
Member

dewey commented Jul 11, 2024

Thank you, this looks good!

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.

2 participants