Files
mtusi2026lab6/observability/prometheus.yml
T

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"]