mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 19:12:54 +00:00
- Add Grafana dashboard provisioning with telecom-dashboards provider, 10s update interval, UI updates enabled - Add Grafana datasource provisioning with Prometheus (default) and InfluxDB Flux datasources - Add InfluxDB datasource with telecom org/bucket, admin credentials, token authentication - Add Prometheus configuration with 15s scrape/evaluation intervals, alert_rules.yml integration - Add Alertmanager integration
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
rule_files:
|
|
- "alert_rules.yml"
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets:
|
|
- alertmanager:9093
|
|
|
|
scrape_configs:
|
|
- job_name: 'telecom-api-server'
|
|
static_configs:
|
|
- targets: ['host.docker.internal:8000']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 5s
|
|
|
|
- job_name: 'telecom-charging-engine'
|
|
static_configs:
|
|
- targets: ['host.docker.internal:3001']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 5s
|
|
|
|
- job_name: 'telecom-packet-gateway'
|
|
static_configs:
|
|
- targets: ['host.docker.internal:9000']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 5s
|
|
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
|
|
- job_name: 'node-exporter'
|
|
static_configs:
|
|
- targets: ['node-exporter:9100']
|
|
|
|
- job_name: 'redis'
|
|
static_configs:
|
|
- targets: ['redis:6379']
|
|
|
|
- job_name: 'influxdb'
|
|
static_configs:
|
|
- targets: ['influxdb:8086']
|
|
metrics_path: '/metrics'
|