DashboardAPI node improvements #31

Open
opened 2026-03-12 08:37:07 +00:00 by vps1_gitea_admin · 0 comments

Security

  • Bearer token now relies on GRAFANA_TOKEN env var (hardcoded token was removed)
  • Ensure deployment docs mention setting GRAFANA_TOKEN

Logging

  • dashboardapi_class.js still has console.log calls (lines 154, 178) — should use logger

Architecture

  • Node does not follow three-layer architecture (older style)
### Security - Bearer token now relies on `GRAFANA_TOKEN` env var (hardcoded token was removed) - Ensure deployment docs mention setting `GRAFANA_TOKEN` ### Logging - `dashboardapi_class.js` still has `console.log` calls (lines 154, 178) — should use logger ### Architecture - Node does not follow three-layer architecture (older style)
Sign in to join this conversation.