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

SOLR-14401: Add back in missing metric and fix graphana dashboard #770

Merged
merged 2 commits into from Mar 28, 2022

Conversation

HoustonPutman
Copy link
Contributor

https://issues.apache.org/jira/browse/SOLR-14401

This adds back a metric that was removed in the previous PR (solr_metrics_core_query_local_count) but renames it to follow the common pattern used elsewhere (solr_metrics_core_query_requests_total).

I have also fixed the three uses of _local that persisted in the graphana dashboard.

This fixes the broken prometheus-exporter docker tests.

Copy link
Contributor

@janhoy janhoy left a comment

Choose a reason for hiding this comment

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

Race condition with #771, and now I understand why I could not find an equivalent metric for the test in my other commit - it was missing :) I missed this PR earlier today so went ahead with my own fix. Should have waited for your review on that PR. While it won't matter much which of the two we use for the test, feel free to use your "new" one.

Not tested the Grafana change but looks right.

@HoustonPutman HoustonPutman merged commit 96650fb into apache:main Mar 28, 2022
@HoustonPutman HoustonPutman deleted the fix-broken-metrics branch March 28, 2022 21:26
HoustonPutman added a commit that referenced this pull request Mar 28, 2022
HoustonPutman added a commit that referenced this pull request Mar 28, 2022
@HoustonPutman
Copy link
Contributor Author

No worries, thanks for taking a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants