Files
mtusi2026lab6/infra/otel/prometheus.yaml

14 lines
292 B
YAML

global:
scrape_interval: 5s
evaluation_interval: 5s
rule_files: [/etc/prometheus/alerts.yaml]
scrape_configs:
- job_name: messenger-otlp
static_configs:
- targets: [otel-collector:9464]
- job_name: otel-collector
static_configs:
- targets: [otel-collector:8888]