Hi community,
I’m setting up the Pyroscope datasource in Grafana with multi-tenancy enabled, and I’ve run into a confusing behavior.
Here’s what I’ve done:
In Pyroscope, I enabled multi-tenancy by setting the following in the pyroscope.yml config file:
multitenancy_enabled: true
I added the Pyroscope datasource in the Grafana UI.
My goal is to configure Pyroscope monitoring per organization, using tenant-based separation.
The issue:
Even after enabling multi-tenancy, Grafana is still able to connect to the Pyroscope datasource without sending the tenant header (e.g., no X-Scope-OrgID is set).
I expected that, with multi-tenancy enabled, Pyroscope would reject any requests that don’t include a valid tenant header. But that doesn’t seem to be happening—it connects successfully even without the Org ID.
If this issue is faced by someone can help me to fix this