global: scrape_interval: 10s evaluation_interval: 10s rule_files: - /etc/prometheus/rules/*.yml scrape_configs: - job_name: otel-collector static_configs: - targets: ["otel-collector:8888"] - job_name: prometheus static_configs: - targets: ["localhost:9090"] otlp: promote_resource_attributes: - service.version - deployment.environment.name