node-red-contrib-statsd
v1.3.0
Published
Node-red output to a StatsD server
Downloads
4
Readme
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
- A StatsD server running in your network.
- Node.js installed
Installation
- Install Node-RED:
npm install -g node-red
- Install Statsd package
mkdir -p ~/.node-red/node_modules
npm install --prefix ~/.node-red node-red-contrib-statsd
Usage
node-red
- Open http://localhost:1880
- Add an input or function node that produces a numeric payload (an MQTT input topic works well)
- Add the statsd node, and connect it to the flow above
- Add configuration parameters:
Updating
- Update Node-RED:
npm update -g node-red
- Update Statsd package
npm update --prefix ~/.node-red node-red-contrib-statsd
License
MIT License. See LICENSE.txt for more details.