0.1.1 • Published 3 years ago

@telemetry-js/publisher-ndjson v0.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

publisher-ndjson

Publish metrics as NDJSON to a file (synchronously), stream, stdout or stderr.
A telemetry plugin.

npm status node Test JavaScript Style Guide

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.

reason logo

License

MIT © Vincent Weevers