Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update limits_config to new structure from #948 #1278

Merged
merged 3 commits into from
Nov 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 9 additions & 24 deletions docs/configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,23 +663,11 @@ The `limits_config` block configures global and per-tenant limits for ingesting
logs in Loki.

```yaml
# Per-user ingestion rate limit in samples per second.
[ingestion_rate: <float> | default = 25000]
# Per-user ingestion rate limit in samples per second. Units in MB.
rfratto marked this conversation as resolved.
Show resolved Hide resolved
[ingestion_rate_mb: <float> | default = 4]

# Per-user allowed ingestion burst size (in number of samples).
[ingestion_burst_size: <int> | default = 50000]

# Whether or not, for all users, samples with external labels
# identifying replicas in an HA Prometheus setup will be handled.
[accept_ha_samples: <boolean> | default = false]

# Prometheus label to look for in samples to identify a
# Prometheus HA cluster.
[ha_cluster_label: <string> | default = "cluster"]

# Prometheus label to look for in samples to identify a Prometheus HA
# replica.
[ha_replica_label: <string> | default = "__replica__"]
# Per-user allowed ingestion burst size (in number of samples). Units in MB.
rfratto marked this conversation as resolved.
Show resolved Hide resolved
[ingestion_burst_size_mb: <int> | default = 6]

# Maximum length of a label name.
[max_label_name_length: <int> | default = 1024]
Expand All @@ -703,14 +691,8 @@ logs in Loki.
# Enforce every sample has a metric name.
[enforce_metric_name: <boolean> | default = true]

# Maximum number of samples that a query can return.
[max_samples_per_query: <int> | default = 1000000]

# Maximum number of active series per user.
[max_series_per_user: <int> | default = 5000000]

# Maximum number of active series per metric name.
[max_series_per_metric: <int> | default = 50000]
# Maximum number of active streams per user.
[max_streams_per_user: <int> | default = 10e3]

# Maximum number of chunks that can be fetched by a single query.
[max_chunks_per_query: <int> | default = 2000000]
Expand All @@ -725,6 +707,9 @@ logs in Loki.
# Cardinality limit for index queries
[cardinality_limit: <int> | default = 100000]

# Maximum number of stream matchers per query.
[max_streams_matchers_per_query: <int> | default = 1000]

# Filename of per-user overrides file
[per_tenant_override_config: <string>]

Expand Down