Skip to content

Instantly share code, notes, and snippets.

View dkuebric's full-sized avatar

Dan Kuebrich dkuebric

View GitHub Profile
@trjordan
trjordan / plot_api_data.py
Last active December 12, 2015 08:09
matplotlib script to create a couple of charts from AppNeta TraceView's API.
#!/usr/bin/env python
#
# Unwrap the data from the Data API, and make a couple of plots.
# 1) Plot of volume and latency
# 2) Plot of scalability of the current application
#
# Assumes data from the week-long view (i.e., 4-hour chunks of data). If this
# isn't true, the labels will be wrong.
#
# Try running it like this: