-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Bloom gateway: Add metrics for store operations and chunk ref counts #11677
Conversation
There is still something wrong with the metric, as well as with the log line reporting the filtered/unfiltered chunks:
|
Fixed with e732ea3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks awesome. just one question
The test is still flaky |
I ran the test with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks brilliant 💎
Signed-off-by: Christian Haudum <[email protected]>
This commit adds counter metrics for chunk refs pre filtering and post filtering. These metrics can be used to calculate the filter-ratio of the bloom filters. Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
After chunks were successfully filtered, the bug was within the removal of the chunks from the original list. It only filtered out the chunks from the last partial response from the block querier. Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
8db007e
to
e144b42
Compare
…rafana#11677) For better observability of the bloom gateway, this PR adds two additional metrics that expose the amount of chunk refs pre and post filtering. This can be used to calculate the filter ratio of the gateways. The PR also adds a metric that observes the latency of the actual processing time of bloom filters within the worker. --------- Signed-off-by: Christian Haudum <[email protected]>
What this PR does / why we need it:
For better observability of the bloom gateway, this PR adds two additional metrics that expose the amount of chunk refs pre and post filtering. This can be used to calculate the filter ratio of the gateways.
Also, the
ForEach
operation on the bloom store is measured so that the latency of fetching/extracting the blocks can be observed.