forked from mtusi2026/mtusi2026lab6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
11 lines
255 B
YAML
11 lines
255 B
YAML
global:
|
|
scrape_interval: 5s
|
|
scrape_configs:
|
|
- job_name: messenger-api
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets: ["api1:8080", "api2:8080"]
|
|
- job_name: otel-collector
|
|
static_configs:
|
|
- targets: ["otel-collector:9464"]
|