global: scrape_interval: 10s evaluation_interval: 10s rule_files: - /etc/prometheus/alert-rules.yml scrape_configs: # Метрики от OTel Collector (TLS-экспортёр :8889, сервер проверяется по CA). - job_name: otel-collector scheme: https tls_config: ca_file: /etc/prometheus/ca.crt static_configs: - targets: ['otel-collector:8889'] - job_name: prometheus scheme: https tls_config: ca_file: /etc/prometheus/ca.crt static_configs: - targets: ['prometheus:9090']