From ced7dd7441dfd657faa6f30314691fe45e4a36ce Mon Sep 17 00:00:00 2001 From: Till JS Date: Sat, 28 Mar 2026 02:18:21 +0100 Subject: [PATCH] feat(monitoring): add mana-sync, mana-notify, mana-crawler to Prometheus Co-Authored-By: Claude Opus 4.6 (1M context) --- docker/prometheus/prometheus.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docker/prometheus/prometheus.yml b/docker/prometheus/prometheus.yml index 12a034247..9b884fc34 100644 --- a/docker/prometheus/prometheus.yml +++ b/docker/prometheus/prometheus.yml @@ -224,6 +224,27 @@ scrape_configs: metrics_path: '/metrics' scrape_interval: 30s + # Sync Server (Go) — local-first data sync + - job_name: 'mana-sync' + static_configs: + - targets: ['mana-core-sync:3051'] + metrics_path: '/metrics' + scrape_interval: 30s + + # Notification Service (Go) — email, push, matrix, webhook + - job_name: 'mana-notify' + static_configs: + - targets: ['mana-core-notify:3042'] + metrics_path: '/metrics' + scrape_interval: 30s + + # Crawler Service (Go) + - job_name: 'mana-crawler' + static_configs: + - targets: ['mana-crawler:3023'] + metrics_path: '/metrics' + scrape_interval: 30s + # ============================================ # Pushgateway (deploy metrics, batch jobs) # ============================================