Mimir multi tenant query

I’m currently evaluating Grafana Mimir in a multi-tenancy setup. We would like to be able to have our administrators query all tenants.

I know this is possible by setting tenant_federation.enabled = true in Mimir and setting X-Scope-OrgID header on the datasource in grafana to include all tenants.

I’ve tried using ‘*’ and ‘’ as values to query all tenants but that doesn’t seem possible? Is it possible?

Yes, it’s possible to query multiple tenants in Grafana Mimir by setting the X-Scope-OrgID header to a pipe-separated list of tenant IDs, like:

X-Scope-OrgID: tenant_idA|tenant_idB|tenant_idC
This allows you to pull data from multiple tenants using the same data source in Grafana. However, for this to work, you must first enable tenant federation in Mimir by setting: