mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:01:09 +02:00
feat(monitoring): add mana-sync, mana-notify, mana-crawler to Prometheus
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d7799ec95d
commit
ced7dd7441
1 changed files with 21 additions and 0 deletions
|
|
@ -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)
|
||||
# ============================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue