Skip to content

telemetry-js/publisher-ndjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Click to expand

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

About

Publish metrics as NDJSON to a stream, stdout or stderr.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published