Files
grafana-terraform/environments/dev/adibrov/alerts/gitea/gitea_down.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
524 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: "DEV ADIBROV - Gitea Down"
expression: |
gitea_build_info{job="gitea"}
threshold: 1
for: "2m"
condition_type: "lt"
need_reduce: true
reducer_type: "min"
no_data_state: "Alerting"
exec_err_state: "Alerting"
labels:
service: "gitea"
severity: "critical"
team: "infra"
summary: |
Gitea недоступна на {{ $labels.instance }}
description: |
Метрики Gitea не поступают с {{ $labels.instance }}.
Сервис Gitea либо упал, либо недоступен scrape endpoint.