Files
rustfs/.docker/observability/prometheus.yml
2025-03-18 16:36:23 +08:00

12 lines
298 B
YAML

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'] # 应用指标