def query_timeseries(self, query, from_time=None, to_time=None): """ Query time series. @param query: Query string. @param from_time: Start of the period to query (optional). @param to_time: End of the period to query (default = now). @return: A list of ApiTimeSeriesResponse. """ return timeseries.query_timeseries(self, query, from_time, to_time)
def query_rollup(self, query, from_time, to_time, desired_rollup=None, must_use_desired_rollup=None): return timeseries.query_timeseries(self._api, query, from_time, to_time, desired_rollup, must_use_desired_rollup)