Files
grafana-terraform/environments/dev/adibrov/alerts/nginx/nginx_high_connections.yaml
Alexandr 5af763ebb1
Some checks failed
terraform-dev / validate (push) Successful in 6s
terraform-dev / plan (push) Failing after 11s
terraform-dev / apply (push) Has been skipped
feat: add postgres/gitea/blackbox alerts and more node alerts
2026-04-03 11:34:08 +03:00

20 lines
622 B
YAML

name: "DEV ADIBROV - Nginx High Active Connections"
expression: |
nginx_connections_active{job="nginx"}
threshold: 500
for: "5m"
condition_type: "gt"
need_reduce: true
reducer_type: "max"
no_data_state: "OK"
exec_err_state: "Error"
labels:
service: "nginx"
severity: "warning"
team: "infra"
summary: |
Много активных соединений nginx: {{ $values.B.Value }} на {{ $labels.instance }}
description: |
Количество активных соединений nginx на {{ $labels.instance }} превышает 500.
Возможна высокая нагрузка или атака.