amq-heartbeat-gui
v1.4.0
Published
Show heartbeat status of services in Web UI
Downloads
9
Maintainers
Readme
This little Web UI shows heartbeat status for messages sent with amqp-heartbeat package to RabbitMA and collected via amqp-heartbeat-to-mongodb package to a MongoDB.
This is more a demo, how to start a Web GUI for heartbating services.
The GUI uses the Easy-Web-App Node.js package. Please check the docu there, how to add security or change the view or add pages and functionality.
Full Set Up
MongoDB (Docker)
docker pull mongo
docker run --name mongodb -p 27017:27017 -d mongo
Service With Heartbeat
Heartbeat-To-MongoDB Service
Heartbeat Web UI
node index.js --mongoHost=localhost
Open the URL http://localhost:8888/heartbeat/index.html in your browser.
Run as Docker Container
docker build -t heartbeat/gui .
docker run -d --link mongodb:mongo -p 8888:8888 --name heartbeat-gui heartbeat/gui