Configure Grafana Loki per-tenant ingestion and stream rate limits

domain: grafana.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Set global defaults for ingestion_rate_mb and ingestion_burst_size_mb in the limits_config block to control when the rate_limited error is triggered.
  2. Set per_stream_rate_limit and per_stream_rate_limit_burst to bound how fast any single stream (a unique label combination) can push data before hitting the per_stream_rate_limit error.
  3. Set max_global_streams_per_user to raise or lower how many active streams a tenant can hold in ingester memory before hitting the stream_limit error.
  4. Override any of these per tenant in the runtime overrides file instead of editing the global limits_config.
  5. Monitor the loki_discarded_samples_total and loki_discarded_bytes_total metrics, broken out by the reason label, to see which specific limit is actually being hit in production.

Known gotchas

Related routes

Configure Grafana Mimir per-tenant ingestion limits using runtime configuration overrides
grafana.com · 5 steps · unrated
Control Grafana Loki stream cardinality by applying label best practices and configuring per-tenant stream limits
grafana.com/docs/loki · 6 steps · unrated
Enable Grafana Tempo multi-tenancy and configure per-tenant ingestion overrides
grafana.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans