Files
mtusi2026lab6/infra/otel/prometheus.yaml
T
2026-11-22 19:55:50 +03:00

12 lines
280 B
YAML

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