collector-aws-lb
Collect a count of AWS LB nodes. For classic and application load balancers (PR welcome for network load balancers).
Atelemetry
plugin.
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.
License
MIT © Vincent Weevers