forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
561 lines
23 KiB
HTML
561 lines
23 KiB
HTML
<a name="EN-US_TOPIC_0000001909848076"></a><a name="EN-US_TOPIC_0000001909848076"></a>
|
|
|
|
<h1 class="topictitle1">Monitoring a Resource Pool</h1>
|
|
<div id="body0000001599745697"><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_0000001909848076__atuogenerate_1"><h4 class="sectiontitle">Debugging</h4><p>You can debug this API through automatic authentication in or use the SDK sample code generated by API Explorer.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001909848076__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.3.3.2.5.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p>Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p>Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Project ID. For details, see <a href="modelarts_03_0147.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>pool_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p>Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.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.3.4.2.5.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p>Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p>time_range</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p>No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p>Query time range. The default value is -1.-1.60. The format is startTimeInMillis.endTimeInMillis.durationInMinutes. The parameters are described as follows:</p>
|
|
<ul><li><p>startTimeInMillis: query start time, in milliseconds. If this parameter is set to -1, the server calculates the start time based on (endTimeInMillis - durationInMinutes * 60 * 1000).</p>
|
|
</li><li><p>endTimeInMillis: query end time, in milliseconds. If this parameter is set to -1, the server calculates the end time based on startTimeInMillis + durationInMinutes * 60 * 1000. If the calculated end time is later than the current system time, the current system time is used.</p>
|
|
</li><li><p>durationInMinutes: time span (in minutes) of the query time. The value must be greater than 0 and greater than or equal to (endTimeInMillis - startTimeInMillis) / (60 * 1000) - 1. If both the start time and end time are set to -1, the system sets the end time to the current time in milliseconds and calculates the start time based on (endTimeInMillis - durationInMinutes * 60 * 1000). Example: -1.-1.60 (indicating the last 60 minutes) Constraint: In a single request, the query duration and period must meet the following condition: durationInMinutes * 60 / period <= 1440.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p>statistics</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p>No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p>Statistic. The options are as follows:</p>
|
|
<ul><li><p>maximum: maximum value statistics, which is the default value</p>
|
|
</li><li><p>minimun: minimum value statistics</p>
|
|
</li><li><p>sum: sum statistics</p>
|
|
</li><li><p>average: average value statistics</p>
|
|
</li><li><p>sampleCount: sampling statistics</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p>period</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p>No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p>Monitoring data granularity, in seconds. The options are as follows:</p>
|
|
<ul><li><p>60: The granularity is 1 minute, which is the default value.</p>
|
|
</li><li><p>300: The granularity is 5 minutes.</p>
|
|
</li><li><p>900: The interval is 15 minutes.</p>
|
|
</li><li><p>3600: The force is 1 hour.</p>
|
|
</li></ul>
|
|
</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_0000001909848076__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.5.3.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p>metrics</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p>Array of <a href="#EN-US_TOPIC_0000001909848076__response_metrics">metrics</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p>Specifies the list of metric objects. Value range: The JSON array size cannot exceed 20.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001909848076__response_metrics"></a><a name="response_metrics"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001909848076__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.5.4.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p>metric</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p><a href="#EN-US_TOPIC_0000001909848076__response_metric">metric</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p>Indicates the indicator parameter set.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p>dataPoints</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p>Array of <a href="#EN-US_TOPIC_0000001909848076__response_dataPoints">dataPoints</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p>Key metric.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001909848076__response_metric"></a><a name="response_metric"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001909848076__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.5.5.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p>dimensions</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p>Array of <a href="#EN-US_TOPIC_0000001909848076__response_dimensions">dimensions</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p>List of metric dimensions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p>metricName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p>Metric name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p>namespace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p>Specifies the metric namespace The options are as follows:</p>
|
|
<ul><li><p>PAAS.CONTAINER: namespace of component metrics, instance metrics, process metrics, and container metrics</p>
|
|
</li><li><p>PAAS.NODE: namespace of host, network, disk, and file system metrics</p>
|
|
</li><li><p>PAAS.SLA: indicates the namespace of SLA metrics.</p>
|
|
</li><li><p>PAAS.AGGR: namespace of cluster metrics</p>
|
|
</li><li><p>CUSTOMMETRICS: default namespace of a user-defined metric</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001909848076__response_dimensions"></a><a name="response_dimensions"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001909848076__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.5.6.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.6.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p>name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p>Indicator dimension name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p>value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p>Indicator dimension value.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001909848076__response_dataPoints"></a><a name="response_dataPoints"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001909848076__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.5.7.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p>timestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p>Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p>Timestamp.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p>unit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p>Time series unit.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p>statistics</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p>Array of <a href="#EN-US_TOPIC_0000001909848076__response_statistics">statistics</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p>List of statistical values.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001909848076__response_statistics"></a><a name="response_statistics"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001909848076__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.5.8.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.8.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p>statistic</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p>Statistic.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p>value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p>Float</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p>Statistical result.</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_0000001909848076__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.5.10.2.4.1.1"><p>Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.2"><p>Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.10.2.4.1.3"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p>error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.10.2.4.1.3 "><p>Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p>error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p>String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.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_0000001909848076__status_code" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p>Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p>Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p>200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p>OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p>404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.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="topic_300000008.html">Resource pool management</a></div>
|
|
</div>
|
|
</div>
|
|
|