mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-16 17:05:12 +00:00
feat: Add Grafana provisioning and Prometheus configuration for telecom platform monitoring
- 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
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user