Files
mtusi2026lab6/infra/otel/prometheus.yml
T

15 lines
311 B
YAML

global:
scrape_interval: 10s
evaluation_interval: 10s
rule_files:
- /etc/prometheus/alerts.yml
scrape_configs:
- job_name: 'otel-collector'
static_configs:
- targets: ['otel-collector:8889']
- job_name: 'otel-collector-metrics'
static_configs:
- targets: ['otel-collector:9464']