Skip to content

microclimates/node-red-contrib-statsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Record your MQTT topics as time series data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published