Files
Никита Шубин 4396bebe80 [hw-7] add metrics, tracing
2025-07-26 14:15:40 +00:00

18 lines
499 B
YAML

scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
# Override the global default and scrape targets from this job every 5 seconds.
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'cart'
scrape_interval: 5s
static_configs:
- targets: ['cart:8080']
- job_name: 'loms'
scrape_interval: 5s
static_configs:
- targets: ['loms:8084']