feat(ci): add Telegram notifications and Grafana CI/CD dashboard

- Add notify-start job with Telegram notification for build start
- Add notify-complete job with build status and duration notification
- Push CI metrics to Prometheus Pushgateway for Grafana visualization
- Create CI/CD Grafana dashboard with build status, duration, and history
- Add Pushgateway scrape config to Prometheus

Requires TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID, and PUSHGATEWAY_URL secrets.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-26 10:31:17 +01:00
parent ebd0e53c9a
commit 618c58c519
3 changed files with 1100 additions and 0 deletions

View file

@ -90,3 +90,11 @@ scrape_configs:
- targets: ['contacts-backend:3015']
metrics_path: '/metrics'
scrape_interval: 30s
# ============================================
# CI/CD Metrics via Pushgateway
# ============================================
- job_name: 'pushgateway'
honor_labels: true
static_configs:
- targets: ['pushgateway:9091']