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

mapbox/elb-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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