mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 00:16:23 +01:00
bf1464fc33
Signed-off-by: f41gh7 <nik@victoriametrics.com>
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
(cherry picked from commit 14b9ef1e4d
)
28 lines
1.3 KiB
YAML
28 lines
1.3 KiB
YAML
# File contains default list of alerts for vmauth service.
|
|
# The alerts below are just recommendations and may require some updates
|
|
# and threshold calibration according to every specific setup.
|
|
groups:
|
|
- name: vmauth
|
|
interval: 30s
|
|
rules:
|
|
- alert: ConcurrentRequestsLimitReached
|
|
expr: sum(increase(vmauth_concurrent_requests_limit_reached_total[1m])) by (instance) > 0
|
|
for: 3m
|
|
labels:
|
|
severity: warning
|
|
annotations:
|
|
summary: "vmauth ({{ $labels.instance }}) reached concurrent requests limit"
|
|
description: "Possible solutions: increase the limit with flag: -maxConcurrentRequests,
|
|
deploy additional vmauth replicas, check requests latency at backend service.
|
|
See more details at https://docs.victoriametrics.com/vmauth/#concurrency-limiting"
|
|
- alert: UserConcurrentRequestsLimitReached
|
|
expr: sum(increase(vmauth_user_concurrent_requests_limit_reached_total[1m])) by (username) > 0
|
|
for: 3m
|
|
labels:
|
|
severity: warning
|
|
annotations:
|
|
summary: "vmauth has reached concurrent requests limit for username {{ $labels.username }}"
|
|
description: "Possible solutions: increase limit with flag: -maxConcurrentPerUserRequests,
|
|
deploy additional vmauth replicas, check requests latency at backend service."
|
|
|