global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: # Prometheus itself - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] # Docker Swarm services (basic) - job_name: 'docker-swarm-services' static_configs: - targets: - '192.168.50.229:9090' # Prometheus - '192.168.50.229:3000' # Grafana - '192.168.50.229:6379' # Redis - '192.168.50.229:5432' # PostgreSQL - '192.168.50.229:3306' # MariaDB - '192.168.50.229:1883' # Mosquitto scrape_interval: 30s # Infrastructure nodes - job_name: 'infrastructure-nodes' static_configs: - targets: - '192.168.50.229:22' # OMV800 - '192.168.50.254:22' # Surface - '192.168.50.181:22' # jonathan-2518f5u - '192.168.50.66:22' # lenovo420 - '192.168.50.145:22' # audrey - '192.168.50.225:22' # fedora scrape_interval: 60s # Application services - job_name: 'application-services' static_configs: - targets: - '192.168.50.229:8081' # Nextcloud - '192.168.50.229:8000' # Paperless-NGX - '192.168.50.229:3000' # Paperless-AI - '192.168.50.181:8123' # Home Assistant - '192.168.50.181:9000' # Portainer - '192.168.50.181:5678' # n8n - '192.168.50.66:9080' # AppFlowy - '192.168.50.254:80' # Caddy scrape_interval: 30s