Skip to main content

Architecture Overview

System Architecture​

Package Structure​

PackagePortPurpose
@nodeprism/web3000Next.js management UI
@nodeprism/api4000Express REST API + WebSocket
@nodeprism/deployment-worker-SSH agent deployment
@nodeprism/config-sync-Configuration synchronization
@nodeprism/anomaly-detector-ML anomaly detection
@nodeprism/agent-app9101Custom app monitoring agent
@nodeprism/shared-Shared types and utilities

Data Flow​

1. Metrics Collection​

2. Agent Registration​

3. Alert Processing​

Technology Stack​

CategoryTechnology
LanguageTypeScript 5.3+
RuntimeNode.js 20+
Package ManagerPNPM 8+
BuildTurborepo
DatabasePostgreSQL 15
CacheRedis 7
QueueRabbitMQ 3.13
MonitoringPrometheus, Grafana, Loki

Ports Reference​

ServicePort
Web UI3000
API4000
PostgreSQL5432
Redis6379
RabbitMQ5672
RabbitMQ Management15672
Prometheus9090
Grafana3030
Loki3100
AlertManager9093
Node Exporter9100