Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit ebb4d08

Browse files
committed
Added playbook for CortexProvisioningTooManyWrites
Signed-off-by: Marco Pracucci <marco@pracucci.com>
1 parent 90a7809 commit ebb4d08

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

cortex-mixin/docs/playbooks.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,14 @@ _TODO: this playbook has not been written yet._
440440

441441
### CortexProvisioningTooManyWrites
442442

443-
_TODO: this playbook has not been written yet._
443+
This alert fires if the average number of samples ingested / sec in ingesters is above our target.
444+
445+
How to **fix**:
446+
- Scale up ingesters
447+
- To compute the desired number of ingesters to satisfy the average samples rate you can run the following query, replacing `<namespace>` with the namespace to analyse and `<target>` with the target number of samples/sec per ingester (check out the alert threshold to see the current target):
448+
```
449+
sum(rate(cortex_ingester_ingested_samples_total{namespace="<namespace>"}[$__rate_interval])) / (<target> * 0.9)
450+
```
444451
445452
### CortexAllocatingTooMuchMemory
446453

0 commit comments

Comments
 (0)