Added base prometheus config + fast clean-up

This commit is contained in:
PB
2023-03-20 15:08:33 +01:00
parent 6042f81c35
commit bd38c66fda
3 changed files with 77 additions and 83 deletions

View 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']