Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Latest commit

 

History

History
32 lines (20 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.05 KB

Build Status

elb-metrics

Node module which collects metrics from the ElasticLoadBalacer and makes assertions about the performance of the stack, by calculating the number of requests that were 2xxs, 3xxs, 4xxs, 5xxs and the time taken to get back a response (latency).

Install

git clone [email protected]:mapbox/elb-metrics.git
cd elb-metrics
npm install 
npm link 

You can use elb-metrics as a command line tool:

usage: elb-metrics --startTime --endTime --region --elbname

Note: The options you provide for the startTime and endTime should be unix timestamps. The region refers to the region of ElasticLoadBalancer you require the details for. The elbname refers to the name of the ElasticLoadBalancer which you can get by searching the AWS console.

Tests

After cloning and installing elb-metrics you can run tests by running:

npm test