initial setup
This commit is contained in:
commit
232a63dfe8
61 changed files with 4985 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://prometheus:9090
|
||||
isDefault: true
|
||||
editable: true
|
||||
45
monitoring/prometheus.yml
Normal file
45
monitoring/prometheus.yml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
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']
|
||||
26
monitoring/prometheus/prometheus.yml
Normal file
26
monitoring/prometheus/prometheus.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
rule_files:
|
||||
# - "first_rules.yml"
|
||||
# - "second_rules.yml"
|
||||
|
||||
scrape_configs:
|
||||
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
||||
- job_name: 'prometheus'
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
# Add other services as they become available
|
||||
# - job_name: 'trading-bot'
|
||||
# static_configs:
|
||||
# - targets: ['localhost:3001']
|
||||
|
||||
# - job_name: 'market-data-gateway'
|
||||
# static_configs:
|
||||
# - targets: ['localhost:3002']
|
||||
|
||||
# - job_name: 'risk-guardian'
|
||||
# static_configs:
|
||||
# - targets: ['localhost:3003']
|
||||
Loading…
Add table
Add a link
Reference in a new issue