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

Update rule limits to be inline with customer expectations #396

Merged
merged 1 commit into from
Sep 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* [CHANGE] Decreased `-server.grpc-max-concurrent-streams` from 100k to 10k. #369
* [CHANGE] Decreased blocks storage ingesters graceful termination period from 80m to 20m. #369
* [CHANGE] Changed default `job_names` for query-frontend, query-scheduler and querier to match custom deployments too. #376
* [CHANGE] Increase the rules per group and rule groups limits on different tiers. #396
* [ENHANCEMENT] Add overrides config to compactor. This allows setting retention configs per user. #386
* [ENHANCEMENT] cortex-mixin: Make `cluster_namespace_deployment:kube_pod_container_resource_requests_{cpu_cores,memory_bytes}:sum` backwards compatible with `kube-state-metrics` v2.0.0. #317
* [ENHANCEMENT] Cortex-mixin: Include `cortex-gw-internal` naming variation in default `gateway` job names. #328
Expand Down
42 changes: 21 additions & 21 deletions cortex/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,9 @@
ingestion_rate: 10000,
ingestion_burst_size: 200000,

// 300 rules
ruler_max_rules_per_rule_group: 15,
ruler_max_rule_groups_per_tenant: 20,
// 700 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 35,

// No retention for now.
compactor_blocks_retention_period: '0',
Expand All @@ -374,9 +374,9 @@
ingestion_rate: 30000,
ingestion_burst_size: 300000,

// 375 rules
ruler_max_rules_per_rule_group: 15,
ruler_max_rule_groups_per_tenant: 25,
// 1000 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 50,
},

small_user:: {
Expand All @@ -392,9 +392,9 @@
ingestion_rate: 100000,
ingestion_burst_size: 1000000,

// 450 rules
ruler_max_rules_per_rule_group: 15,
ruler_max_rule_groups_per_tenant: 30,
// 1400 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 70,
},

medium_user:: {
Expand All @@ -410,9 +410,9 @@
ingestion_rate: 350000, // 350K
ingestion_burst_size: 3500000, // 3.5M

// 600 rules
ruler_max_rules_per_rule_group: 15,
ruler_max_rule_groups_per_tenant: 40,
// 1800 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 90,
},

big_user:: {
Expand All @@ -428,9 +428,9 @@
ingestion_rate: 700000, // 700K
ingestion_burst_size: 7000000, // 7M

// 750 rules
ruler_max_rules_per_rule_group: 15,
ruler_max_rule_groups_per_tenant: 50,
// 2200 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 110,
},

super_user:: {
Expand All @@ -446,9 +446,9 @@
ingestion_rate: 1500000, // 1.5M
ingestion_burst_size: 15000000, // 15M

// 900 rules
ruler_max_rules_per_rule_group: 15,
ruler_max_rule_groups_per_tenant: 60,
// 2600 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 130,
},

// This user class has limits increased by +50% compared to the previous one.
Expand All @@ -465,9 +465,9 @@
ingestion_rate: 2250000, // 2.25M
ingestion_burst_size: 22500000, // 22.5M

// 1050 rules
ruler_max_rules_per_rule_group: 15,
ruler_max_rule_groups_per_tenant: 70,
// 3000 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 150,
},
},

Expand Down