A Javascript library for collecting, aggregating  and plotting real-time metrics from JSON data using flot