Files
mtusi2026lab6/infra/prometheus/prometheus.yaml
T

16 lines
304 B
YAML

global:
scrape_interval: 2s
scrape_timeout: 1s
evaluation_interval: 2s
rule_files:
- /etc/prometheus/rules.yaml
scrape_configs:
- job_name: messenger
static_configs:
- targets: [otel-collector:9464]
- job_name: collector
static_configs:
- targets: [otel-collector:8888]