global: scrape_interval: 15s evaluation_interval: 15s # Alertmanager integration. alerting: alertmanagers: - static_configs: - targets: ["alertmanager:9093"] timeout: 10s # Load alert and recording rules. rule_files: - "/etc/prometheus/rules.yml" scrape_configs: - job_name: "veylant-proxy" static_configs: - targets: ["proxy:8090"] metrics_path: "/metrics" - job_name: "veylant-pii" static_configs: - targets: ["pii:8091"] metrics_path: "/metrics" - job_name: "alertmanager" static_configs: - targets: ["alertmanager:9093"] # TLS certificate expiry probe (requires blackbox-exporter in production). - job_name: "veylant-proxy-tls" metrics_path: /probe params: module: [http_2xx] static_configs: - targets: - "https://api.veylant.ai/healthz" relabel_configs: - source_labels: [__address__] target_label: __param_target - source_labels: [__param_target] target_label: instance - target_label: __address__ replacement: blackbox-exporter:9115