global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: # --- VM1: MYSTIC-CLOUD (Local) --- - job_name: 'cloud-node' static_configs: - targets: ['node-exporter:9100'] labels: infrastructure: 'cloud' type: 'control-plane' task: 'exporter' - job_name: 'cloud-docker' static_configs: - targets: ['cadvisor:8080'] labels: infrastructure: 'cloud' type: 'control-plane' task: 'monitoring' - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] labels: infrastructure: 'cloud' type: 'control-plane' task: 'monitoring' # --- VM3: MYSTIC-DATABASES (Tailscale) --- - job_name: 'vm3-node' static_configs: - targets: ['100.109.59.41:9100'] labels: infrastructure: 'cloud' type: 'database' task: 'exporter' - job_name: 'vm3-docker' static_configs: - targets: ['100.109.59.41:8080'] labels: infrastructure: 'cloud' type: 'database' task: 'monitoring' - job_name: 'vm3-postgres' static_configs: - targets: ['100.109.59.41:9187'] labels: infrastructure: 'cloud' type: 'database' task: 'database' - job_name: 'vm3-mongo' static_configs: - targets: ['100.109.59.41:9216'] labels: infrastructure: 'cloud' type: 'database' task: 'database' - job_name: 'vm3-redis' static_configs: - targets: ['100.109.59.41:9121'] labels: infrastructure: 'cloud' type: 'database' task: 'database' app: 'redis' # --- VM2: Mystic-Git (Tailscale) --- - job_name: 'vm2-node' static_configs: - targets: ['100.98.158.31:9100'] labels: infrastructure: 'cloud' type: 'git' task: 'exporter' - job_name: 'vm2-docker' static_configs: - targets: ['100.98.158.31:8080'] labels: infrastructure: 'cloud' type: 'git' task: 'monitoring' - job_name: 'vm2-forgejo' metrics_path: '/metrics' authorization: credentials: "mystic_metrics_token" static_configs: - targets: ['100.98.158.31:3000'] labels: infrastructure: 'cloud' type: 'git' task: 'app' # --- VM4: Mystic-Passwords (Tailscale) --- - job_name: 'vm4-node' static_configs: - targets: ['100.120.171.124:9100'] labels: infrastructure: 'cloud' type: 'passwords' task: 'exporter' - job_name: 'vm4-docker' static_configs: - targets: ['100.120.171.124:8080'] labels: infrastructure: 'cloud' type: 'passwords' task: 'monitoring' - job_name: 'vm4-vaultwarden' static_configs: - targets: ['100.120.171.124:3040'] # --- VM5: NEW NODE (35.192.210.155) --- - job_name: 'vm5-dns' static_configs: - targets: ['100.64.238.34:9100'] labels: infrastructure: 'cloud' type: 'worker' task: 'exporter' - job_name: 'vm5-docker' static_configs: - targets: ['100.64.238.34:8080'] labels: infrastructure: 'cloud' type: 'worker' task: 'monitoring' - job_name: 'vm5-pihole' static_configs: - targets: ['100.64.238.34:9617'] labels: infrastructure: 'cloud' type: 'worker' task: 'dns' app: 'pihole'