Package Exports
- @telemetry-js/processor-ec2-instance-name
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@telemetry-js/processor-ec2-instance-name) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
processor-ec2-instance-name
Add name tag of EC2 instance to metrics. The instance tag is normalized to lowercase. If you need more tags, use
processor-ec2-instance-tagsinstead.
Atelemetryplugin.
Table of Contents
Click to expand
Usage
const telemetry = require('@telemetry-js/telemetry')()
const name = require('@telemetry-js/processor-ec2-instance-name')
telemetry.task()
.process(name)
// Or with options
telemetry.task()
.process(name, { /* options */ })Options
Any options are passed down to processor-ec2-instance-tags. You normally shouldn't need this.
Install
With npm do:
npm install @telemetry-js/processor-ec2-instance-nameAcknowledgements
This project is kindly sponsored by Reason Cybersecurity Ltd.
License
MIT © Vincent Weevers
