You can obtain a list of metrics for volumes.
Execution permission
Admin, Modify
Request line
GET baseURL/v1/objects/PerformanceVolume?$query={HQL}&basePointNodeID={nodeID}&basePointNodeType={E2ENodeType}&pointTimeRange={range}&page={page}&pageSize={size}&baseTime={dateTime}&conflict={conflict}
Query parameters
The following table describes the values for the supported parameters of a query string:
Parameter |
Description |
---|---|
$query={HQL} |
(Required) Using HQL. Specify the following parameters. MetricType ((Required) Only one value can be specified.) componentID ((Optional) Only one value can be specified.) Filtering conditions: Specify using HQL standard. |
basePointNodeID={nodeID} |
(Required) Specify 1 or more base IDs. Filtering conditions: Checks whether the value is included in the comparison target. Multiple values separated by a comma (,) can be specified. |
basePointNodeType={E2ENodeType} |
(Required) Specify the E2E node type. Filtering conditions: Checks whether the comparison target is equal to the value |
pointTimeRange={range} |
(Required) Specify the time period to be displayed. Filtering conditions: Checks whether the comparison target is equal to the value |
page={page} |
(Optional) Specify the paging information (page to be obtained). Filtering conditions: Checks whether the comparison target is equal to the value |
pageSize={size} |
(Optional) Specify the number of items that can be displayed on 1 page. Filtering conditions: Checks whether the comparison target is equal to the value |
baseTime={dateTime} |
(Optional) Specify the display start time. Filtering conditions: Checks whether the comparison target is equal to the value |
conflict={conflict} |
(Optional) Specify the method used for calculating the aggregation value ("null" or "peak" or "average"). Filtering conditions: Checks whether the comparison target is equal to the value |
Request body
Not applicable.
Response body
The structure of the response body and the object attributes is as follows:Collections
{ "data":["...", ...], "pagination":{ "page":"...", "pageSize":"...", "numPages":"...", "totalCount":"..." }, "count":"..." }
Collections (Type: Collections)
Attribute |
Type |
Description |
---|---|---|
data |
anyType[] |
A list of PerformanceVolume objects. For details, see the table below. |
pagination |
Pagination |
Page information. This parameter is displayed only when the relevant resource exists. |
count |
int |
Number of data items that meet the conditions related to this query(API). |
pagination (Type: Pagination)
Attribute |
Type |
Description |
---|---|---|
page |
integer |
Page. |
pageSize |
integer |
Size of page. |
numPages |
integer |
Number of pages. |
totalCount |
integer |
Number of objects. |
PerformanceVolume
{ "instanceID":"...", "componentID":"...", "componentName":"...", "metricType":"...", "status":"...", "parentNodeID":"...", "parentNodeName":"...", "poolName":"...", "pgName":"...", "thresholdProfileName":"...", "performancePeakLatest":"...", "performancePeakWorst":"...", "performanceAverageLatest":"...", "performanceAverageWorst":"...", "hostGroupIDs":["...", ...], "hostGroupNames":["...", ...], "vssbComputeNodeNames":["...", ...], "nvmHostNicknames":["...", ...], "lunOwnerIDs":["...", ...], "lunOwnerNames":["...", ...] }
PerformanceVolume (Type: PerformanceVolume)
Attribute |
Type |
Description |
---|---|---|
instanceID |
string |
ID of the performance information of the volume. |
componentID |
string |
ID of the volume. |
componentName |
string |
Name of the volume. |
metricType |
enum |
ID of the metric. (For details about the valid values, see the table MetricType in List of enumerators.) |
status |
enum |
Status of the performance information. (For details about the valid values, see the table ElementStatusType in List of enumerators.)
|
parentNodeID |
string |
ID of the storage system. |
parentNodeName |
string |
Name of the storage system. |
poolName |
string |
Name of the pool. |
pgName |
string |
Name of the parity group. |
thresholdProfileName |
string |
Name of the threshold profile. |
performancePeakLatest |
float |
Latest peak performance value within the specified period. |
performancePeakWorst |
float |
Peak performance value that is closest to the abnormality line within the specified period. |
performanceAverageLatest |
float |
Latest average performance value within the specified period. |
performanceAverageWorst |
float |
Average performance value that is closest to the abnormality line within the specified period. |
hostGroupIDs |
string[] |
ID of the host group that a volume belongs to. |
hostGroupNames |
string[] |
Name of the host group that a volume belongs to. |
vssbComputeNodeNames |
string[] |
The Compute Node of the VSP One SDS Block volume. |
nvmHostNicknames |
string[] |
NVM host nickname of the volume. |
lunOwnerIDs |
string[] |
ID of the LUN Owner that a volume is associated with. |
lunOwnerNames |
string[] |
Name of the LUN Owner that a volume is associated with. |
Status codes
Status code |
Reason phrase |
Description |
---|---|---|
200 |
OK |
Success. |
400 |
Bad Request |
A query parameter is invalid. |
401 |
Unauthorized |
No login privilege. |
412 |
Precondition Failed |
The server is not available. |
500 |
Internal Server Error |
Server processing error. |
503 |
Service Unavailable |
Analyzer detail view server communication error. |
Example code
[Request Header] GET /Analytics/v1/objects/PerformanceVolume?%24query=metricType%20eq%20%27RAID_VOLUME_RAIDLDEV_TOTALIOPS%27&basePointNodeID=raidLdev%2310000-00%5E00%5E63&basePointNodeType=STORAGE_VOLUME&pointTimeRange=86400000 Authorization: Basic c3lzdGVtOm1hbmFnZXI= Host: localhost:22015 Accept: application/json Content-Type: application/json [Response Header] HTTP/1.1 200 OK Date: Wed, 10 Aug 2016 10:11:48 GMT Server: Cosminexus HTTP Server Cache-Control: no-cache WWW-Authenticate: HSSO 4f5dd90606cb15e3c72928995be8eb650f2de69_YXZvNFIMehp3UB4jbmVyPGUgT3Q=_V0810 X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Transfer-Encoding: chunked Content-Type: application/json [Response Body] { "data" : [ { "instanceID" : "raidLdev#10000-00^00^63#RAID_VOLUME_RAIDLDEV_TOTALIOPS", "componentID" : "raidLdev#10000-00^00^63", "componentName" : "00:00:63", "metricType" : "RAID_VOLUME_RAIDLDEV_TOTALIOPS", "status" : "Normal", "parentNodeID" : "raidStorage#10000", "parentNodeName" : "VSP 5500H (10000)", "label" : "BasicVol_00099", "pgName" : "01-29", "thresholdProfileName" : "Default Profile for Volume", "performancePeakLatest" : 154.0, "performancePeakWorst" : 741.0, "performanceAverageLatest" : 154.0, "performanceAverageWorst" : 741.0 } ], "count" : 1 }