CES API 20241015 version

Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
This commit is contained in:
Yang, Tong 2024-10-22 11:17:42 +00:00 committed by zuul
parent fa6d2517b0
commit d75e275491
23 changed files with 3765 additions and 797 deletions

View File

@ -277,7 +277,7 @@
"node_id":"en-us_topic_0032831274.xml",
"product_code":"ces",
"code":"16",
"des":"This API is used to add one or more pieces of custom metric monitoring data to solve the problem that the system metrics cannot meet specific service requirements.POST /V",
"des":"This API is used to add one or more pieces of custom metric monitoring data to solve the problem that the system metrics cannot meet specific service requirements.For det",
"doc_type":"api",
"kw":"Adding Monitoring Data,Monitoring Data,API Reference",
"search_title":"",

View File

@ -135,7 +135,7 @@
"code":"15"
},
{
"desc":"This API is used to add one or more pieces of custom metric monitoring data to solve the problem that the system metrics cannot meet specific service requirements.POST /V",
"desc":"This API is used to add one or more pieces of custom metric monitoring data to solve the problem that the system metrics cannot meet specific service requirements.For det",
"product_code":"ces",
"title":"Adding Monitoring Data",
"uri":"en-us_topic_0032831274.html",

View File

@ -172,7 +172,7 @@
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.1.7.1.2 "><p id="ErrorCode__p78637141424">ces.0014</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.1.7.1.3 "><p id="ErrorCode__p1686421419422">Some content in the message body is correct.</p>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.1.7.1.3 "><p id="ErrorCode__p1686421419422">Some content in the message body is incorrect.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.4.2.1.7.1.4 "><p id="ErrorCode__p1893912710480">Some content in message body is not correct.</p>
</td>

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
<a name="ces_03_0001"></a><a name="ces_03_0001"></a>
<h1 class="topictitle1">API Usage Guidelines</h1>
<div id="body1536561827536"><p id="ces_03_0001__a253918ebb3b34a26a9ab78ea458aeca7">Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: <em id="ces_03_0001__a4418e42505ca42c1b6b86db355025a93">https://Endpoint/uri</em>. In the URL,<strong id="ces_03_0001__a0b79c8ead7a6495db92632e3745515ab">uri</strong> indicates the resource path, that is, the API access path.</p>
<div id="body1536561827536"><p id="ces_03_0001__a253918ebb3b34a26a9ab78ea458aeca7">Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: <em id="ces_03_0001__a4418e42505ca42c1b6b86db355025a93">https://Endpoint/uri</em>. In the URL, <strong id="ces_03_0001__a0b79c8ead7a6495db92632e3745515ab">uri</strong> indicates the resource path, that is, the API access path.</p>
<p id="ces_03_0001__a222471448a1b4c6b8fc6e58a4cfabf09">Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted by using JSON messages, with media type represented by <strong id="ces_03_0001__a35b00c45a80145af8b3b60a7dd1c7fb7">Application/json</strong>.</p>
<p id="ces_03_0001__p188289482118">For details about how to use APIs, see <a href="https://docs.otc.t-systems.com/en-us/api/apiug/apig-en-api-180328001.html?tag=API Documents" target="_blank" rel="noopener noreferrer">API Usage Guidelines</a>.</p>
<p id="ces_03_0001__p185084118">An endpoint is the <strong id="ces_03_0001__b7716151719124">request address</strong> for calling an API. Endpoints vary depending on services and regions. For example, the endpoint of the eu-de region is <strong id="ces_03_0001__b13687565511">ces.eu-de.otc.t-systems.com</strong>. For the endpoints of all services, see <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>

View File

@ -2,6 +2,8 @@
<h1 class="topictitle1">Querying Metrics</h1>
<div id="body38092103"><div class="section" id="ces_03_0023__section66578044"><h4 class="sectiontitle">Function</h4><p id="ces_03_0023__p65561530">This API is used to query metrics supported by Cloud Eye. You can specify the namespace, metric, dimension, sorting order, start records, and the maximum number of records when using this API to query metrics.</p>
<div class="notice" id="ces_03_0023__note199901827141210"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="ces_03_0023__p899013276126">After a cloud service resource is deleted, its data is cached for 3 hours, so metrics of the resource can still be queried within the 3 hours.</p>
</div></div>
</div>
<div class="section" id="ces_03_0023__section62331491"><h4 class="sectiontitle">URI</h4><p id="ces_03_0023__p48490504">GET /V1.0/{project_id}/metrics</p>
<ul id="ces_03_0023__ul877151695511"><li id="ces_03_0023__li107715160552">Parameter description
@ -41,7 +43,7 @@
</td>
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.3.1.2.1.2.5.1.3 "><p id="ces_03_0023__p46188171163044">String</p>
</td>
<td class="cellrowborder" valign="top" width="47.18%" headers="mcps1.3.2.3.1.2.1.2.5.1.4 "><p id="ces_03_0023__p2687838193910">Query the namespace of a service. For details, see <a href="ces_03_0059.html">Services Interconnected with Cloud Eye</a>.</p>
<td class="cellrowborder" valign="top" width="47.18%" headers="mcps1.3.2.3.1.2.1.2.5.1.4 "><p id="ces_03_0023__p2687838193910">Specifies the namespace of a service. For details, see <a href="ces_03_0059.html">Services Interconnected with Cloud Eye</a>.</p>
<p id="ces_03_0023__p1529914911223">The namespace must be in the <strong id="ces_03_0023__b842352706195615">service.item</strong> format and contain 3 to 32 characters. <strong id="ces_03_0023__b842352706195450">service</strong> and <strong id="ces_03_0023__b842352706195455">item</strong> each must start with a letter and contain only letters, digits, and underscores (_). </p>
</td>
</tr>

View File

@ -102,7 +102,7 @@
<div class="section" id="ces_03_0027__section24112512"><h4 class="sectiontitle">Request</h4><p id="ces_03_0027__p45638969">None</p>
</div>
<div class="section" id="ces_03_0027__section15686020"><h4 class="sectiontitle">Response</h4><ul id="ces_03_0027__ul5769005"><li id="ces_03_0027__li27068104152742">Response parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0027__table42286344152742" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response parameters</caption><thead align="left"><tr id="ces_03_0027__row38095364152742"><th align="left" class="cellrowborder" valign="top" width="20.53%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="ces_03_0027__p65825661152742">Parameter</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0027__table42286344152742" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Parameter description</caption><thead align="left"><tr id="ces_03_0027__row38095364152742"><th align="left" class="cellrowborder" valign="top" width="20.53%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="ces_03_0027__p65825661152742">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.770000000000001%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="ces_03_0027__p36622711152742">Type</p>
</th>
@ -406,7 +406,7 @@
</td>
<td class="cellrowborder" valign="top" width="15.770000000000001%" headers="mcps1.3.4.2.1.7.2.4.1.2 "><p id="ces_03_0027__p3286121113563">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.4.2.1.7.2.4.1.3 "><p id="ces_03_0027__p154432743312">Specifies the interval for triggering an alarm if the alarm persists. </p>
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.4.2.1.7.2.4.1.3 "><p id="ces_03_0027__p154432743312">Specifies the interval for triggering an alarm if the alarm persists.</p>
<p id="ces_03_0027__p19499121013313">Possible intervals are as follows:</p>
<p id="ces_03_0027__p18656118193312"><strong id="ces_03_0027__b8656101819335">0</strong>: Cloud Eye triggers the alarm only once.</p>
<p id="ces_03_0027__p777192013338"><strong id="ces_03_0027__b07712202339">300</strong>: Cloud Eye triggers the alarm every 5 minutes.</p>

View File

@ -334,7 +334,7 @@
</td>
<td class="cellrowborder" valign="top" width="15.770000000000001%" headers="mcps1.3.4.2.1.7.2.4.1.2 "><p id="ces_03_0028__p3286121113563">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.4.2.1.7.2.4.1.3 "><p id="ces_03_0028__p184926321">Specifies the interval for triggering an alarm if the alarm persists. </p>
<td class="cellrowborder" valign="top" width="63.7%" headers="mcps1.3.4.2.1.7.2.4.1.3 "><p id="ces_03_0028__p184926321">Specifies the interval for triggering an alarm if the alarm persists.</p>
<p id="ces_03_0028__p192521511322">Possible intervals are as follows:</p>
<p id="ces_03_0028__p852919715321"><strong id="ces_03_0028__b25291777320">0</strong>: Cloud Eye triggers the alarm only once.</p>
<p id="ces_03_0028__p47275133329"><strong id="ces_03_0028__b11727141319329">300</strong>: Cloud Eye triggers the alarm every 5 minutes.</p>

View File

@ -388,14 +388,14 @@
</td>
<td class="cellrowborder" valign="top" width="11%" headers="mcps1.3.3.2.1.6.2.5.1.3 "><p id="ces_03_0031__p3423204863413">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.2.1.6.2.5.1.4 "><p id="ces_03_0031__p205271414123013">Specifies the interval for triggering an alarm if the alarm persists. </p>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.2.1.6.2.5.1.4 "><p id="ces_03_0031__p205271414123013">Specifies the interval for triggering an alarm if the alarm persists.</p>
<p id="ces_03_0031__p183001218183011">Possible intervals are as follows:</p>
<p id="ces_03_0031__p197021221113012"><strong id="ces_03_0031__b9701162103020">0</strong>: Cloud Eye triggers the alarm only once.</p>
<p id="ces_03_0031__p9126172463015"><strong id="ces_03_0031__b191267247302">300</strong>: Cloud Eye triggers the alarm every 5 minutes.</p>
<p id="ces_03_0031__p034182718303"><strong id="ces_03_0031__b17349273302">600</strong>: Cloud Eye triggers the alarm every 10 minutes. </p>
<p id="ces_03_0031__p034182718303"><strong id="ces_03_0031__b17349273302">600</strong>: Cloud Eye triggers the alarm every 10 minutes.</p>
<p id="ces_03_0031__p883029143014"><strong id="ces_03_0031__b2083142913304">900</strong>: Cloud Eye triggers the alarm every 15 minutes.</p>
<p id="ces_03_0031__p19598113133010"><strong id="ces_03_0031__b20598153133015">1800</strong>: Cloud Eye triggers the alarm every 30 minutes.</p>
<p id="ces_03_0031__p13642183316309"><strong id="ces_03_0031__b166421733103020">3600</strong>: Cloud Eye triggers the alarm every hour. </p>
<p id="ces_03_0031__p13642183316309"><strong id="ces_03_0031__b166421733103020">3600</strong>: Cloud Eye triggers the alarm every hour.</p>
<p id="ces_03_0031__p85858356301"><strong id="ces_03_0031__b65857351307">10800</strong>: Cloud Eye triggers the alarm every 3 hours.</p>
<p id="ces_03_0031__p10502937133016"><strong id="ces_03_0031__b1502637173019">21600</strong>: Cloud Eye triggers the alarm every 6 hours.</p>
<p id="ces_03_0031__p164631940133017"><strong id="ces_03_0031__b144625406306">43200</strong>: Cloud Eye triggers the alarm every 12 hours.</p>
@ -484,8 +484,8 @@
}</pre>
</li></ul>
</div>
<div class="section" id="ces_03_0031__section41088852184830"><h4 class="sectiontitle">Response</h4><ul id="ces_03_0031__ul39862682184830"><li id="ces_03_0031__li23219822184830">Response parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0031__table7651809184830" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response parameters</caption><thead align="left"><tr id="ces_03_0031__row11265298184830"><th align="left" class="cellrowborder" valign="top" width="16.919999999999998%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="ces_03_0031__p40073906184830">Parameter</p>
<div class="section" id="ces_03_0031__section41088852184830"><h4 class="sectiontitle">Response</h4><ul id="ces_03_0031__ul39862682184830"><li id="ces_03_0031__li23219822184830">Response parameter
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0031__table7651809184830" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Parameter description</caption><thead align="left"><tr id="ces_03_0031__row11265298184830"><th align="left" class="cellrowborder" valign="top" width="16.919999999999998%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="ces_03_0031__p40073906184830">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.04%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="ces_03_0031__p59478015184830">Type</p>
</th>

