Skip to content

Add default tenant shard sizes #31

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

Merged
merged 1 commit into from
Jul 31, 2023
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
@@ -1,6 +1,7 @@
# Changelog

## master / unreleased
* [CHANGE] Add default tenant shard sizes
* [CHANGE] Use cortex v1.15.3
* [CHANGE] Azure storage endpoint suffix is set to `blob.core.windows.net` for backward compatibility

Expand Down
14 changes: 14 additions & 0 deletions cortex/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@

// No retention for now.
compactor_blocks_retention_period: '0',

ingestion_tenant_shard_size: 3,
},

medium_small_user:: {
Expand All @@ -277,6 +279,8 @@
// 1000 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 50,

ingestion_tenant_shard_size: 9,
},

small_user:: {
Expand All @@ -294,6 +298,8 @@
// 1400 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 70,

ingestion_tenant_shard_size: 15,
},

medium_user:: {
Expand All @@ -311,6 +317,8 @@
// 1800 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 90,

ingestion_tenant_shard_size: 30,
},

big_user:: {
Expand All @@ -328,6 +336,8 @@
// 2200 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 110,

ingestion_tenant_shard_size: 60,
},

super_user:: {
Expand All @@ -345,6 +355,8 @@
// 2600 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 130,

ingestion_tenant_shard_size: 120,
},

// This user class has limits increased by +50% compared to the previous one.
Expand All @@ -363,6 +375,8 @@
// 3000 rules
ruler_max_rules_per_rule_group: 20,
ruler_max_rule_groups_per_tenant: 150,

ingestion_tenant_shard_size: 180,
},
},

Expand Down