Thursday, February 13, 2014

Show xively response in graphical format

As I already described earlier in my previous post (How to log performance in xyvely) you can configure a simple script to post performance numbers to xively service. Today I can show you a nice way to automatically generate a graph which shows the performance of your web site as a picture.


It works pretty quickly, try out this URL:

http://api.pachube.com/v2/feeds/104729/datastreams/prd-v10165-ibmcom.png?width=400&height=80&duration=4days&detailed_grid=true&show_axis_labels=true&timezone=UTC

Note the parameters of the request:


width=400 # Picture size
height=80 # Picture size
duration=4days # Duration of timeframe you would like to see
detailed_grid=true # Show detailed grid
show_axis_labels=true # Show labels on the axis
timezone=UTC  # Which timezone to use when you show the picture

Here is what it would show to you (live):

No comments:

Post a Comment