# ============================================================================= # Prometheus 配置 - Kong API Gateway 监控 # ============================================================================= global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: # Kong Prometheus 指标端点 - job_name: 'kong' static_configs: - targets: ['kong:8001'] metrics_path: /metrics # Prometheus 自身监控 - job_name: 'prometheus' static_configs: - targets: ['localhost:9090']