What?
pyawschart is a Python library for generating charts for Amazon Web Services based on Amazon CloudWatch data.
Why?
Amazon's cloud services provide infrastructure metrics data via it's CloudWatch data API. This library aims to render this data more accessible by creating powerful (and pretty) data visualizations.
Download
Get the source code from GitHub.
Usage
import boto
from pyawschart import RANGES
from pyawschart.rds import CPUUtilizationChart
# Connect with boto
conn = boto.connect_cloudwatch(AWS_ACCESS_KEY AWS_SECRET_ACCCES_KEY)
chart = CPUUtilizationChart(conn, 'my-rds-instance', RANGES['hour'])
# Display chart url
print chart.get_url()
# Download chart image
chart.download('/tmp/my-rds-instance-cpu-hourly.png')
Known issues
| Please see the GitHub project for known issues and to submit bugs and other feedback:
https://github.com/tomatohater/pyawschart/issues
Credit where credit is due
This project makes extensive use of boto and Python Google Chart. Thanks!