Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.44 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.44 KB

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