View File

@ -85,8 +85,8 @@
<td class="cellrowborder" valign="top" width="17.470000000000002%" headers="mcps1.3.2.3.1.2.1.2.5.1.3 "><p id="ces_03_0033__p1276519458171">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="48.31%" headers="mcps1.3.2.3.1.2.1.2.5.1.4 "><p id="ces_03_0033__p4175457395641">Specifies how often Cloud Eye aggregates data, which can be</p>
<ul id="ces_03_0033__ul22530818141337"><li id="ces_03_0033__li1450776141337"><strong id="ces_03_0033__b552517490572">1</strong>: Cloud Eye displays raw data.</li></ul>
<ul id="ces_03_0033__ul5025435916374"><li id="ces_03_0033__li1144664916374"><strong id="ces_03_0033__b75335211571">300</strong>: Cloud Eye aggregates data every 5 minutes.</li><li id="ces_03_0033__li2310812316374"><strong id="ces_03_0033__b1354655335718">1200</strong>: Cloud Eye aggregates data every 20 minutes.</li><li id="ces_03_0033__li1347195716374"><strong id="ces_03_0033__b1940211553578">3600</strong>: Cloud Eye aggregates data every 1 hour.</li><li id="ces_03_0033__li713876916374"><strong id="ces_03_0033__b2196957195718">14400</strong>: Cloud Eye aggregates data every 4 hours.</li><li id="ces_03_0033__li6259003216374"><strong id="ces_03_0033__b236905920578">86400</strong>: Cloud Eye aggregates data every 24 hours.</li></ul>
<ul id="ces_03_0033__ul22530818141337"><li id="ces_03_0033__li1450776141337"><strong id="ces_03_0033__b552517490572">1</strong>: Cloud Eye performs no aggregation and displays raw data.</li></ul>
<ul id="ces_03_0033__ul5025435916374"><li id="ces_03_0033__li1144664916374"><strong id="ces_03_0033__b75335211571">300</strong>: Cloud Eye aggregates data every 5 minutes.</li><li id="ces_03_0033__li2310812316374"><strong id="ces_03_0033__b1354655335718">1200</strong>: Cloud Eye aggregates data every 20 minutes.</li><li id="ces_03_0033__li1347195716374"><strong id="ces_03_0033__b1940211553578">3600</strong>: Cloud Eye aggregates data every hour.</li><li id="ces_03_0033__li713876916374"><strong id="ces_03_0033__b2196957195718">14400</strong>: Cloud Eye aggregates data every 4 hours.</li><li id="ces_03_0033__li6259003216374"><strong id="ces_03_0033__b236905920578">86400</strong>: Cloud Eye aggregates data every 24 hours.</li></ul>
</td>
</tr>
<tr id="ces_03_0033__row21724664"><td class="cellrowborder" valign="top" width="18.610000000000003%" headers="mcps1.3.2.3.1.2.1.2.5.1.1 "><p id="ces_03_0033__p5033039295641">filter</p>
@ -127,7 +127,7 @@
<div class="section" id="ces_03_0033__section24112512"><h4 class="sectiontitle">Request</h4><p id="ces_03_0033__p45638969">None</p>
</div>
<div class="section" id="ces_03_0033__section15686020"><h4 class="sectiontitle">Response</h4><ul id="ces_03_0033__ul5769005"><li id="ces_03_0033__li15619415152815">Response parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0033__table6357015152815" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response parameters</caption><thead align="left"><tr id="ces_03_0033__row57952149152815"><th align="left" class="cellrowborder" valign="top" width="21.40785921407859%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="ces_03_0033__p63612496152815"><strong id="ces_03_0033__b842352706181120">Parameter</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0033__table6357015152815" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameter description</caption><thead align="left"><tr id="ces_03_0033__row57952149152815"><th align="left" class="cellrowborder" valign="top" width="21.40785921407859%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="ces_03_0033__p63612496152815"><strong id="ces_03_0033__b842352706181120">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.14848515148485%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="ces_03_0033__p11562283152815"><strong id="ces_03_0033__b842352706181128">Type</strong></p>
</th>
@ -155,11 +155,11 @@
</table>
</div>
<div class="tablenoborder"><a name="ces_03_0033__table1017018361914"></a><a name="table1017018361914"></a><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0033__table1017018361914" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="ces_03_0033__b658512201325">datapoints</strong> data structure description</caption><thead align="left"><tr id="ces_03_0033__row191717367119"><th align="left" class="cellrowborder" valign="top" width="21.40785921407859%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="ces_03_0033__p121712368117"><strong id="ces_03_0033__b548117341">Parameter</strong></p>
<div class="tablenoborder"><a name="ces_03_0033__table1017018361914"></a><a name="table1017018361914"></a><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0033__table1017018361914" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="ces_03_0033__b658512201325">datapoints</strong> data structure description</caption><thead align="left"><tr id="ces_03_0033__row191717367119"><th align="left" class="cellrowborder" valign="top" width="21.40785921407859%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="ces_03_0033__p121712368117"><strong id="ces_03_0033__b1898916192">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.14848515148485%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="ces_03_0033__p817112361619"><strong id="ces_03_0033__b1568035952">Type</strong></p>
<th align="left" class="cellrowborder" valign="top" width="15.14848515148485%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="ces_03_0033__p817112361619"><strong id="ces_03_0033__b334184707">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="63.44365563443656%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="ces_03_0033__p1117115361718"><strong id="ces_03_0033__b1127957916">Description</strong></p>
<th align="left" class="cellrowborder" valign="top" width="63.44365563443656%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="ces_03_0033__p1117115361718"><strong id="ces_03_0033__b1889727827">Description</strong></p>
</th>
</tr>
</thead>
@ -270,7 +270,7 @@
</tr>
<tr id="ces_03_0033__row44282627"><td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0033__p563264059168">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="66.92%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0033__p661449719168">You are forbidden to access the page requested.</p>
<td class="cellrowborder" valign="top" width="66.92%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0033__p661449719168">Access to the requested page is forbidden.</p>
</td>
</tr>
<tr id="ces_03_0033__row1815156"><td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0033__p355199299168">408 Request Timeout</p>

