deployment/alerts: make RemoteWriteConnectionIsSaturated expr readable

Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 685f9c3c98)
This commit is contained in:
hagen1778 2023-10-24 09:31:57 +02:00
parent eb00a575c2
commit 361a3dcc0c
No known key found for this signature in database
GPG Key ID: 3BF75F3741CA9640

View File

@ -64,8 +64,11 @@ groups:
- alert: RemoteWriteConnectionIsSaturated
expr: |
sum(rate(vmagent_remotewrite_send_duration_seconds_total[5m])) by(job, instance, url)
> 0.9 * max(vmagent_remotewrite_queues) by(job, instance, url)
(
sum(rate(vmagent_remotewrite_send_duration_seconds_total[5m])) by(job, instance, url)
/
max(vmagent_remotewrite_queues) by(job, instance, url)
) > 0.9
for: 15m
labels:
severity: warning