💡 feat: add DB-backed admin insights (#14898)

* feat: add Mongo-backed admin insights

* feat: gate insights with environment variable

* fix: tighten insights access and activity metrics

* fix: preserve insights date selections

* perf: parallelize insights search aggregation

* test: wait for MCP conflict recovery

* test: satisfy strict MCP recovery typing

* fix: disable insights pagination while loading

* fix: localize insights range shortcuts

* fix: bound insights search input
This commit is contained in:
Ravi Kumar L 2026-08-18 13:51:51 +02:00 committed by GitHub
parent 389cfebea1
commit 006e421cd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 3447 additions and 51 deletions

View file

@ -63,6 +63,9 @@ ADMIN_PANEL_SESSION_SECRET=
# In deploy-compose the panel is served at http://admin.localhost via nginx.
# ADMIN_PANEL_PORT=3000
# Enable the admin-only MongoDB Insights dashboard.
ENABLE_INSIGHTS=false
NO_INDEX=true
# Use the address that is at most n number of hops away from the Express application.
# req.socket.remoteAddress is the first hop, and the rest are looked for in the X-Forwarded-For header from right to left.