-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Ruler not working with BoltDB Shipper #3076
Comments
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Using Ruler with 2.1.0 with BoltDB Shipper does not work either |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
I face the same problem. Is there any more information required to track down this issue? |
Wanted to chime in that my team is facing this exact issue as well. |
I am also facing a similar issue however in my case the ruler doesn't crash but it doesn't work as well. I see following in the loki logs.
I am using Docker container to spin-up Loki along with Grafana, Promtail, etc. My config uses BoltDB shipper backed by AWS S3 as storage. A detailed explanation of my issue has been posted on StackOverflow post. |
Hey, I think there are two issues here. The second one is due to misconfiguration of the directory structure. Loki expects a
The first issue is fixed in v2.2.0+ now that we've merged #3008 |
If we are using a default rule_path
I do not see any additional folder created in my s3 bucket for alerts. These are the mounts on the statefulsets where we can see
The ruler is not up according to the logs. This is the last log line wrt ruler Do I need to mentioned rule_path with the tenant_id as well? |
This is still not fixed. If you are using helm charts we can not use the tenant_id. |
I had the similar error message, this was my config file for some reason:
Well I thought config[0] didn't make any sense. By deleting that array item the server was able to start. So I would suggest to check whether the binary is sound by running |
Describe the bug
As detailed in the forum issue, Ruler cannot be v2.0.0 cannot be deployed out of the box when using boltdb-shipper backed by GCS storage.
The arguments for cache or index directory needs to be passed on and it requires this commit be made available so that the Ruler deployment does not attempt to write files.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ruler to start correctly
Environment:
Screenshots, Promtail config, or terminal output
The text was updated successfully, but these errors were encountered: