Comments (7)
Hi! Which version of @socket.io/admin-ui
are you using?
It seems the mode is set to production
, which is why only the overview information is displayed.
from socket.io-admin-ui.
Hi @darrachequesne, Can we show some more information when the mode is set to production. The Admin UI is not very useful for me when the mode is production. I would prefer to see the sockets, rooms & clients tabs. Don't need the events or the other options to modify (leave, join, disconnect) but would like to see the sockets and rooms and additional metadata set on the sockets. Just seeing the dashboard and server tabs doesn't serve much purpose for me. You can also perhaps add some new attributes to show these tabs in production mode. Like showSockets = true, showRooms=true etc.
from socket.io-admin-ui.
@afrancis-caregility doesn't the development mode suit your use case? Tracking all sockets is quite CPU/memory hungry, hence the production/development modes.
from socket.io-admin-ui.
Yes, it does but I am afraid to put development mode in Production. I will do some load testing and see how the platform behaves in development mode. This admin UI has been invaluable in helping me figure out what is going on with socket.io server & clients and so I would also prefer to have this capability in Prod to debug issues. I am more interested in seeing the data the socket holds and which rooms they are part of. So, that's why I wanted to see those two tabs. Is it possible to get data at a point in time by clicking a "load client data" rather than real time status updates if that makes it easier in production mode. This way we can load whatever sockets and rooms are available when user connects to Admin UI and then we can do a manual refresh to fetch the latest data again. We definitely don't want any monitoring tool taking up lot of memory/CPU in Prod.
from socket.io-admin-ui.
https://socket.io/docs/v4/admin-ui/
This page: "Default value: development"
@afrancis-caregility doesn't the development mode suit your use case? Tracking all sockets is quite CPU/memory hungry, hence the production/development modes.
from socket.io-admin-ui.
https://socket.io/docs/v4/admin-ui/ This page: "Default value: development"
@afrancis-caregility doesn't the development mode suit your use case? Tracking all sockets is quite CPU/memory hungry, hence the production/development modes.
Yes but the NODE_ENV overrides this setting and in Heroku (for instance) it defaults to "production"
from socket.io-admin-ui.
@IlyaDiallo in that case, you need to explicitely specify mode: development
, which should override the NODE_ENV
variable.
See also:
socket.io-admin-ui/lib/index.ts
Lines 544 to 554 in 1588649
Can we show some more information when the mode is set to production. The Admin UI is not very useful for me when the mode is production. I would prefer to see the sockets, rooms & clients tabs.
Tracking all sockets/rooms requires a lot of memory, this is why it's only enabled in development mode.
I'm closing this, as I don't think there is much we can do. Please reopen if needed.
from socket.io-admin-ui.
Related Issues (20)
- Add UI grid filtering options HOT 2
- RedisClient library used for RedisStore HOT 1
- Feature Request: Add option to "uninstrument" from the io server HOT 2
- Socket.IO - All users leave the room when a single user leaves
- RedisStore "saveSession" got "Invalid argument type" HOT 2
- Cannot read property 'forEach' of undefined HOT 4
- Fastify implementation HOT 3
- Not working with brave protection
- cors-origin is weird HOT 1
- Traffic and Connections Graphs empty HOT 3
- Add the ability to show the socket event response HOT 1
- Joining namespace room is impossible HOT 4
- Null inside socket.data object's field
- mac m1 build problem HOT 1
- docker image build failed HOT 1
- sass library problem HOT 4
- Azure Web PubSub for Socket.io Adapter
- Node version compatibility of the client side and creation of the docker container. HOT 6
- Add support for Deno HOT 2
- "websocket error" when trying to login HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socket.io-admin-ui.