File diff suppressed because it is too large Load Diff

View File

@ -43,7 +43,7 @@
</td>
<td class="cellrowborder" valign="top" width="16.54%" headers="mcps1.3.2.3.2.1.1.5.1.3 "><p id="ces_03_0035__p667393162913">String</p>
</td>
<td class="cellrowborder" valign="top" width="47.75%" headers="mcps1.3.2.3.2.1.1.5.1.4 "><p id="ces_03_0035__p2687838193910">Query the namespace of a service. For details, see <a href="ces_03_0059.html">Services Interconnected with Cloud Eye</a>.</p>
<td class="cellrowborder" valign="top" width="47.75%" headers="mcps1.3.2.3.2.1.1.5.1.4 "><p id="ces_03_0035__p2687838193910">Specifies the namespace of a service. For details, see <a href="ces_03_0059.html">Services Interconnected with Cloud Eye</a>.</p>
<p id="ces_03_0035__p1529914911223">The namespace must be in the <strong id="ces_03_0035__b1127311121319">service.item</strong> format and contain 3 to 32 characters. <strong id="ces_03_0035__b1627421161313">service</strong> and <strong id="ces_03_0035__b4274121115131">item</strong> each must start with a letter and contain only letters, digits, and underscores (_).</p>
</td>
</tr>
@ -99,7 +99,7 @@
<div class="section" id="ces_03_0035__section18441583143655"><h4 class="sectiontitle">Request</h4><p id="ces_03_0035__p1954202614374">None</p>
</div>
<div class="section" id="ces_03_0035__section64339306143726"><h4 class="sectiontitle">Response</h4><ul id="ces_03_0035__ul44101323143726"><li id="ces_03_0035__li61367595143726">Response parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0035__table15437449143726" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameters</caption><thead align="left"><tr id="ces_03_0035__row46953322143726"><th align="left" class="cellrowborder" valign="top" width="15.14848515148485%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="ces_03_0035__p45122727143726">Parameter</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0035__table15437449143726" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="ces_03_0035__row46953322143726"><th align="left" class="cellrowborder" valign="top" width="15.14848515148485%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="ces_03_0035__p45122727143726">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.0988901109889%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="ces_03_0035__p33014498143726">Type</p>
</th>
@ -188,7 +188,7 @@
</tr>
<tr id="ces_03_0035__row16364113663218"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0035__p563264059168">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0035__p661449719168">You are forbidden to access the page requested.</p>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0035__p661449719168">Access to the requested page is forbidden.</p>
</td>
</tr>
<tr id="ces_03_0035__row9364103633216"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0035__p355199299168">408 Request Timeout</p>

