Loki Multi-Tenancy

Loki is a multi-tenant system; requests and data for tenant A are isolated fromtenant B. Requests to the Loki API should include an HTTP header(X-Scope-OrgID) that identifies the tenant for the request.

Tenant IDs can be any alphanumeric string that fits within the Go HTTP headerlimit (1MB). Operators are recommended to use a reasonable limit for uniquelyidentifying tenants; 20 bytes is usually enough.

To run in multi-tenant mode, Loki should be started with auth_enabled: true.

Loki can be run in “single-tenant” mode where the X-Scope-OrgID header is notrequired. In single-tenant mode, the tenant ID defaults to fake.