JSPM

@telemetry-js/processor-ec2-instance-name

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q27898F
  • License MIT

Add name tag of EC2 instance to metrics

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-tags instead.
A telemetry plugin.

npm status node Test JavaScript Style Guide

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-name

Acknowledgements

This project is kindly sponsored by Reason Cybersecurity Ltd.

reason logo

License

MIT © Vincent Weevers