@telemetry-js/collector-aws-lb

0.0.5 • Public • Published

collector-aws-lb

Collect a count of AWS LB nodes. For classic and application load balancers (PR welcome for network load balancers).
A telemetry plugin.

npm status node Test JavaScript Style Guide

Table of Contents

Click to expand

Usage

const telemetry = require('@telemetry-js/telemetry')()
const lb = require('@telemetry-js/collector-aws-lb')

telemetry.task()
  .collect(lb, { region: 'us-east-1', names: ['my-load-balancer'] })
  .collect(lb, { region: 'us-west-2', names: ['other-load-balancer'] })

API

Options

  • region: string, required.
  • names: array of load balancers to include by name. If not specified, all load balancers (within the specified region) are included.

Install

With npm do:

npm install @telemetry-js/collector-aws-lb

Acknowledgements

This project is kindly sponsored by Reason Cybersecurity Ltd.

reason logo

License

MIT © Vincent Weevers

Package Sidebar

Install

npm i @telemetry-js/collector-aws-lb

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

6.13 kB

Total Files

4

Last publish

Collaborators

  • vweevers