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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user