feat: enhance evobgp with new command-line tools for bundle management, including pull, verify, and apply functionalities. Update go.mod to include necessary dependencies and complete todos in architecture plan for improved observability and deployment practices.
CI / changes (push) Successful in 4s
CI / go (push) Failing after 6s
CI / bird2 (push) Has been skipped
CI / openapi (push) Has been skipped

This commit is contained in:
Denozordec
2026-04-05 14:07:45 +07:00
parent 272542b92a
commit bf52b21150
131 changed files with 9222 additions and 17 deletions
+24
View File
@@ -0,0 +1,24 @@
# Правила для Prometheus (профиль compose `reference`). Подключите Alertmanager при необходимости.
groups:
- name: evobgp-controlplane
rules:
- alert: EvoBGPMaterializedPrefixesZero
expr: evobgp_materialized_prefixes_max == 0
for: 2h
labels:
severity: warning
annotations:
summary: "В сторе control-plane нет ни одной ревизии с ненулевым materialized_prefix_count."
description: "Проверьте render/ingest и наличие ревизий."
- 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-контейнеру."
+12
View File
@@ -0,0 +1,12 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
- /etc/prometheus/alerts.yml
scrape_configs:
- job_name: evobgp-api
metrics_path: /metrics
static_configs:
- targets: ["evobgp-api:8080"]