Skip to content

Commit

Permalink
Merge pull request #364 from gouthamve/add-another-tier
Browse files Browse the repository at this point in the history
Create another tier with 300K active series
  • Loading branch information
gouthamve authored Jul 28, 2021
2 parents da183ef + 8bea915 commit 8c2d6c0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* [ENHANCEMENT] Added `CortexMemcachedRequestErrors` alert. #346
* [ENHANCEMENT] Ruler dashboard: added "Per route p99 latency" panel in the "Configuration API" row. #353
* [ENHANCEMENT] Increased the `for` duration of the `CortexIngesterReachingSeriesLimit` warning alert to 3h. #362
* [ENHANCEMENT] Added a new tier (`medium_small_user`) so we have another tier between 100K and 1Mil active series. #364
* [BUGFIX] Fixed `CortexIngesterHasNotShippedBlocks` alert false positive in case an ingester instance had ingested samples in the past, then no traffic was received for a long period and then it started receiving samples again. #308
* [BUGFIX] Alertmanager: fixed `--alertmanager.cluster.peers` CLI flag passed to alertmanager when HA is enabled. #329
* [BUGFIX] Fixed `CortexInconsistentRuntimeConfig` metric. #335
Expand Down
19 changes: 19 additions & 0 deletions cortex/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,25 @@
ruler_max_rule_groups_per_tenant: 20,
},

medium_small_user:: {
max_series_per_user: 0, // Disabled in favour of the max global limit
max_series_per_metric: 0, // Disabled in favour of the max global limit

// Our limit should be 100k, but we need some room of about ~50% to take rollouts into account
max_global_series_per_user: 300000,
max_global_series_per_metric: 30000,

max_series_per_query: 100000,
max_samples_per_query: 1000000,

ingestion_rate: 30000,
ingestion_burst_size: 300000,

// 375 rules
ruler_max_rules_per_rule_group: 15,
ruler_max_rule_groups_per_tenant: 25,
},

small_user:: {
max_series_per_metric: 0, // Disabled in favour of the max global limit
max_series_per_user: 0, // Disabled in favour of the max global limit
Expand Down

0 comments on commit 8c2d6c0

Please sign in to comment.