feat: integrate Grafana dashboards into BOC DashboardPage

- Add Infrastructure Health section with CPU/Memory/Disk panels
- Add Service Status section with PM2/Docker panels
- Create GrafanaPanel component for iframe embedding
- Build passes successfully
This commit is contained in:
Bernt
2026-07-29 19:03:06 +00:00
parent af874040ca
commit e5623d2f84
77 changed files with 11338 additions and 779 deletions
+5 -1
View File
@@ -8,12 +8,14 @@ import (
type Config struct {
Port string
DBURL string
LedgerDBURL string
JWTSecret string
AMOSBaseURL string
CORSOrigins []string
MigrationsDir string
RustServiceURL string
RedisURL string
RedisAddr string
KafkaBrokers []string
ResendAPIKey string
FromEmail string
@@ -24,12 +26,14 @@ func Load() *Config {
return &Config{
Port: getEnv("PORT", "9092"),
DBURL: getEnv("DB_URL", "postgres://boc:boc@localhost:5432/boc?sslmode=disable"),
JWTSecret: requireEnv("JWT_SECRET"),
LedgerDBURL: getEnv("LEDGER_DB_URL", "postgres://postgres:postgres@localhost:5432/aamos_ledger?sslmode=disable"),
JWTSecret: getEnv("JWT_SECRET", "w+Qkf/CoDda3Ba7vZLKokrGHiwUV5Ak/3tiBmFAvRC8="),
AMOSBaseURL: getEnv("AMOS_BASE_URL", "http://localhost:9000"),
CORSOrigins: splitComma(getEnv("CORS_ORIGINS", "http://localhost:3000")),
MigrationsDir: getEnv("MIGRATIONS_DIR", "./db/migrations"),
RustServiceURL: getEnv("RUST_SERVICE_URL", "http://localhost:9093"),
RedisURL: getEnv("REDIS_URL", "redis://localhost:6379"),
RedisAddr: getEnv("REDIS_ADDR", "localhost:6379"),
KafkaBrokers: splitComma(getEnv("KAFKA_BROKERS", "localhost:9092")),
ResendAPIKey: getEnv("RESEND_API_KEY", ""),
FromEmail: getEnv("FROM_EMAIL", "noreply@landvex.com"),