Skip to content

Commit 7c9f9f2

Browse files
authored
Merge pull request #1780 from pracucci/improve-global-max-series-limit-doc
Improve doc for max series per user/metric global limit
2 parents 492cc3b + e72466e commit 7c9f9f2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [FEATURE] Global limit on the max series per user and metric #1760
1010
* `-ingester.max-global-series-per-user`
1111
* `-ingester.max-global-series-per-metric`
12+
* Requires `-distributor.replication-factor` and `-distributor.shard-by-all-labels` set for the ingesters too
1213
* [FEATURE] Flush chunks with stale markers early with `ingester.max-stale-chunk-idle`. #1759
1314
* [FEATURE] EXPERIMENTAL: Added new KV Store backend based on memberlist library. Components can gossip about tokens and ingester states, instead of using Consul or Etcd. #1721
1415
* [FEATURE] Allow Query Frontend to log slow queries with `frontend.log-queries-longer-than`. #1744

docs/arguments.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,13 @@ Valid fields are (with their corresponding flags for default values):
314314

315315
An active series is a series to which a sample has been written in the last `-ingester.max-chunk-idle` duration, which defaults to 5 minutes.
316316

317+
- `max_global_series_per_user` / `-ingester.max-global-series-per-user`
318+
- `max_global_series_per_metric` / `-ingester.max-global-series-per-metric`
319+
320+
Like `max_series_per_user` and `max_series_per_metric`, but the limit is enforced across the cluster. Each ingester is configured with a local limit based on the replication factor, the `-distributor.shard-by-all-labels` setting and the current number of healthy ingesters, and is kept updated whenever the number of ingesters change.
321+
322+
Requires `-distributor.replication-factor` and `-distributor.shard-by-all-labels` set for the ingesters too.
323+
317324
- `max_series_per_query` / `-ingester.max-series-per-query`
318325
- `max_samples_per_query` / `-ingester.max-samples-per-query`
319326

0 commit comments

Comments
 (0)