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

Disallow using __tenantt_id__ label if source_tenants has less than 2 tenants #85

Open
FUSAKLA opened this issue Jul 24, 2024 · 0 comments

Comments

@FUSAKLA
Copy link
Owner

FUSAKLA commented Jul 24, 2024

The __tenant_id__ is added to federated queries only if there are more than 2 tenants in the X-Scope-OrgID HTTP header

This happens only if the rule group source_tenants is set to more than one distinct tenants.

If not, you should not use the __tenant_id__ label in the queries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant