Start a Conversation

Unsolved

This post is more than 5 years old

1353

March 28th, 2017 07:00

How to get cumulative counter values from XtremIO

I am familiar with performance data collection of EMC VMAX and DMX, where performance data is exposed as an incremented counter.

For example, number of IOPS collected at 12PM and 12.15 PM will have either the same value or incremented value depending upon the activity in the storage system

I am looking for the same functionality with XtremIO. My requirement is to collect raw data from XtremIO device at user configured interval and calculate throughput, IOPS and latency.

I have executed the following query in an interval of 15 minutes.

/api/json/v2/types/performance?cluster-name= &entity=Volume&entity-name= &granularity=raw&limit=1

But, values returned for “bw”,”iops””avg_latency” etc, for the second execution was lesser than the first one. This indicates the values are cumulative (not incremented periodically)

How can I retrieve incremented raw counter values from XtremIO device? What REST query I need to use?

Any help is highly appreciated.

Regards,

Pratheep

727 Posts

March 28th, 2017 13:00

Hi Pratheep,

The performance numbers reported through RestAPI are instantaneous values and represent the numbers at that instant of time. Why do you want to get the cumulative numbers?

9 Posts

March 29th, 2017 08:00

Thank you Avi for the reply.

I have a requirement where performance data needs to be collected based on user configured time interval and generate charts.

For example, if user is configured 15 minutes to collect IOPs from XtremIO device, a graph is plotted with

IOPs / Second in every 15 minutes. If the counter value is cumulative, this can be achieved after applying certain calculations.

How do I achieve the same functionality with XtremIO? 

Thank you,

Pratheep

727 Posts

March 29th, 2017 20:00

You can retrieve the performance history (using RestAPI) - have you looked at the performance API and the granularity options?

9 Posts

March 30th, 2017 06:00

Hello Avi,

When I experimented with "prop=bw&granularity=one_minute&limit=15", I found 15 data points with interval of 1 minute.

I assume this is the average bandwidth(bytes transmitted) in bytes for the past 15 minutes. Is my assumption correct?

Or is there a better way?

Thank you for your help, much appreciated.

Regards,

Pratheep

727 Posts

March 30th, 2017 13:00

The values that you are receiving is the instantaneous bandwidth at that point of time. It is not an average over the 1 minute interval.

9 Posts

March 31st, 2017 06:00

If the url is formed as "prop=bw&granularity=one_minute&aggregation-type=avg&limit=15", will I get last 15 minutes average bandwidth? If not, how can I get that?

727 Posts

March 31st, 2017 14:00

No, you are not going to get the average for the last 15 minutes. Thats something that you have to collect from the script and calculate in your software.

No Events found!

Top