Socket
Socket
Sign inDemoInstall

response-system

Package Overview
Dependencies
14
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    response-system

plugable response system meant to work with Nervous and graphite


Version published
Maintainers
1
Install size
210 kB
Created

Readme

Source

Response - Monitoring doesn't have to suck.

Response is an simple Graphite proxy with plugable alerting support. It's first priority is to deliver messages to Graphite rapidly. In the event that Graphite goes down, messages will be buffered until Graphite is back. Eventually Redis will be optionally supported to provide arbitrary levels of durability/persistence

The second priority of Response is to provide a plugable alerting/response system.

Test Status - test status

Quick Start

./bin/response

Developing Plugins

Check out the example_plugins directory.

Plugins are expected to play nice by not blocking the event loop and being mindful to store state safely. They receive two objects which both of which inherit from EventEmitter2.

The first is the GraphiteEventEmitter. It can be used to subscribe to arbitrary events using wildcards. Plugins may use this to keep track of events they care about.

The second is the Dispatcher. It too can be used to subscribe to arbitrary events, but the source of these events is exclusively other plugins. Plugins may use this publish or subscribe to alerts.

Plugins generally fall under too categories by convention. Those that identify certain conditions by subscribing to Graphite events, and those that respond to the conditions identified by the former.

Keywords

FAQs

Last updated on 19 Apr 2012

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc