Files
mtusi2026lab6/infra/otel/prometheus.yaml
T

14 lines
308 B
YAML

global:
scrape_interval: 2s
evaluation_interval: 2s
rule_files:
- /etc/prometheus/alerts.yaml
scrape_configs:
- job_name: messenger-otel
honor_labels: true
static_configs: [{targets: ["otel-collector:8889"]}]
- job_name: collector
static_configs: [{targets: ["otel-collector:8888"]}]