mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
18 lines
499 B
YAML
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']
|