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

@crypto.com/redis-smq-monitor

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crypto.com/redis-smq-monitor

A monitoring tool for RedisSMQ message queue

  • 1.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

RedisSMQ Monitor

RedisSMQ Monitor

The RedisSMQ Monitor is an interface which let you monitor and debug your RedisSMQ message queue from a web browser in real-time.

Starting from version RedisSMQ v1.1.0, the monitor has split up into a standalone project and was packaged under RedisSMQ Monitor

RedisSMQ includes the monitor as part of its package.

Installation

Normally you should not care about installing this package separately from RedisSMQ.

If you have RedisSMQ installed and running you can get the monitor out of box.

But for any reason if you need to use this package without installing RedisSMQ then you can install it as follow:

npm install redis-smq-monitor --save

Configuration

RedisSMQ Monitor accepts the same configuration parameters as RedisSMQ. A configuration object may look like:

'use strict';

const config = {
    redis: {
        driver: 'redis',
        options: {
            host: '127.0.0.1',
            port: 6379,
            connect_timeout: 3600000,
        }
    },
    monitor: {
        enabled: true,
        host: '127.0.0.1',
        port: 3000,
    },
};

modules.export = config;

The config.redis parameters should be provided to indicate to the monitor the redis driver to use and the Redis server to connect to.

If not provided, by default the monitor will try to connect to localhost using redis driver.

Please referer to RedisSMQ configuration for more details.

Usage

'use strict';

const config = require('./config');
const { monitor } = require('redis-smq'); 

// If installed separately from RedisSMQ
// const monitor = require('redis-smq-monitor'); 

monitor(config).listen(() => {
    console.log('It works!')
});

Contributing

So you are interested in contributing to this project? Please see CONTRIBUTING.md.

License

MIT

Keywords

FAQs

Package last updated on 20 Jul 2021

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