Skip to content

Stupidly simple PHP/JS CloudWatch live grapher making use of flot.

Notifications You must be signed in to change notification settings

evanlivingston/cloudwatch-livegraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudwatch-livegraph

An API for generating json, and UI for generating graphs from AWS cloudwatch metric data. Graphing done with flot. Enhancements welcomed!

simple graph showing requests to an ELB.

Usage

To generate json:

localhost/cloudwatch-livegraph/json.php?ns=AWS/EC2&metric=RequestCount&start=-8%20hours&end=now&interval=60&id=i-baba23342&dim=InstanceId&mtype=Sum&utype=Count

Go generate graphs:

localhost/cloudwatch-livegraph/graph.php

Requirements

PHP SDK for Amamazon AWS must be properly installed and configured with your AWS credentials. aws-sdk-for-php

Notes

Combinations of the metric parameters are tricky. Querying AWS for them takes an enormous amount of time. Currently the data is stored in metrics.json.

About

Stupidly simple PHP/JS CloudWatch live grapher making use of flot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.3%
  • PHP 5.7%