Loki Ruler Same Rule For Every Tenant

We’re running Loki in multi-tenant mode but have rules that we’d like to apply across all of our tenants. But when I review the docs it’s not clear that this is possible. From this file structure it seems like you have to specify a tenant. Referencing the example I linked to, I’ve tried adding rules at the root i.e. at /tmp/loki/rules/ as well as at /tmp/loki/rules/fake based on this. But neither of those have worked. I’m pretty sure the rule file is getting picked up because I see it in the logs. But I don’t see any logs triggering my rule.

I may just have something misconfigured, but before playing around with the config more, I thought I’d ask if this is even possible at all.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.