diff --git a/content/posts/commits/2026-06-06-commit-1bca4d9.md b/content/posts/commits/2026-06-06-commit-1bca4d9.md new file mode 100644 index 0000000..255002d --- /dev/null +++ b/content/posts/commits/2026-06-06-commit-1bca4d9.md @@ -0,0 +1,41 @@ +--- +title: "[bojemoi] feat(monitoring): alertes WgGatewayDown et NymProxyDown → Telegram" +date: 2026-06-06T17:02:22+02:00 +draft: false +tags: ["commit", "bojemoi", "main"] +categories: ["Git Activity"] +summary: "Commit 1bca4d9 par Betty dans bojemoi" +author: "Betty" +--- + +## Commit `1bca4d9` + +| | | +|---|---| +| **Repository** | bojemoi | +| **Branch** | `main` | +| **Author** | Betty | +| **Hash** | `1bca4d9600ef214d06e4267104107e66d960d9cd` | + + +### Description + +- swarm-exporter: expose swarm_service_desired/running_replicas par service +- Alertes WgGatewayDown et NymProxyDown: fired si desired>0 et running=0 +- Routage via component=infrastructure → telegram-infra (existant) +- Les alertes ne se déclenchent PAS quand les services sont à 0/0 (OFF normal) + +### Files Changed + +``` +M volumes/monitoring/swarm-exporter.py +M volumes/prometheus/rules/alerts.yml +``` + +### Diff Summary + +``` + volumes/monitoring/swarm-exporter.py | 33 ++++++++++++++++++++++++++++++++- + volumes/prometheus/rules/alerts.yml | 26 ++++++++++++++++++++++++++ + 2 files changed, 58 insertions(+), 1 deletion(-) +```