deployment/alerts: make RemoteWriteConnectionIsSaturated expr readable

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2023-10-24 09:31:57 +02:00
parent 3e0236b4a3
commit 685f9c3c98
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