global: scrape_interval: 3s evaluation_interval: 3s rule_files: - /etc/prometheus/rules.yaml scrape_configs: - job_name: messenger scheme: https tls_config: &mtls ca_file: /run/identity/ca.crt cert_file: /run/identity/service.crt key_file: /run/identity/service.key static_configs: - targets: [collector:8889] - job_name: collector scheme: https tls_config: *mtls static_configs: - targets: [collector:8888]