XtremIO - RESTAPI Performance (Time Frame and Granularity) questions?
Morning,
I have been using the RESTAPI 4.0.2 guide for constructing RESTAPI performance calls to our XIO clusters.
1. It appears that I can set a granularity of raw. However when this is set all the performance data points in the returned JSON object have a value of null. Am I to assume that RAW data is not available on the object type "Target" ? If this is the case is the smallest sample point then limited to "one_minute" ?
2. When looking at time-frame I notice "real_time" and "custom_time" can be used. How should these be used? An example would be very helpful. Real_time does not appear to bring any data points back in the JSON object and I can see no examples of how custom_time should be used.
RAW data is available for Target. Null values could be observed if you are running this API call against targets which aren't being utilized (Ex. you have deployed FC only and not specifying "entity-index" or "entity-name" and therefore receiving back iSCSI targets as well; you have not zoned an in initiator to all targets). But if you are driving IO to these targets, you should not see null.
Regarding the second, I am observing the same with real_time. I am checking back with some eng resources and will get back to you.
I can confirm that all performance values when calling RAW were null, as you say this is expected for the iSCSI targets as we are full FC however FC stats also return null values. This was coming from a cluster running 40,000 IOPS and about 900mb/s so I would have certainly expected to see some non null data coming back.
If you remove the &prop= filters from this call then raw data points are returned. I can not cut and paste into this window or I would share the JSON output.
Do you have any examples on how to use the time-frame custom_time call?
mabela
33 Posts
522
0
Posted March 10th, 2016 07:00
Hello,
RAW data is available for Target. Null values could be observed if you are running this API call against targets which aren't being utilized (Ex. you have deployed FC only and not specifying "entity-index" or "entity-name" and therefore receiving back iSCSI targets as well; you have not zoned an in initiator to all targets). But if you are driving IO to these targets, you should not see null.
Regarding the second, I am observing the same with real_time. I am checking back with some eng resources and will get back to you.
-Marco