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

Various bloom gateway instrumentation changes #11983

Merged
merged 8 commits into from
Feb 19, 2024
Merged

Various bloom gateway instrumentation changes #11983

merged 8 commits into from
Feb 19, 2024

Conversation

chaudum
Copy link
Contributor

@chaudum chaudum commented Feb 19, 2024

What this PR does / why we need it:

See individual commit messages for details.

@chaudum chaudum requested a review from a team as a code owner February 19, 2024 08:03
default:
level.Debug(logger).Log("msg", "accept partial result", "fp_int", uint64(res.Fp), "fp_hex", res.Fp, "chunks_to_remove", res.Removals.Len())
task.responses = append(task.responses, res)
g.metrics.chunkRemovals.WithLabelValues("accepted").Add(float64(res.Removals.Len()))
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think the meaning of dropped or accepted is intuitive for the operators. Maybe we can add what they mean in the metric help? Or chose different label values?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does this description make sense to you? 0431acd

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, that makes perfect sense now? :) Thank you!

@chaudum chaudum enabled auto-merge (squash) February 19, 2024 08:59
@chaudum chaudum merged commit 9f86473 into main Feb 19, 2024
8 checks passed
@chaudum chaudum deleted the chaudum/varia branch February 19, 2024 09:04
rhnasc pushed a commit to inloco/loki that referenced this pull request Apr 12, 2024
See individual commit messages for details.

* Improve help text for chunk removals metric
* End counter metric with _total
* Fix incorrect observation of failed tasks
* Observe chunk removals from block querier
* Move chunks/series metrics into bloom querier
* Observe total/filtered series and total/filtered chunks in bloom gateway

Signed-off-by: Christian Haudum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants