Start a Conversation

Unsolved

This post is more than 5 years old

1022

April 11th, 2016 22:00

How to use cluster-name in performance query for xtremIO?

The query [/api/json/v2/types/performance?cluster-name=XtrmIOCluster&entity=Cluster] is returning HTTP response code 400. What is the correct syntax to query for entity belonging to a particular cluster?

3 Posts

April 18th, 2016 20:00

Hi,

Yes i am using the GET.

The api works fine when i do not mention the cluster-name, but with cluster-name it gives HTTP response code 400.

And also what are the parameters i need to pass to get the performance metrics of a particular element (say for example target) for just the time when i am making the api call (i.e. real time data).

33 Posts

April 19th, 2016 08:00

What version of XtremIO are you running?

To get particular performance metrics of particular element for just that point in time, you should use granularity=ray.

Example:

api/json/v2/types/performance?entity=Cluster&granularity=raw&limit=1

No Events found!

Top