forked from mtusi2026/mtusi2026lab6
29 lines
647 B
YAML
29 lines
647 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"]
|
|
- job_name: tempo
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets: ["tempo:3200"]
|