Files
mtusi2026lab6/infra/otel/prometheus.yaml
T

16 lines
331 B
YAML

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