global: scrape_interval: 10s evaluation_interval: 10s rule_files: - /etc/prometheus/alert-rules.yml scrape_configs: # Метрики от OTel Collector (он в формате Prometheus на :8889). - job_name: otel-collector static_configs: - targets: ['otel-collector:8889'] # Сам Prometheus — для наблюдения за собой. - job_name: prometheus static_configs: - targets: ['localhost:9090']