Files
EvoBGP/deploy/prometheus/alerts.yml
T
DenozordecandCursor 5bdb1f1f93
quality / changes (push) Successful in 7s
quality / commitlint (push) Skipped
quality / docker-check (push) Skipped
quality / openapi (push) Successful in 43s
quality / web (push) Successful in 1m20s
quality / go (push) Failing after 1m9s
quality / bird2 (push) Skipped
quality / postgres-integration (push) Failing after 2m29s
quality / legacy-compatibility (1.0.0) (push) Successful in 1m14s
quality / legacy-compatibility (2.56.2) (push) Successful in 1m34s
CD / quality (push) Failing after 8m40s
CD / publish (push) Skipped
ci(deploy): narrow image build and document pool settings
Примеры Compose задают пул соединений. Контекст сборки бинарника сужен, зеркало базовых образов обновляется явно, алерты Prometheus дополнены.

Co-authored-by: Cursor <[email protected]>
2026-11-02 17:24:25 +07:00

34 lines
1.7 KiB
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.
# Правила для Prometheus (профиль compose `reference`). Подключите Alertmanager при необходимости.
groups:
- name: evobgp-controlplane
rules:
- alert: EvoBGPMaterializedPrefixesZero
expr: evobgp_stored_revision_materialized_prefixes_max == 0 and evobgp_store_metrics_collection_success == 1
for: 2h
labels:
severity: warning
annotations:
summary: "В сторе control-plane нет ни одной ревизии с ненулевым materialized_prefix_count."
description: "Проверьте render/ingest и наличие ревизий."
- alert: EvoBGPStoreMetricsCollectionFailed
expr: evobgp_store_metrics_collection_success == 0
for: 5m
labels:
severity: warning
annotations:
summary: "Не удалось прочитать агрегаты хранилища для /metrics."
description: "Проверьте PostgreSQL и ошибки API; отсутствие агрегатов не означает нуль."
- alert: EvoBGPBirdEstablishedMissing
expr: |
evobgp_bird_protocols_scrape_success == 1
and evobgp_bgp_peers_configured_total > 0
and evobgp_bird_bgp_sessions_established == 0
for: 10m
labels:
severity: critical
annotations:
summary: "Настроены пиры в сторе, но birdc не видит Established BGP-сессий."
description: "Проверьте bird2, сеть (TCP/179), пароли и что EVOBGP_BIRDC_SOCKET доступен API-контейнеру."