node-red-contrib-statsd

1.3.0 • Public • Published

Time-series output through StatsD for node-red topics

The Node-Red project is a visual tool for wiring the Internet of Things.

This package is Node-Red contribution for sending flows to a StatsD server.

Here's an example flow that places the output of an MQTT topic into a StatsD server:

Prerequisites

  1. A StatsD server running in your network.
  2. Node.js installed

Installation

  1. Install Node-RED: npm install -g node-red
  2. Install Statsd package
    1. mkdir -p ~/.node-red/node_modules
    2. npm install --prefix ~/.node-red node-red-contrib-statsd

Usage

  1. node-red
  2. Open http://localhost:1880
  3. Add an input or function node that produces a numeric payload (an MQTT input topic works well)
  4. Add the statsd node, and connect it to the flow above
  5. Add configuration parameters:

Updating

  1. Update Node-RED: npm update -g node-red
  2. Update Statsd package
    1. npm update --prefix ~/.node-red node-red-contrib-statsd

License

MIT License. See LICENSE.txt for more details.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i node-red-contrib-statsd

    Weekly Downloads

    6

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    144 kB

    Total Files

    10

    Last publish

    Collaborators

    • lorenwest