-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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-builder: "panic: duplicate metrics collector registration attempted" #14083
Comments
I am able to reproduce this state now. Loki built from |
Thank you for working to reproduce the issue! |
Hi, same issue on Helm loki@6.16.0 |
getting this panic now on the latest |
on k237:
|
@vladst3f Could you post your Loki config.yaml? What |
@chaudum, it's a SSD deployment, and it panics on the backend pods.
|
hi @chaudum - were you able to reproduce ? I can try some things out if you think this might be a configuration issue. |
The bloom gateway client is used both in the bloom builder and in the index gateways. When running Loki in SSD mode, both services are part of the `backend` target, and therefore the client is initialised twice, leading to duplicate metrics registration and a subsequent panic. This commit extracts the initialisation of the bloom gateway client into a separate service that is started once and becomes a dependency of both bloom builder and index gateway. Ref: #14083 Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
cheers @chaudum, much appreciated |
Describe the bug
Trying to use the new
bloom-builder
andbloom-planner
components introduced by @chaudum in #14003 - but even after we create the/var/loki
volume (see #14082), we are running into the builder crashing on startup with this error:The text was updated successfully, but these errors were encountered: