Compare commits

...

1 Commits

Author SHA1 Message Date
Vadim Rutkovsky
2edf1729d3 deployment/docker/rules: update RequestErrorsToAPI alert definition
The alert requires path, but it may be absent from the metrics. Ignore metrics without path set
2026-07-01 12:32:22 +02:00
3 changed files with 12 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ groups:
concurrency: 2 concurrency: 2
rules: rules:
- alert: RequestErrorsToAPI - alert: RequestErrorsToAPI
expr: increase(vm_http_request_errors_total[5m]) > 0 expr: increase(vm_http_request_errors_total{path=~".+"}[5m]) > 0
for: 15m for: 15m
labels: labels:
severity: warning severity: warning

View File

@@ -75,7 +75,7 @@ groups:
Consider to limit the ingestion rate, decrease retention or scale the disk space if possible." Consider to limit the ingestion rate, decrease retention or scale the disk space if possible."
- alert: RequestErrorsToAPI - alert: RequestErrorsToAPI
expr: increase(vm_http_request_errors_total[5m]) > 0 expr: increase(vm_http_request_errors_total{path=~".+"}[5m]) > 0
for: 15m for: 15m
labels: labels:
severity: warning severity: warning

View File

@@ -75,7 +75,7 @@ groups:
Consider to limit the ingestion rate, decrease retention or scale the disk space if possible." Consider to limit the ingestion rate, decrease retention or scale the disk space if possible."
- alert: RequestErrorsToAPI - alert: RequestErrorsToAPI
expr: increase(vm_http_request_errors_total[5m]) > 0 expr: increase(vm_http_request_errors_total{path=~".+"}[5m]) > 0
for: 15m for: 15m
labels: labels:
severity: warning severity: warning