node-red-contrib-metrics 0.0.1

node-red-contrib-metrics ======================== An metrics chart tab for <a href="http://nodered.org" target="_new">Node-RED</a>.

npm install node-red-contrib-metrics

An metrics chart tab for Node-RED.

node-red-contrib-metrics on Node-RED

Example

[{"id":"b290612.f4d6fa","type":"debug","z":"441cee46.bbe31","name":"","active":true,"console":"false","complete":"false","x":361,"y":388,"wires":[]},{"id":"9f2a9a8.f60d568","type":"inject","z":"441cee46.bbe31","name":"","topic":"","payload":"","payloadType":"none","repeat":"0.5","crontab":"","once":false,"x":155,"y":225,"wires":[["750e1954.8af1e8"]]},{"id":"750e1954.8af1e8","type":"function","z":"441cee46.bbe31","name":"","func":"msg.payload = {\n    'value':Math.round(Math.random() * 100) + 100\n};\nreturn msg;","outputs":1,"noerr":0,"x":301,"y":225,"wires":[["6a01382a.95fec8"]]},{"id":"22c00328.dd3ffc","type":"inject","z":"441cee46.bbe31","name":"","topic":"","payload":"","payloadType":"none","repeat":"0.5","crontab":"","once":false,"x":138,"y":157,"wires":[["8eb4d9b2.714b28"]]},{"id":"8eb4d9b2.714b28","type":"function","z":"441cee46.bbe31","name":"","func":"msg.payload = {\n    'value':Math.round(Math.random() * 100) + 100,\n    'value2':Math.round(Math.random() * 100) + 100,\n    'value3':Math.round(Math.random() * 100) + 100\n};\nreturn msg;","outputs":1,"noerr":0,"x":284,"y":157,"wires":[["37909aa4.c86f66"]]},{"id":"92e76bc9.6d1898","type":"function","z":"441cee46.bbe31","name":"","func":"msg.payload = {\n    'key1':Math.round(Math.random() * 100) + 100,\n    'key2':Math.round(Math.random() * 100) + 100,\n    'key3':Math.round(Math.random() * 100) + 100,\n    'key4':Math.round(Math.random() * 100) + 100,\n    'key5':Math.round(Math.random() * 100) + 100\n};\nreturn msg;","outputs":1,"noerr":0,"x":278,"y":69,"wires":[["9922f63b.66dd08"]]},{"id":"7084c03e.8f7b4","type":"inject","z":"441cee46.bbe31","name":"","topic":"","payload":"","payloadType":"none","repeat":"0.5","crontab":"","once":false,"x":132,"y":69,"wires":[["92e76bc9.6d1898"]]},{"id":"9922f63b.66dd08","type":"metrics","z":"441cee46.bbe31","name":"Sample Metrics","column":"50","routes":[{"key":"key1","legend":"Data1"},{"key":"key2","legend":"Data2"},{"key":"key3","legend":"Data3"},{"key":"key4","legend":"Data4"},{"key":"key5","legend":"Data5"}],"x":437,"y":71,"wires":[["b290612.f4d6fa"]]},{"id":"37909aa4.c86f66","type":"metrics","z":"441cee46.bbe31","name":"テストグラフ","column":"50","routes":[{"key":"value","legend":"値1"},{"key":"value2","legend":"値2"},{"key":"value3","legend":"値3"}],"x":434,"y":157,"wires":[["b290612.f4d6fa"]]},{"id":"6a01382a.95fec8","type":"metrics","z":"441cee46.bbe31","name":"One Source","column":"50","routes":[{"key":"value","legend":"One Source"}],"x":466,"y":225,"wires":[["b290612.f4d6fa"]]}]

License

See [license] (https://github.com/enebular/node-red-contrib-metrics/blob/master/LICENSE) (Apache License Version 2.0).

Node Info

Version: 0.0.1
Updated 1 year, 3 months ago
License: Apache

Downloads

4 in the last day
11 in the last week
58 in the last month

Keywords

  • enebular
  • enebular-agent
  • node-red
  • editor
  • messaging
  • iot
  • m2m
  • flow

Maintainers

  • joeartsea