Files
mtusi2026lab6/infra/otel/prometheus/prometheus.yml
T

13 lines
281 B
YAML

global:
scrape_interval: 5s
evaluation_interval: 5s
rule_files:
- /etc/prometheus/alerts.yml
scrape_configs:
- job_name: collector
static_configs:
- targets: ['otel-collector:8889']
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']