Repository navigation
feat: Observability of object store queries - #116
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The cross-searcher retry metric also counts same-searcher retries, making its reported outcomes inaccurate for its stated purpose.
1 open issue
What changed in this PR
This PR improves object-store and search observability by identifying request targets, preserving error causes, and tracking split retry outcomes.
Changes:
- Add bucket or container labels to object-store request counters and duration metrics.
- Preserve error-chain messages in storage and search conversions, with regression tests.
- Add split retry counters labeled by outcome and tests for outcome accounting.
| File | Description |
|---|---|
| quickwit/quickwit-storage/src/opendal_storage/base.rs | Pass operator names to request metrics. |
| quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs | Label S3 request metrics with bucket names. |
| quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs | Label Azure request metrics with container names. |
| quickwit/quickwit-storage/src/metrics.rs | Add bucket labels to request metric definitions. |
| quickwit/quickwit-storage/src/metrics_wrappers.rs | Carry bucket labels through metric wrappers and helpers. |
| quickwit/quickwit-storage/src/error.rs | Preserve storage error causes and test formatting. |
| quickwit/quickwit-search/src/metrics.rs | Define split retry outcome counters. |
| quickwit/quickwit-search/src/error.rs | Preserve search error causes and test formatting. |
| quickwit/quickwit-search/src/cluster_client.rs | Record split retry outcomes and test accounting. |
Review effort: Balanced
rdettai-sk
approved these changes
Oct 23, 2026
Collaborator
|
do we need a metric with the number of retries at the s3 level ( |
Collaborator
Author
I will add it |
Signed-off-by: Darkheir <raphael.cohen@sekoia.io>
A retry goes back to the same searcher when it is the only one available. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Darkheir <raphael.cohen@sekoia.io>
Darkheir
force-pushed
the
feat/storage-search-observability
branch
from
October 23, 2026 13:05
c42c689 to
29e2999
Compare
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.

Description
object_storage_requests_*metricsHow was this PR tested?
Describe how you tested this PR.