Files
metabuilder/deployment/config/prometheus/prometheus.yml
johndoe6345789 7e12140e41 feat: wire up 5 missing frontends, add analytics dashboard + Starlink monitoring
- Wire DBAL frontend, Docker Terminal, Package Repo into Docker stack
  with Dockerfiles, docker-compose entries, and nginx reverse proxy
- Create APK download portals for RepoForge and CaproverForge (Next.js)
- Add DBAL Query Console (REST query interface with history sidebar)
- Add C++ Prometheus /metrics endpoint to DBAL daemon (request counters,
  error rates, method breakdown, uptime, active connections)
- Enable Grafana/Prometheus via nginx sub-path routing (/grafana, /prometheus)
- Auto-provision 4 Grafana dashboards: DBAL Overview, Infrastructure,
  Starlink Dish
- Add Starlink exporter (danopstech/starlink_exporter) to monitoring profile
- Add alert rules for DBAL error rate, Starlink latency, Starlink obstruction
- Update welcome portal with all new app cards and monitoring section

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 21:35:19 +00:00

67 lines
1.4 KiB
YAML

# Prometheus Configuration for MetaBuilder Stack
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
cluster: 'metabuilder'
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
rule_files:
- /etc/prometheus/alerts.yml
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'dbal'
metrics_path: '/metrics'
static_configs:
- targets: ['dbal:8080']
- job_name: 'workflowui'
metrics_path: '/api/metrics'
static_configs:
- targets: ['workflowui:3000']
- job_name: 'email-service'
metrics_path: '/metrics'
static_configs:
- targets: ['email-service:5000']
- job_name: 'media-daemon'
metrics_path: '/metrics'
static_configs:
- targets: ['media-daemon:8090']
- job_name: 'postgres'
static_configs:
- targets: ['postgres-exporter:9187']
- job_name: 'redis'
static_configs:
- targets: ['redis-exporter:9121']
- job_name: 'node'
static_configs:
- targets: ['node-exporter:9100']
- job_name: 'cadvisor'
static_configs:
- targets: ['cadvisor:8080']
- job_name: 'icecast'
metrics_path: '/status-json.xsl'
static_configs:
- targets: ['icecast:8000']
- job_name: 'starlink'
metrics_path: '/metrics'
static_configs:
- targets: ['starlink-exporter:9817']