global: scrape_interval: 15s evaluation_interval: 15s rule_files: - /etc/prometheus/alerts.yml scrape_configs: # App metrics arrive by remote write (push, mTLS). Only the Collector self-metrics (plain, internal) and Prometheus itself (TLS) are scraped. - job_name: otel-collector static_configs: - targets: ["otel-collector:8888"] - job_name: prometheus scheme: https tls_config: {ca_file: /pki/ca.crt, cert_file: /pki/tls.crt, key_file: /pki/tls.key, server_name: prometheus} static_configs: - targets: ["prometheus:9090"]