33 lines
673 B
YAML
33 lines
673 B
YAML
|
|
# Prometheus configuration for SolaceNet monitoring
|
||
|
|
|
||
|
|
global:
|
||
|
|
scrape_interval: 15s
|
||
|
|
evaluation_interval: 15s
|
||
|
|
|
||
|
|
scrape_configs:
|
||
|
|
# DBIS API metrics
|
||
|
|
- job_name: 'dbis-api'
|
||
|
|
static_configs:
|
||
|
|
- targets: ['dbis-api:3000']
|
||
|
|
metrics_path: '/metrics'
|
||
|
|
|
||
|
|
# SolaceNet Gateway metrics
|
||
|
|
- job_name: 'solacenet-gateway'
|
||
|
|
static_configs:
|
||
|
|
- targets: ['solacenet-gateway:8080']
|
||
|
|
metrics_path: '/metrics'
|
||
|
|
|
||
|
|
# Redis metrics (if using redis_exporter)
|
||
|
|
- job_name: 'redis'
|
||
|
|
static_configs:
|
||
|
|
- targets: ['redis-exporter:9121']
|
||
|
|
|
||
|
|
rule_files:
|
||
|
|
- 'alerts.yml'
|
||
|
|
|
||
|
|
alerting:
|
||
|
|
alertmanagers:
|
||
|
|
- static_configs:
|
||
|
|
- targets:
|
||
|
|
- alertmanager:9093
|