infra/monitoring/prometheus/prometheus.yml
2026-03-28 13:22:12 -04:00

34 lines
776 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
# --- VM1: MYSTIC-CLOUD (Local) ---
- job_name: 'cloud-node'
static_configs:
- targets: ['node-exporter:9100']
- job_name: 'cloud-docker'
static_configs:
- targets: ['cadvisor:8080']
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
# --- VM3: MYSTIC-DATABASES (Remote via Tailscale) ---
- job_name: 'vm3-node'
static_configs:
- targets: ['100.109.59.41:9100']
- job_name: 'vm3-docker'
static_configs:
- targets: ['100.109.59.41:8080']
- job_name: 'vm3-postgres'
static_configs:
- targets: ['100.109.59.41:9187']
- job_name: 'vm3-mongo'
static_configs:
- targets: ['100.109.59.41:9216']