Skip to content

Instantly share code, notes, and snippets.

@samdjohnson
Last active August 29, 2015 14:07
Show Gist options
  • Save samdjohnson/2c7f6a237041414a4073 to your computer and use it in GitHub Desktop.
Save samdjohnson/2c7f6a237041414a4073 to your computer and use it in GitHub Desktop.
Time Series Roll Up w/ TempoIQ
session = get_session('tempo-iq-backend-url', key, secret)
session.query(Sensor).filter(Device.key == 'foo').rollup(['avg','max','min'], 'PT15M').read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment