0.0.5 • Published 5 years ago

@telemetry-js/collector-aws-lb v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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

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