STA-AI / monitoring /prometheus.yml
saemstunes's picture
Update monitoring/prometheus.yml
780d2f2 verified
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
- "alerts.yml"
scrape_configs:
- job_name: 'saems-tunes-ai'
static_configs:
- targets: ['localhost:8001', 'localhost:8002', 'localhost:8003']
metrics_path: /metrics
scrape_interval: 10s
scrape_timeout: 5s
- job_name: 'saems-tunes-api'
static_configs:
- targets: ['localhost:3000']
metrics_path: /metrics
scrape_interval: 15s
- job_name: 'node-exporter'
static_configs:
- targets: ['localhost:9100']
scrape_interval: 30s
- job_name: 'supabase-metrics'
static_configs:
- targets: ['localhost:9187']
scrape_interval: 30s
alerting:
alertmanagers:
- static_configs:
- targets: ['localhost:9093']
remote_write:
- url: http://localhost:9090/api/v1/write
remote_timeout: 30s
queue_config:
capacity: 2500
max_shards: 200
min_shards: 1
max_samples_per_send: 500
batch_send_deadline: 5s
min_backoff: 30ms
max_backoff: 100ms
remote_read:
- url: http://localhost:9090/api/v1/read
remote_timeout: 1m