# Prometheus v3.2.1: metrics store. Application metrics arrive by OTLP push from the Collector # (--web.enable-otlp-receiver, /api/v1/otlp); infrastructure self-metrics are scraped. global: scrape_interval: 15s evaluation_interval: 15s otlp: # job=service.name, instance=service.instance.id are set by Prometheus; these become extra labels. promote_resource_attributes: - service.name - service.instance.id - service.version - deployment.environment.name storage: tsdb: # OTLP pushes from several SDKs/batches may arrive slightly out of order. out_of_order_time_window: 10m rule_files: - /etc/prometheus/rules/*.yml scrape_configs: - job_name: otel-collector static_configs: [{targets: ["otel-collector:8888"]}] - job_name: tempo static_configs: [{targets: ["tempo:3200"]}] - job_name: loki static_configs: [{targets: ["loki:3100"]}] - job_name: prometheus static_configs: [{targets: ["localhost:9090"]}]