Commit Graph

17 Commits

Author SHA1 Message Date
609a984f9b fix: add POST handler to /api/rag for semantic search + agent proxy
- Added POST handler that proxies retrieve/agent/tags actions to RAG API
- Maps RAG API response shape (chunks[].rerank_score) to frontend expected format
- Normalizes rerank_score (0-10 range) to 0-1 score for display
- Disabled tags fetch on mount (blocks RAG API - scrolls all 49k Qdrant points)
2026-02-18 20:11:55 -05:00
ed125f613d feat: GB10 GPU panels + enhanced UniFi widget with health data
- Added GB10 Fabric row: GPU Utilization A/B + Network Throughput
- UniFi widget now shows WAN/WLAN/LAN/Internet health subsystems
- Displays ISP name, bandwidth rates, latency, client counts per subsystem
- Status dots (green/yellow) for each subsystem
2026-02-17 09:16:30 -05:00
df1f0700b0 fix: rewrite Synology API to match actual DSM field names
- Volume sizes are in vol.size.total / vol.size.used (nested object)
- Added disk info parsing (name, model, status, temp, isSsd)
- Added SYNO.Core.System.Utilization for CPU/memory stats
- Response now returns {volumes, disks, utilization} matching widget interface
2026-02-17 09:02:32 -05:00
12d71bc6b1 fix: use real Grafana dashboard UIDs instead of placeholders
- server-overview -> docker-containers (panel 1: Running Containers)
- docker-monitoring -> docker-containers (panel 10: CPU Over Time)
- llm-monitoring -> rag-pipeline (panel 8: Files Processed Over Time)
- system-metrics -> atlas-rag-eval (panel 7: Query Latency)
2026-02-17 08:55:06 -05:00
19134924bd fix: extract data.devices in UnifiWidget to prevent e.filter crash
API returns {devices, health, totalClients} object, not an array.
setDevices(data) was setting the whole object, causing .filter() to crash.
2026-02-17 08:45:30 -05:00
152ff4a3ad fix: disable aggressive caching for dashboard HTML pages 2026-02-17 08:34:53 -05:00
d56f299698 fix: dashboardId -> dashboardUid prop name 2026-02-17 08:25:14 -05:00
ed9c0f0fd0 fix: Docker socket support, Synology port default, defensive container fetch
- containers/route.ts: Use Unix socket (/var/run/docker.sock) via axios socketPath
  instead of HTTP to localhost:2375 (TCP API not exposed)
- synology/route.ts: Default port to 5001 (HTTPS) and auto-detect protocol
  based on port (5000=HTTP, 5001+=HTTPS)
- page.tsx: Defensive check on container API response shape before setting state
2026-02-17 08:22:34 -05:00
dc01ddc09f feat: add live RAG pipeline widget
- New RAGWidget with live stats (files/chunks/failed), status badge, progress bar
- API proxy route /api/rag -> rag-api /status + /ingest-progress
- Replace 3 Grafana RAG panels with single live widget
- 5s auto-polling with error handling
2026-02-15 08:51:38 -05:00
51a3a8bdca feat: split RAG panel into 3 compact stats (processed, failed, chunks) 2026-02-13 15:29:37 -05:00
53f8adfa84 fix: remove deleted server-health and traefik-traffic Grafana embeds 2026-02-13 15:25:09 -05:00
9133f5bb3c feat: server health gauges (CPU/RAM/Temp), condensed UniFi DMP, NAS space display
- ServerStatsWidget: 3 SVG ring gauges per server with color thresholds
- Servers API: added cpuTemp from node_hwmon_temp_celsius
- NetworkWidget: condensed DMP view (WAN/WLAN/LAN health subsystems)
- UniFi API: parallel fetch of stat/device + stat/health
- SynologyWidget: prominent total/available space display
2026-02-13 15:18:34 -05:00
304840c316 chore: add .env to gitignore, update .env.example template 2026-02-13 14:42:37 -05:00
1102f27f45 fix: UniFi, Synology, Network widgets + Grafana HTTPS
- Rewrite UniFi API: port 443, /api/auth/login, /proxy/network/ prefix,
  native https module for self-signed cert, cookie-based session
- Update credentials to Vault-Admin (view-only local account)
- Rewrite NetworkWidget to show UniFi devices with clients/uptime
- Fix Synology API: correct field mappings (size.total/size.used),
  add CPU/memory utilization endpoint
- Fix network API: use prometheus:9090 container DNS
- Add NODE_TLS_REJECT_UNAUTHORIZED=0 for UniFi self-signed cert
- Expand AI container group (rag, litellm, qdrant)
- Add force-dynamic to API routes
2026-02-13 13:54:48 -05:00
e00c6efcda fix: add labels to container API, null-safe ContainerGroup, error boundary
- containers/route.ts: include c.Labels in response (was missing, caused null crash)
- ContainerGroup.tsx: null-safe getTraefikUrl with optional chaining
- error.tsx: add Next.js error boundary for graceful client-side error handling
2026-02-13 13:15:36 -05:00
b14489ff59 feat: add server stats, GPU stats, container CPU/memory display
- Add /api/servers endpoint querying Prometheus for CPU, RAM, disk, uptime, load
- Add /api/gpu endpoint for NVIDIA Jetson GPU utilization, temp, power
- Add ServerStatsWidget with animated bars for Atlas, Wile, RoadRunner
- Add GPUStatsWidget with GPU util, memory, temp color-coding, power draw
- Update ContainerGroup to show CPU bar and memory for running containers
- Fix docker-compose.yml: traefik network external: true
- Fix getTraefikUrl to scan all router labels (not just 'https')
2026-02-13 13:08:39 -05:00
d6debe51b1 Initial commit: ATLAS Dashboard (Next.js) 2026-02-13 12:24:02 -05:00