@telemetry-js/processor-tag

0.0.5 • Public • Published

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

Package Sidebar

Install

npm i @telemetry-js/processor-tag

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

3.86 kB

Total Files

4

Last publish

Collaborators

  • vweevers