45 lines
998 B
YAML
45 lines
998 B
YAML
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
rule_files:
|
|
# - "first_rules.yml"
|
|
# - "second_rules.yml"
|
|
|
|
scrape_configs:
|
|
# Prometheus itself
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
|
|
# Trading Bot Services
|
|
- job_name: 'market-data-gateway'
|
|
static_configs:
|
|
- targets: ['host.docker.internal:3001']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 5s
|
|
|
|
- job_name: 'strategy-orchestrator'
|
|
static_configs:
|
|
- targets: ['host.docker.internal:4001']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 10s
|
|
|
|
- job_name: 'risk-guardian'
|
|
static_configs:
|
|
- targets: ['host.docker.internal:3002']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 10s
|
|
|
|
# Infrastructure
|
|
- job_name: 'dragonfly'
|
|
static_configs:
|
|
- targets: ['dragonfly:6379']
|
|
|
|
- job_name: 'postgres'
|
|
static_configs:
|
|
- targets: ['postgres:5432']
|
|
|
|
- job_name: 'questdb'
|
|
static_configs:
|
|
- targets: ['questdb:9000']
|