Start a Conversation

Unsolved

This post is more than 5 years old

1656

August 20th, 2018 16:00

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_minute&from-time=2018-08-16%2019:58:34&to-time=2018-08-16%2020:13:34&prop=avg__wr_bw&prop=avg__rd_bw&prop=avg__iops&prop=avg__wr_iops&prop=avg__rd_iops&prop=avg__avg_latency&prop=avg__rd_latency&prop=avg__wr_latency&prop=avg__logical_space_in_use&prop=avg__bw&obj-list=v25&obj-list=v26&obj-list=v27&obj-list=v28&obj-list=v21&obj-list=v22&obj-list=v23&obj-list=v24&obj-list=v29&obj-list=v30&obj-list=v09&obj-list=v03&obj-list=v02&obj-list=v05&obj-list=v04&obj-list=v07&obj-list=v06&obj-list=v10&obj-list=v08&obj-list=v14&obj-list=v13&obj-list=v12&obj-list=v11&obj-list=v40&obj-list=v39&obj-list=v16&obj-list=v15&obj-list=v18&obj-list=v17&obj-list=v34&obj-list=v33&obj-list=v32&obj-list=v31&obj-list=v38&obj-list=v37&obj-list=v36&obj-list=v35&obj-list=v20&obj-list=v19

https://xioms01/api/json/v2/types/performance?cluster-name=xio01&entity=Target&granularity=one_minute&from-time=2018-08-16%2019:58:34&to-time=2018-08-16%2020:13:34&prop=avg__rd_latency&prop=avg__wr_latency&prop=avg__avg_latency&prop=avg__bw&prop=avg__wr_bw&prop=avg__rd_bw&prop=avg__iops&prop=avg__wr_iops&prop=avg__rd_iops&obj-list=X1-SC1-fc1&obj-list=X1-SC1-iscsi1&obj-list=X1-SC1-fc2&obj-list=X1-SC2-fc1&obj-list=X1-SC1-iscsi2&obj-list=X1-SC2-iscsi1&obj-list=X1-SC2-fc2&obj-list=X1-SC2-iscsi2

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.

No Responses!
No Events found!

Top