devfacet / natsboard Goto Github PK
View Code? Open in Web Editor NEWDashboard for monitoring NATS (an open source messaging system)
License: MIT License
Dashboard for monitoring NATS (an open source messaging system)
License: MIT License
Im working against nats-streaming server , Can't see the subject name on "Connections" table under "Subs List" column clearly,
Instead i see 3 subjects with prefix of : INBOX or STAN .
Ex:
_INBOX.CjRaiQ9Kn5sKhGTJyeuDyb,
_STAN.acks.CjRaiQ9Kn5sKhGTJyeuE91,
_INBOX.CjRaiQ9Kn5sKhGTJyeuEEE
Why is that ?
Is this something you'd be interested in having in this tool? Looks to me that this is a very interesting tool for monitoring but any large nats user will probably be using clusters.
In app.js, you could replace
content += '' + val.lang + ' / ' + val.version + '';
by
content += '' + val.name + '';
This could give a better client description with the name give on the client side.
This happens when you have removed all subscriptions before closing the connection.
Fix on app.js :
content += '' + val.subscriptions_list.join(', ') + '';
content += '' + val.subscriptions_list + '';
Fatih, first thanks for the dashboard, its very useful.
I'm not sure if your still developing against it, if you are would you consider adding support for visualizing the payload size? In our application the payloads can be variable based on the underlying components that were interacting with. It would be great to see the message payloads size to understand if we are getting close to the max_payload config setting, possibly as a graph in the dashboard?
Thanks,
Damian.
Would it be possible for this project to have a running log showing where a request has originated from and where it intends to go?
Example
ms1 subscribes to mstopic
ms2 subscribes to mstopic
ms3 subscribes to mstopic
ms1 publishes message to mstopic
ms2 retrieves message from mstopic
natsboard shows that a message was published by ms1 to mstopic and was retrieved by ms2
13049856 memory used
change
13MB memory used
I have two apps: message generator and consumer.
I run this apps and don't see any connections in connections
tab, but on dashboard
tab I see two connections, messages tik and all other stuff. When I shutdown message generator the consumer appears on connections
tab.
Would be great to have a Dockerfile for easy deployments! I want to try out the monitor but don't wanna setup a node env locally.
{ Error: read ECONNRESET
at exports._errnoException (util.js:1026:11)
at TCP.onread (net.js:607:25) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
{ Error: read ECONNRESET
at exports._errnoException (util.js:1026:11)
at TCP.onread (net.js:607:25) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
{ Error: read ECONNRESET
at exports._errnoException (util.js:1026:11)
at TCP.onread (net.js:607:25) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
When overriding NODE_PORTWS on the command line, the client part is still trying to connect on NODE_PORT+1.
Please, add auto-update in connections
tab like in nats-top
Hi all! Can't start nats board in system or in docker have error.
Aug 20 20:54:26 mts-altai-nats systemd[1]: Stopped natsboard.
Aug 20 20:54:26 mts-altai-nats systemd[1]: Started natsboard.
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: module.js:478
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: throw err;
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: ^
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: Error: Cannot find module 'express'
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Function.Module._resolveFilename (module.js:476:15)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Function.Module._load (module.js:424:25)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Module.require (module.js:504:17)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at require (internal/module.js:20:19)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Object. (/usr/local/bin/natsboard/lib/server.js:9:17)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Module._compile (module.js:577:32)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Object.Module._extensions..js (module.js:586:10)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Module.load (module.js:494:32)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at tryModuleLoad (module.js:453:12)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Function.Module._load (module.js:445:3)
Aug 20 20:54:26 mts-altai-nats systemd[1]: natsboard.service: main process exited, code=exited, status=1/FAILURE
Aug 20 20:54:26 mts-altai-nats systemd[1]: Unit natsboard.service entered failed state.
Aug 20 20:54:26 mts-altai-nats systemd[1]: natsboard.service failed.
Aug 20 20:54:27 mts-altai-nats systemd[1]: natsboard.service holdoff time over, scheduling restart.
Aug 20 20:54:27 mts-altai-nats systemd[1]: Stopped natsboard.
Aug 20 20:54:27 mts-altai-nats systemd[1]: start request repeated too quickly for natsboard.service
Aug 20 20:54:27 mts-altai-nats systemd[1]: Failed to start natsboard.
Aug 20 20:54:27 mts-altai-nats systemd[1]: Unit natsboard.service entered failed state.
Aug 20 20:54:27 mts-altai-nats systemd[1]: natsboard.service failed.
my config
[Unit]
Description=natsboard
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/natsboard/bin/natsboard --nats-mon-url "http://localhost:8222"
#ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5
#ExecStop=/bin/kill -HUP $MAINPID
#StandardOutput=syslog
#StandardError=syslog
#SyslogIdentifier=propanel
#User=root
#Group=root
#WorkingDirectory=/usr/local/bin
#Environment=NODE_ENV=production PORT=3000
Restart=on-failure
[Install]
WantedBy=multi-user.target
How can we secure access to nats dashboard?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.