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

Fix root_search_requests_total metric #5654

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

guilload
Copy link
Member

@guilload guilload commented Jan 28, 2025

Description

The root_search_requests_total metric is not emitted because the search client is bypassed when searchers are hit directly, which most users do.

I moved the leaf_search_requests_total to SearchServiceImpl for the metric to appear consistently server-side.

How was this PR tested?

Ran locally and checked metric in Grafana

@guilload guilload requested a review from rdettai January 28, 2025 00:40
@guilload guilload force-pushed the guilload/fix-root/leaf-search-metrics branch from 82ca426 to c5f6717 Compare January 28, 2025 14:06
@guilload guilload merged commit a18e288 into main Jan 28, 2025
8 checks passed
@guilload guilload deleted the guilload/fix-root/leaf-search-metrics branch January 28, 2025 14:23
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.

1 participant