Skip to main content
With --tenants-dir, each tenant has its own store in its own folder. No query sees the spans of another tenant. To delete a tenant, stop the server and delete its folder. The tenant of a request comes from its API key. Make keys for two tenants:
The app of acme sends one agent run. scripts/send-trace.sh makes a run with three spans:
acme’s dashboard sees it. globex has no store yet (404). The app key cannot read (403):
  • A tenant id is 1 to 64 characters of a-z, 0-9, _ and -. Lower case only.
  • A tenant’s store is made at its first write, opens at its first request, and closes after --tenant-idle-secs (300) with no request. At most --max-open-tenants (100) stores are open at once (Memory and threads).
  • --auth trusted-header is the other way: the server trusts the header x-magpie-tenant. Use it only behind a proxy or a Collector that checks the caller and sets the header.
  • One mask policy, one price table and one retention for all tenants in this version.
  • Not with --s3 (Limits).
--auth trusted-header trusts the x-magpie-tenant header. Use it only behind a proxy that authenticates the caller.