mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
[hw-7] add metrics, tracing
This commit is contained in:
17
prometheus/prometheus.yml
Normal file
17
prometheus/prometheus.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
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']
|
||||
Reference in New Issue
Block a user