Skip to content

tzeweiwee/aws-alarms-histories-mttr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-alarms-histories-mttr

Requires

  1. Node
  2. AWS Account/Setup your credentials first

This helps to measure Mean Time To Recover for DevOps metric for Cloudwatch Alarms. The measurements began when the alarm state change state from OK to ALARM. When the alarm turns to OK, the measurement stops.

The script basically runs an aws command that provides alarm histories (some sort of logs). Simple javascript is used to process the histories and outputs 2 csvs.

Usage

  1. insert alarm names in pull-alarms-history.sh
  2. npm install
  3. run pull-alarms-history.sh with bash
  4. sh pull-alarms-history.sh

To enter alarms you wish to target, you have to specify in pull-alarms-history.sh alarmsNames array

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published