Files
mtusi2026lab6/infra/prometheus/prometheus.yml
T

16 lines
326 B
YAML

global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_timeout: 4s
rule_files:
- /etc/prometheus/rules.yml
scrape_configs:
- job_name: otel-collector
static_configs:
- targets: ["otel-collector:8889"]
- job_name: otel-collector-internal
static_configs:
- targets: ["otel-collector:8888"]