You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cortex-mixin/docs/playbooks.md
+7-14Lines changed: 7 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,29 +108,22 @@ How to **fix**:
108
108
1. Ensure shuffle-sharding is enabled in the Cortex cluster
109
109
1. Assuming shuffle-sharding is enabled, scaling up ingesters will lower the number of tenants per ingester. However, the effect of this change will be visible only after `-blocks-storage.tsdb.close-idle-tsdb-timeout` period so you may have to temporarily increase the limit
This alert fires when the `cortex_distributor_inflight_push_requests` per distributor instance limit is enabled and the actual number of inflight push requests is approaching the set limit. Once the limit is reached, push requests to the distributor will fail (5xx) for new requests, while existing inflight push requests will continue to succeed.
114
114
115
115
In case of **emergency**:
116
-
- If the actual number of inflight push requests is very close to or already at the set limit, then you can increase the limit via runtime config to gain some time
117
-
- Increasing the limit will increase the distributor' memory utilization. Please monitor the distributors' memory utilization via the `Cortex / Writes Resources` dashboard
116
+
- If the actual number of inflight push requests is very close to or already at the set limit, then you can increase the limit via CLI flag or config to gain some time
117
+
- Increasing the limit will increase the the number of inflight push requests which will increase distributors' memory utilization. Please monitor the distributors' memory utilization via the `Cortex / Writes Resources` dashboard
118
118
119
119
How the limit is **configured**:
120
-
- The limit can be configured either on CLI (`-distributor.instance-limits.max-inflight-push-requests`) or in the runtime config:
120
+
- The limit can be configured either by the CLI flag (`-distributor.instance-limits.max-inflight-push-requests`) or in the config:
121
121
```
122
-
distributor_instance_limits:
123
-
max_inflight_push_requests: <int>
124
-
```
125
-
- The mixin configures the limit in the runtime config and can be fine-tuned via:
126
-
```
127
-
_config+:: {
128
-
distributor_instance_limits+:: {
122
+
distributor:
123
+
instance_limits:
129
124
max_inflight_push_requests: <int>
130
-
}
131
-
}
132
125
```
133
-
- When configured in the runtime config, changes are applied live without requiring an distributor restart
126
+
- When configured the via the CLI flag or in the config these changes are applied with a distributor restart.
134
127
- The configured limit can be queried via `cortex_distributor_instance_limits{limit="max_inflight_push_requests"})`
0 commit comments