View File

@ -5,7 +5,7 @@
<ul id="ces_03_0057__en-us_topic_0121673684_ul2770123611111"><li id="ces_03_0057__en-us_topic_0121673684_li157701436141116"><a href="#ces_03_0057__en-us_topic_0121673684_section86806471133">Obtain the Project ID by Calling an API</a></li><li id="ces_03_0057__en-us_topic_0121673684_li07701836121118"><a href="#ces_03_0057__en-us_topic_0121673684_section32975495318">Obtain the Project ID from the Console</a></li></ul>
</div>
<div class="section" id="ces_03_0057__en-us_topic_0121673684_section86806471133"><a name="ces_03_0057__en-us_topic_0121673684_section86806471133"></a><a name="en-us_topic_0121673684_section86806471133"></a><h4 class="sectiontitle">Obtain the Project ID by Calling an API</h4><p id="ces_03_0057__en-us_topic_0121673684_p31183326524">You can obtain the project ID by calling the IAM API used to query project information based on the specified criteria.</p>
<p id="ces_03_0057__en-us_topic_0121673684_p857314915139">The API used to obtain a project ID is GET https://{Endpoint}/v3/projects. {Endpoint} is the IAM endpoint and can be obtained from <a href="https://docs.otc.t-systems.com/additional/endpoints.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>. </p>
<p id="ces_03_0057__en-us_topic_0121673684_p857314915139">The API used to obtain a project ID is GET https://{Endpoint}/v3/projects. {Endpoint} is the IAM endpoint and can be obtained from <a href="https://docs.otc.t-systems.com/regions-and-endpoints/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>. </p>
<p id="ces_03_0057__en-us_topic_0121673684_p3770181514218">The following is an example response. The value of <strong id="ces_03_0057__en-us_topic_0121673684_b842352706123544">id</strong> is the project ID.</p>
<pre class="screen" id="ces_03_0057__en-us_topic_0121673684_screen14199113161316">{
"projects": [
@ -32,7 +32,7 @@
}</pre>
</div>
<div class="section" id="ces_03_0057__en-us_topic_0121673684_section32975495318"><a name="ces_03_0057__en-us_topic_0121673684_section32975495318"></a><a name="en-us_topic_0121673684_section32975495318"></a><h4 class="sectiontitle">Obtain a Project ID from the Console</h4><div class="p" id="ces_03_0057__en-us_topic_0121673684_p1356864351018">A project ID needs to be specified in the URIs of some APIs. Therefore, you need to obtain the project ID before calling APIs. The following procedure describes how to obtain a project ID:<ol id="ces_03_0057__en-us_topic_0121673684_ol7453556171010"><li id="ces_03_0057__en-us_topic_0121673684_li645315621018">Log in to the management console.</li><li id="ces_03_0057__en-us_topic_0121673684_li142001547118">Click the username and select <strong id="ces_03_0057__en-us_topic_0121673684_b10350181718117">My Credentials</strong> from the drop-down list.<p id="ces_03_0057__en-us_topic_0121673684_p13639183110119">On the <strong id="ces_03_0057__en-us_topic_0121673684_b19682129101113">My Credentials</strong> page, view project IDs in the project list.</p>
<div class="fignone" id="ces_03_0057__en-us_topic_0121673684_fig12841949131317"><span class="figcap"><b>Figure 1 </b>Viewing project IDs</span><br><span><img id="ces_03_0057__en-us_topic_0121673684_image1184449141315" src="en-us_image_0000001508295281.png"></span></div>
<div class="fignone" id="ces_03_0057__en-us_topic_0121673684_fig12841949131317"><span class="figcap"><b>Figure 1 </b>Viewing project IDs</span><br><span><img id="ces_03_0057__en-us_topic_0121673684_image1184449141315" src="en-us_image_0000001508295281.png" title="Click to enlarge" class="imgResize"></span></div>
<p id="ces_03_0057__en-us_topic_0121673684_p55531521415">In multi-project scenarios, expand the region, and obtain your sub-project ID from the <strong id="ces_03_0057__en-us_topic_0121673684_b314916613146">Project ID</strong> column.</p>
</li></ol>
</div>
@ -44,3 +44,10 @@
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,13 @@
</th>
</tr>
</thead>
<tbody><tr id="ces_03_0060__row14113404212"><td class="cellrowborder" valign="top" width="19.93%" headers="mcps1.3.1.1.3.1.1 "><p id="ces_03_0060__p71144016215">2022-10-10</p>
<tbody><tr id="ces_03_0060__row36069374219"><td class="cellrowborder" valign="top" width="19.93%" headers="mcps1.3.1.1.3.1.1 "><p id="ces_03_0060__p126061737182113">2024-01-04</p>
</td>
<td class="cellrowborder" valign="top" width="80.07%" headers="mcps1.3.1.1.3.1.2 "><p id="ces_03_0060__p26069375211">This release incorporates the following changes:</p>
<ul id="ces_03_0060__ul1924185772111"><li id="ces_03_0060__li1398204722610">Added the <strong id="ces_03_0060__b8315197133015">suppress_duration</strong> parameter and its description in <a href="ces_03_0031.html">Creating an Alarm Rule</a>.</li><li id="ces_03_0060__li20242145712212">Added an example of creating an alarm rule to monitor an event in <a href="ces_03_0031.html">Creating an Alarm Rule</a>.</li></ul>
</td>
</tr>
<tr id="ces_03_0060__row14113404212"><td class="cellrowborder" valign="top" width="19.93%" headers="mcps1.3.1.1.3.1.1 "><p id="ces_03_0060__p71144016215">2022-10-10</p>
</td>
<td class="cellrowborder" valign="top" width="80.07%" headers="mcps1.3.1.1.3.1.2 "><p id="ces_03_0060__p01144042119">This release incorporates the following change:</p>
<p id="ces_03_0060__p135526359224">Added section "Events Supported by Event Monitoring".</p>
@ -95,7 +101,7 @@
<tr id="ces_03_0060__row673424416170"><td class="cellrowborder" valign="top" width="19.93%" headers="mcps1.3.1.1.3.1.1 "><p id="ces_03_0060__p5440184612175">2017-11-30</p>
</td>
<td class="cellrowborder" valign="top" width="80.07%" headers="mcps1.3.1.1.3.1.2 "><p id="ces_03_0060__p5444146171718">This release incorporates the following change:</p>
<p id="ces_03_0060__p155121018131817">Added Auto Scaling (AS) metrics.</p>
<p id="ces_03_0060__p155121018131817">Added Auto Scaling metrics.</p>
</td>
</tr>
<tr id="ces_03_0060__row14288183101815"><td class="cellrowborder" valign="top" width="19.93%" headers="mcps1.3.1.1.3.1.1 "><p id="ces_03_0060__p44544984101835">2017-10-30</p>
@ -173,7 +179,7 @@
<tr id="ces_03_0060__row51181863154446"><td class="cellrowborder" valign="top" width="19.93%" headers="mcps1.3.1.1.3.1.1 "><p id="ces_03_0060__p1814988516713">2016-04-14</p>
</td>
<td class="cellrowborder" valign="top" width="80.07%" headers="mcps1.3.1.1.3.1.2 "><p id="ces_03_0060__p37544414154511">This release incorporates the following changes:</p>
<ul id="ces_03_0060__ul21198671154511"><li id="ces_03_0060__li56570318154511">Modified parameter descriptions in URL in <strong id="ces_03_0060__b84235270617734">Service Usage</strong>. </li><li id="ces_03_0060__li39370822154511">Modified steps for invoking interfaces in <strong id="ces_03_0060__b84235270617456">Token Authentication</strong>. </li></ul>
<ul id="ces_03_0060__ul21198671154511"><li id="ces_03_0060__li56570318154511">Modified parameter descriptions in URL in <strong id="ces_03_0060__b84235270617734">Service Usage</strong>. </li><li id="ces_03_0060__li39370822154511">Modified steps for calling APIs in <strong id="ces_03_0060__b84235270617456">Token Authentication</strong>.</li></ul>
</td>
</tr>
<tr id="ces_03_0060__row5574592111269"><td class="cellrowborder" valign="top" width="19.93%" headers="mcps1.3.1.1.3.1.1 "><p id="ces_03_0060__p1082014016713">2016-03-09</p>

View File

@ -2,6 +2,7 @@
<h1 class="topictitle1">Adding Monitoring Data</h1>
<div id="body1467891755154"><div class="section" id="en-us_topic_0032831274__section66578044"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0032831274__p65561530">This API is used to add one or more pieces of custom metric monitoring data to solve the problem that the system metrics cannot meet specific service requirements.</p>
<p id="en-us_topic_0032831274__p1630394516148">For details about the monitoring data retention period, see <a href="https://docs.otc.t-systems.com/cloud-eye/umn/faqs/general_consulting/how_long_is_metric_data_retained.html#ces-faq-0010" target="_blank" rel="noopener noreferrer">How Long Is Metric Data Retained?</a></p>
</div>
<div class="section" id="en-us_topic_0032831274__section62331491"><h4 class="sectiontitle">URI</h4><p id="en-us_topic_0032831274__p48490504">POST /V1.0/{project_id}/metric-data</p>
<ul id="en-us_topic_0032831274__ul8883693"><li id="en-us_topic_0032831274__li33761356">Parameter description
@ -289,7 +290,7 @@
</tr>
<tr id="en-us_topic_0032831274__row44282627"><td class="cellrowborder" valign="top" width="32.519999999999996%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="en-us_topic_0032831274__p563264059168">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="67.47999999999999%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="en-us_topic_0032831274__p661449719168">You are forbidden to access the page requested.</p>
<td class="cellrowborder" valign="top" width="67.47999999999999%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="en-us_topic_0032831274__p661449719168">Access to the requested page is forbidden.</p>
</td>
</tr>
<tr id="en-us_topic_0032831274__row1815156"><td class="cellrowborder" valign="top" width="32.519999999999996%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="en-us_topic_0032831274__p355199299168">408 Request Timeout</p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

0
value Normal file
View File

0
with Normal file
View File