scrape_configs: - job_name: hass scrape_interval: 60s metrics_path: /api/prometheus authorization: credentials: '' static_configs: - targets: ['192.168.2.70:8123'] - job_name: mqtt scrape_interval: 30s metrics_path: /metrics static_configs: - targets: ['192.168.2.123:9344']