Repository navigation
Add scroll endpoints to metrics whitelist - #4812
Merged
Merged
Conversation
Member
|
hey @qdegraaf Please rebase to dev branch |
generall
approved these changes
Aug 2, 2024
generall
pushed a commit
that referenced
this pull request
Aug 9, 2024
avanish-garg
added a commit
to avanish-garg/qdrant
that referenced
this pull request
Oct 6, 2026
DeleteVectors, CreateFieldIndex, DeleteFieldIndex, SearchMatrixPairs, and SearchMatrixOffsets each already have a whitelisted REST endpoint in REST_ENDPOINT_WHITELIST, but were missing from the gRPC whitelist, so grpc_responses_total/latency metrics were silently absent for these operations while rest_responses_total had them. Same drift pattern and fix shape as qdrant#4812 (scroll endpoints).
9 tasks done
timvisee
added a commit
that referenced
this pull request
Nov 26, 2026
* [AI] fix: sync GRPC_ENDPOINT_WHITELIST with its REST metrics sibling DeleteVectors, CreateFieldIndex, DeleteFieldIndex, SearchMatrixPairs, and SearchMatrixOffsets each already have a whitelisted REST endpoint in REST_ENDPOINT_WHITELIST, but were missing from the gRPC whitelist, so grpc_responses_total/latency metrics were silently absent for these operations while rest_responses_total had them. Same drift pattern and fix shape as #4812 (scroll endpoints). * fix: whitelist REST delete-field-index endpoint in metrics DELETE /collections/{collection_name}/index/{field_name} is recorded under its own route pattern, which was missing from REST_ENDPOINT_WHITELIST, so rest_responses_total never reported field index deletions. The existing /index entry only matches the PUT create route. Extend the sibling test to check both whitelists for each gRPC/REST pair. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test: remove obsolete whitelist sibling test The test only re-asserted a hardcoded list of entries; sortedness is already covered by test_endpoint_whitelists_sorted. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Tim Visee <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
scrollendpoint toGRPC_ENDPOINT_WHITELISTandREST_ENDPOINT_WHITELIST.This is my first PR on
qdrant, let me know if I am missing any steps.To check whether additional configuration or edits were required for adding metrics endpoints I had a look at some previous PRs that expanded the whitelists ( such as: #4497 ) but found no specific implementation, so I'm presuming expansion is as straightforward as this PR. Will post further thoughts in related issue.
Relates to: #4805
All Submissions:
devbranch. Did you create your branch fromdev?New Feature Submissions:
cargo +nightly fmt --allcommand prior to submission?cargo clippy --all --all-featurescommand?