processor-tag
Add custom tags to all metrics in a task.
Atelemetry
plugin.
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.
License
MIT © Vincent Weevers