schon/monitoring/prometheus.yml

30 lines
627 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'evibes-app'
metrics_path: /metrics
scheme: http
static_configs:
- targets: [ 'app:8000' ]
- job_name: 'evibes-worker'
metrics_path: /metrics
scheme: http
static_configs:
- targets: [ 'worker:8000' ]
- job_name: 'evibes-beat'
metrics_path: /metrics
scheme: http
static_configs:
- targets: [ 'beat:8000' ]
# - job_name: 'redis'
# static_configs:
# - targets: ['redis:9121']
#
# - job_name: 'elasticsearch'
# static_configs:
# - targets: ['elasticsearch:9114']