Files
mtusi2026lab6/infra/prometheus/prometheus.yml
T
2026-11-05 20:33:41 +03:00

25 lines
548 B
YAML

global:
scrape_interval: 5s
evaluation_interval: 5s
rule_files:
- /etc/prometheus/rules/*.yml
scrape_configs:
- job_name: otel-collector
static_configs:
- targets: ["otel-collector:8889"]
- job_name: otel-collector-self
static_configs:
- targets: ["otel-collector:8888"]
- job_name: haproxy
metrics_path: /metrics
static_configs:
- targets: ["lb:8404"]
- job_name: rabbitmq
static_configs:
- targets: ["broker:15692"]
- job_name: loki
static_configs:
- targets: ["loki:3100"]