0.1.1 • Published 3 years ago
@telemetry-js/publisher-ndjson v0.1.1
publisher-ndjson
Publish metrics as NDJSON to a file (synchronously), stream, stdout or stderr.
Atelemetry
plugin.
Table of Contents
Usage
const telemetry = require('@telemetry-js/telemetry')()
const ndjson = require('@telemetry-js/publisher-ndjson')
telemetry.task()
.collect(..)
.schedule(..)
.publish(ndjson, './metrics.ndjson')
Options
Yet to document.
Install
With npm do:
npm install @telemetry-js/publisher-ndjson
Acknowledgements
This project is kindly sponsored by Reason Cybersecurity Ltd.
License
MIT © Vincent Weevers
0.1.1
3 years ago