global:
  scrape_interval: 5s  # 刮取间隔

scrape_configs:
  - job_name: 'otel-collector'
    static_configs:
      - targets: ['otel-collector:8888']  # 从 Collector 刮取指标
  - job_name: 'otel-metrics'
    static_configs:
      - targets: ['otel-collector:8889']  # 应用指标
      
