stack/deploy/etc/prometheus/prometheus.yml

24 lines
468 B
YAML

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