Added base prometheus config + fast clean-up
This commit is contained in:
23
deploy/etc/prometheus/prometheus.yml
Normal file
23
deploy/etc/prometheus/prometheus.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
rule_files:
|
||||
# - "first.rules"
|
||||
# - "second.rules"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
- job_name: 'api-gateway'
|
||||
static_configs:
|
||||
- targets: ['api-gateway:8084']
|
||||
- job_name: 'api-eventbus'
|
||||
static_configs:
|
||||
- targets: ['api-eventbus:8084']
|
||||
|
||||
- job_name: 'catalog-svc'
|
||||
static_configs:
|
||||
- targets: ['catalog-svc:8084']
|
||||
Reference in New Issue
Block a user