Skip to content

telemetry-js/processor-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

processor-tag

Add custom tags to all metrics in a task.
A telemetry plugin.

npm status node Test JavaScript Style Guide

Table of Contents

Click to expand

Usage

const telemetry = require('@telemetry-js/telemetry')()
const tag = require('@telemetry-js/processor-tag')

telemetry.task()
  .process(tag, { foo: 'bar', baz: 'bee' })

This will add the foo and baz tags to metrics.

Install

With npm do:

npm install @telemetry-js/processor-tag

Acknowledgements

This project is kindly sponsored by Reason Cybersecurity Ltd.

reason logo

License

MIT © Vincent Weevers