Skip to content

One Bad Recording Rule crash all Multi Tenant Recording Rules #17212

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

Open
yoyoraso opened this issue Apr 14, 2025 · 0 comments
Open

One Bad Recording Rule crash all Multi Tenant Recording Rules #17212

yoyoraso opened this issue Apr 14, 2025 · 0 comments
Labels
type/bug Somehing is not working as expected

Comments

@yoyoraso
Copy link

Describe the bug
I have Multi tenant recording_rules and incase of any rule has a issue I see that ruler stop them all
To Reproduce
Steps to reproduce the behavior:

  1. create two recording_rule one for each tenant (tenant1,tenant2)
  2. I created to config maps and mounted them to the ruler pod using helm chart extra mount volume.
  3. first rule is under /etc/loki/rules/tenant1 second one is under /etc/loki/rules/tenant2
  4. test if both working fine if yes try to make one of them faulty
  5. now you will find that ruler is not able to evaluate both and keeps telling you [failed to list rule groups for user (name of the tenant with the faulty rule)]Expected behavior
    at least only this tenant rules stop working not all of them

Environment:

  • Kubernetes
  • helm

Screenshots, Promtail config, or terminal output

Image

@JStickler JStickler added the type/bug Somehing is not working as expected label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Somehing is not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants