mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-28 04:37:37 +00:00
💡 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:
parent
389cfebea1
commit
006e421cd2
47 changed files with 3447 additions and 51 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue