forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
557 lines
22 KiB
HTML
557 lines
22 KiB
HTML
<a name="EN-US_TOPIC_0000002080257337"></a><a name="EN-US_TOPIC_0000002080257337"></a>
|
|
|
|
<h1 class="topictitle1">Monitoring a Resource Pool</h1>
|
|
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to obtain the monitored resource pool information.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002080257337__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p>GET /v2/{project_id}/pools/{pool_name}/monitor</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p>Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p>pool_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p>Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p>Automatically generated resource pool name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p>Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p>time_range</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p>No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p>Default value: <strong>-1.-1.60</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p>statistics</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p>No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p>Default value: <strong>maximum</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p>period</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p>No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p>Default value: <strong>60</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Request Parameters</h4><p>None</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Response Parameters</h4><p><strong>Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002080257337__response_PoolMonitor" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>metrics</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of <a href="#EN-US_TOPIC_0000002080257337__response_metrics">metrics</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Metric list. The value is a JSON array that contains a maximum of 20 objects.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002080257337__response_metrics"></a><a name="response_metrics"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002080257337__response_metrics" frame="border" border="1" rules="all"><caption><b>Table 4 </b>metrics</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>metric</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p><a href="#EN-US_TOPIC_0000002080257337__response_metric">metric</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Metrics</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>dataPoints</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Array of <a href="#EN-US_TOPIC_0000002080257337__response_dataPoints">dataPoints</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Key metrics</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002080257337__response_metric"></a><a name="response_metric"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002080257337__response_metric" frame="border" border="1" rules="all"><caption><b>Table 5 </b>metric</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p>dimensions</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Array of <a href="#EN-US_TOPIC_0000002080257337__response_dimensions">dimensions</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Dimensions</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p>metricName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Metric name. Options:</p>
|
|
<ul><li><p><strong>cpuUsage</strong>: CPU usage</p>
|
|
</li><li><p><strong>memUsedRate</strong>: memory usage</p>
|
|
</li><li><p><strong>gpuUtil</strong>: GPU usage</p>
|
|
</li><li><p><strong>gpuMemUsage</strong>: used GPU memory</p>
|
|
</li><li><p><strong>npuUtil</strong>: NPU usage</p>
|
|
</li><li><p><strong>npuMemUsage</strong>: used NPU memory</p>
|
|
</li><li><p><strong>diskCapacity</strong>: disk capacity</p>
|
|
</li><li><p><strong>diskAvailableCapacity</strong>: available disk capacity</p>
|
|
</li><li><p><strong>diskUsedRate</strong>: disk usage</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p>namespace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Metric namespace. Options:</p>
|
|
<ul><li><p><strong>PAAS.CONTAINER</strong>: namespace of component, instance, process, and container metrics</p>
|
|
</li><li><p><strong>PAAS.NODE</strong>: namespace of host, network, disk, and file system metrics</p>
|
|
</li><li><p><strong>PAAS.SLA</strong>: namespace of SLA metrics</p>
|
|
</li><li><p><strong>PAAS.AGGR</strong>: namespace of cluster metrics</p>
|
|
</li><li><p><strong>CUSTOMMETRICS</strong>: default namespace of custom metrics</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002080257337__response_dimensions"></a><a name="response_dimensions"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002080257337__response_dimensions" frame="border" border="1" rules="all"><caption><b>Table 6 </b>dimensions</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p>name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Metric dimension name</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p>value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Metric dimension value</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002080257337__response_dataPoints"></a><a name="response_dataPoints"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002080257337__response_dataPoints" frame="border" border="1" rules="all"><caption><b>Table 7 </b>dataPoints</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p>timestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Timestamp</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p>unit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Time series unit</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p>statistics</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>Array of <a href="#EN-US_TOPIC_0000002080257337__response_statistics">statistics</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>List of statistical values</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002080257337__response_statistics"></a><a name="response_statistics"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002080257337__response_statistics" frame="border" border="1" rules="all"><caption><b>Table 8 </b>statistics</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p>statistic</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Statistical mode. Options:</p>
|
|
<ul><li><p><strong>maximum</strong>: maximum value statistics</p>
|
|
</li><li><p><strong>average</strong>: average value statistics</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p>value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p>Float</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Statistical result. The value <strong>-1</strong> indicates invalid data.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p><strong>Status code: 404</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002080257337__response_ErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p>error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p>error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Example Requests</h4><p>Obtain the monitored resource pool information.</p>
|
|
<pre class="screen">GET https://{endpoint}/v2/{project_id}/pools/{pool_name}/monitor
|
|
|
|
{ }</pre>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Example Responses</h4><p><strong>Status code: 200</strong></p>
|
|
<p>OK</p>
|
|
<pre class="screen">{
|
|
"metrics" : [ {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "cpuUsage",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 7.944
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 7.88
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "memUsedRate",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 13.83
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 13.836
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "gpuUtil",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : -1
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : -1
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "gpuMemUsage",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : -1
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : -1
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "npuUtil",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : -1
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : -1
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "npuMemUsage",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : -1
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : -1
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "diskAvailableCapacity",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "Megabytes",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 834383.4
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "Megabytes",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 834379.2
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "diskCapacity",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "Megabytes",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 1105920
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "Megabytes",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 1105920
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"metric" : {
|
|
"dimensions" : [ {
|
|
"name" : "clusterId",
|
|
"value" : "83df17f1-d74c-11ec-a070-0255ac1000c3"
|
|
} ],
|
|
"metricName" : "diskUsedRate",
|
|
"namespace" : "PAAS.AGGR"
|
|
},
|
|
"dataPoints" : [ {
|
|
"timestamp" : 1655193600000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 24.553
|
|
} ]
|
|
}, {
|
|
"timestamp" : 1655197200000,
|
|
"unit" : "Percent",
|
|
"statistics" : [ {
|
|
"statistic" : "average",
|
|
"value" : 24.553
|
|
} ]
|
|
} ]
|
|
} ]
|
|
}</pre>
|
|
<p><strong>Status code: 404</strong></p>
|
|
<p>Not found.</p>
|
|
<pre class="screen">{
|
|
"error_code" : "ModelArts.50015001",
|
|
"error_msg" : "pool not found"
|
|
}</pre>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002080257337__status_code" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p>Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p>200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p>OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p>404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p>Not found.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Error Codes</h4><p>See <a href="modelarts_03_0095.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="pools_management.html">Resource Pool Management</a></div>
|
|
</div>
|
|
</div>
|
|
|