- Lead Maintainer: Jane Quinn
- Sponsor: nearForm
Wrapper to emit metrics to vidi from javascript code
- Work in progress This module is currently a work in progress.
To install the system locally, simply clone the repo,
git clone https://github.com/vidi-insights/vidi-metrics-emitter
Emitter takes JSON message adds time stamp, sends to newly created server and closes connection. To use as a plugin, install via npm:
npm install vidi-metrics-emitter
and use in your code :
var Emitter = require("vidi-metrics-emitter")
...
emitter.emit(goodJson)
...
To run demo version simply use.
npm run demo
It will create a dummy UDP server, when receives message sends it out through emitter.
The nearForm organization encourages open and safe participation.
If you feel you can help in any way, be it with documentation, examples, extra testing, or new features please get in touch.
Copyright (c) 2016, Jane Quinn and other contributors. Licensed under MIT.