Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amqp-heartbeat

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp-heartbeat

Send heartbeat messages to RabbitMQ

  • 1.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by266.67%
Maintainers
1
Weekly downloads
 
Created
Source

Send Heartbeat Messages To RabitMQ

Usage is easy:

var heartbeat = require( 'amqp-heartbeat' )
heartbeat.start( 'amqp://user:password@localhost', 'Some Service Name' )

You should update the status regulary, e.g.:

heartbeat.setStatus( 'Users in web shop: '+ sessionCount )

Run RabbitMQ (Docker Container)

docker run -d --hostname my-rabbit --name some-rabbit -p 5672:5672 -p 15672:15672 -e RABBITMQ_DEFAULT_USER=user -e RABBITMQ_DEFAULT_PASS=password rabbitmq:3-management

Collect Heartbeat Messages

Use amqp-heartbeat-to-mongodb package to collect and store heartbeat messages in a MongoDB.

Web GUI

A web UI demo is available, check out the amq-heartbeat-gui node package

Keywords

FAQs

Package last updated on 13 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc