2 Iron

XtremIO performance query time limits

Hi

I am trying to use a query with time limits for XtremIO and XIO2. Below is the sample query:

https://xioms01/api/json/v2/types/performance?cluster-name=xio01&entity=Volume&granularity=one_minut...

https://xioms01/api/json/v2/types/performance?cluster-name=xio01&entity=Target&granularity=one_minut...

When the above URL is run for a time interval of 2018-08-16 19:58:34 to 2018-08-16 20:13:34 (time is GMT), it is noticed that the data for  closest hour is returned. E.g in above case data till 20:00. So I get back only two samples for each Target. 19:59 and 20:00.

Is this how it is supposed to work? Does it mean it does not have data for 20:01, 20:02 etc? Or any time we specify time interval, it will return till closest hour.

Also I have in query "&obj-list=", I assume I can pass either, object name or index. Is that correct? We have both XIO (rest api 4.0) and XIO2(rest api 6) arrays and would like to use the same query for performance.

Reply