feat(infra): add Prometheus and Chart.js dashboard with real-time charts

- Add Prometheus server scraping OTel collector
- Add Chart.js donut chart for service health distribution
- Add line charts for RPS, latency, error rate, trace volume
- Add Prometheus API proxy to nginx whitelist
- Restructure dashboard layout with 12-column responsive grid
This commit is contained in:
asepharyana
2026-07-22 18:26:41 +07:00
parent 1ee99ffc2c
commit ee4fd677ea
4 changed files with 523 additions and 261 deletions
+12
View File
@@ -0,0 +1,12 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'otel-collector'
scrape_interval: 10s
metrics_path: /metrics
static_configs:
- targets: ['otel-collector:8889']
labels:
service: otel-collector