backbeat: add module sources
This commit is contained in:
38
prometheus.yml
Normal file
38
prometheus.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
rule_files:
|
||||
# - "first_rules.yml"
|
||||
# - "second_rules.yml"
|
||||
|
||||
scrape_configs:
|
||||
# BACKBEAT pulse service metrics
|
||||
- job_name: 'backbeat-pulse'
|
||||
static_configs:
|
||||
- targets: ['pulse-1:8080', 'pulse-2:8080']
|
||||
metrics_path: /metrics
|
||||
scrape_interval: 10s
|
||||
scrape_timeout: 5s
|
||||
honor_labels: true
|
||||
|
||||
# BACKBEAT reverb service metrics
|
||||
- job_name: 'backbeat-reverb'
|
||||
static_configs:
|
||||
- targets: ['reverb:8080']
|
||||
metrics_path: /metrics
|
||||
scrape_interval: 10s
|
||||
scrape_timeout: 5s
|
||||
honor_labels: true
|
||||
|
||||
# NATS monitoring
|
||||
- job_name: 'nats'
|
||||
static_configs:
|
||||
- targets: ['nats:8222']
|
||||
metrics_path: /
|
||||
scrape_interval: 15s
|
||||
|
||||
# Prometheus self-monitoring
|
||||
- job_name: 'prometheus'
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
Reference in New Issue
Block a user