File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
3
## master / unreleased
4
+ * [ CHANGE] Add default max series for ingesters
5
+ * [ CHANGE] Add default max inflight pushes for distributors
4
6
* [ CHANGE] Remove mem-ballast from distributor and querier.
5
7
* [ CHANGE] Increase cpu requests for querier to 2.
6
8
* [ CHANGE] Configure default GOMAXPROCS and GOMEMLIMIT for all cortex modules
Original file line number Diff line number Diff line change 395
395
ingester_stream_chunks_when_using_blocks: true ,
396
396
397
397
// Ingester limits are put directly into runtime config, if not null. Available limits:
398
- // ingester_instance_limits: {
399
- // max_inflight_push_requests: 0, // Max inflight push requests per ingester. 0 = no limit.
400
- // max_ingestion_rate: 0, // Max ingestion rate (samples/second) per ingester. 0 = no limit.
401
- // max_series: 0, // Max number of series per ingester. 0 = no limit.
402
- // max_tenants: 0, // Max number of tenants per ingester. 0 = no limit.
403
- // },
404
- ingester_instance_limits: null ,
398
+ ingester_instance_limits: {
399
+ // max_inflight_push_requests: , // Max inflight push requests per ingester. 0 = no limit.
400
+ // max_ingestion_rate: 0, // Max ingestion rate (samples/second) per ingester. 0 = no limit.
401
+ max_series: 4.8e+6 , // Max number of series per ingester. 0 = no limit. 4.8 million is closely tied to 15Gb in requests per ingester
402
+ // max_tenants: 0, // Max number of tenants per ingester. 0 = no limit.
403
+ },
405
404
},
406
405
407
406
local configMap = $.core.v1.configMap,
Original file line number Diff line number Diff line change 31
31
// Do not extend the replication set on unhealthy (or LEAVING) ingester when "unregister on shutdown"
32
32
// is set to false.
33
33
'distributor.extend-writes' : $._config.unregister_ingesters_on_shutdown,
34
+ 'distributor.instance-limits.max-inflight-push-requests' : 60 , //60 is very conservative to protect the distributor from OOMs
34
35
},
35
36
36
37
distributor_env_map:: {
You can’t perform that action at this time.
0 commit comments