doc-exports/docs/fg/umn/functiongraph_01_0212.html
Chen, Junjie dac566cf2f FG UMN 20230725 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-04-03 10:30:56 +00:00

68 lines
8.2 KiB
HTML

<a name="functiongraph_01_0212"></a><a name="functiongraph_01_0212"></a>
<h1 class="topictitle1">Function Monitoring</h1>
<div id="body32001227"><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p738174475614">FunctionGraph is interconnected with Cloud Eye, allowing you to view function metrics without the need for any configurations.</p>
<div class="section" id="functiongraph_01_0212__en-us_topic_0000001298786825_section10908414121714"><h4 class="sectiontitle">Viewing Function Metrics</h4><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p108359139917">FunctionGraph collects function metrics and displays aggregated results. Switch to your target function version before viewing metrics.</p>
<ol id="functiongraph_01_0212__en-us_topic_0000001298786825_ol15793134203410"><li id="functiongraph_01_0212__en-us_topic_0000001298786825_li667192210313">Log in to the FunctionGraph console. In the navigation pane, choose <strong id="functiongraph_01_0212__en-us_topic_0000001298786825_en-us_topic_0000001251907924_b033610517502">Functions</strong> &gt; <strong id="functiongraph_01_0212__en-us_topic_0000001298786825_en-us_topic_0000001251907924_b183361950502">Function List</strong>.</li><li id="functiongraph_01_0212__en-us_topic_0000001298786825_li467172219314">Click the function to be configured to go to the function details page.</li><li id="functiongraph_01_0212__en-us_topic_0000001298786825_li7671172911113">Choose <strong id="functiongraph_01_0212__en-us_topic_0000001298786825_b23321743194114">Monitoring</strong> &gt; <strong id="functiongraph_01_0212__en-us_topic_0000001298786825_b153321643184113">Metrics</strong>, select an interval (last day, last 3 days, or custom), and check the running status of the function.<div class="note" id="functiongraph_01_0212__en-us_topic_0000001298786825_note19919110151212"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p99190102121">The following metrics are displayed: invocations, errors, duration (maximum, average, and minimum durations), throttles, and instance statistics.</p>
</div></div>
</li></ol>
</div>
<div class="section" id="functiongraph_01_0212__en-us_topic_0000001298786825_section1664071118137"><h4 class="sectiontitle">Metric Description</h4><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p47345027152647"><a href="#functiongraph_01_0212__en-us_topic_0000001298786825_table34086103152643">Table 1</a> describes the function metrics.</p>
<div class="tablenoborder"><a name="functiongraph_01_0212__en-us_topic_0000001298786825_table34086103152643"></a><a name="en-us_topic_0000001298786825_table34086103152643"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0212__en-us_topic_0000001298786825_table34086103152643" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Function metrics</caption><thead align="left"><tr id="functiongraph_01_0212__en-us_topic_0000001298786825_row45907106152643"><th align="left" class="cellrowborder" valign="top" width="22.06220622062206%" id="mcps1.3.3.3.2.4.1.1"><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p46066664152643">Metric</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.611561156115611%" id="mcps1.3.3.3.2.4.1.2"><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p40412270152643">Unit</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.32623262326232%" id="mcps1.3.3.3.2.4.1.3"><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p52168437152643">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_01_0212__en-us_topic_0000001298786825_row66862752152643"><td class="cellrowborder" valign="top" width="22.06220622062206%" headers="mcps1.3.3.3.2.4.1.1 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p47173835152643">Invocations</p>
</td>
<td class="cellrowborder" valign="top" width="15.611561156115611%" headers="mcps1.3.3.3.2.4.1.2 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p62984266152643">Count</p>
</td>
<td class="cellrowborder" valign="top" width="62.32623262326232%" headers="mcps1.3.3.3.2.4.1.3 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p1451910152643">Total number of invocation requests, including invocation errors and throttled invocations. In case of asynchronous invocation, the count starts only when a function is executed in response to a request.</p>
</td>
</tr>
<tr id="functiongraph_01_0212__en-us_topic_0000001298786825_row66766826144056"><td class="cellrowborder" valign="top" width="22.06220622062206%" headers="mcps1.3.3.3.2.4.1.1 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p3685282414413">Duration</p>
</td>
<td class="cellrowborder" valign="top" width="15.611561156115611%" headers="mcps1.3.3.3.2.4.1.2 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p3228878814413">ms</p>
</td>
<td class="cellrowborder" valign="top" width="62.32623262326232%" headers="mcps1.3.3.3.2.4.1.3 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p193639308406"><strong id="functiongraph_01_0212__en-us_topic_0000001298786825_b712111815169">Maximum Duration</strong>: the maximum duration a function is executed within a period.</p>
<p id="functiongraph_01_0212__en-us_topic_0000001298786825_p14363133016404"><strong id="functiongraph_01_0212__en-us_topic_0000001298786825_b83661672169">Minimum Duration</strong>: the minimum duration a function is executed within a period.</p>
<p id="functiongraph_01_0212__en-us_topic_0000001298786825_p19363130194011"><strong id="functiongraph_01_0212__en-us_topic_0000001298786825_b133484102168">Average Duration</strong>: the average duration a function is executed within a period.</p>
</td>
</tr>
<tr id="functiongraph_01_0212__en-us_topic_0000001298786825_row13067190152643"><td class="cellrowborder" valign="top" width="22.06220622062206%" headers="mcps1.3.3.3.2.4.1.1 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p51809431152643">Errors</p>
</td>
<td class="cellrowborder" valign="top" width="15.611561156115611%" headers="mcps1.3.3.3.2.4.1.2 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p35814377152643">Count</p>
</td>
<td class="cellrowborder" valign="top" width="62.32623262326232%" headers="mcps1.3.3.3.2.4.1.3 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p15283411152643">Number of times that your functions failed with error code <strong id="functiongraph_01_0212__en-us_topic_0000001298786825_b865817167161">200</strong> being returned. Errors caused by function syntax or execution are also included.</p>
</td>
</tr>
<tr id="functiongraph_01_0212__en-us_topic_0000001298786825_row19350802152643"><td class="cellrowborder" valign="top" width="22.06220622062206%" headers="mcps1.3.3.3.2.4.1.1 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p23911119152643">Throttles</p>
</td>
<td class="cellrowborder" valign="top" width="15.611561156115611%" headers="mcps1.3.3.3.2.4.1.2 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p57752468152643">Count</p>
</td>
<td class="cellrowborder" valign="top" width="62.32623262326232%" headers="mcps1.3.3.3.2.4.1.3 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p47438346152643">Number of times that FunctionGraph throttles your functions due to the resource limit.</p>
</td>
</tr>
<tr id="functiongraph_01_0212__en-us_topic_0000001298786825_row5710175631013"><td class="cellrowborder" valign="top" width="22.06220622062206%" headers="mcps1.3.3.3.2.4.1.1 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p11710195661016">Instance Statistics</p>
</td>
<td class="cellrowborder" valign="top" width="15.611561156115611%" headers="mcps1.3.3.3.2.4.1.2 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p771095616109">Count</p>
</td>
<td class="cellrowborder" valign="top" width="62.32623262326232%" headers="mcps1.3.3.3.2.4.1.3 "><p id="functiongraph_01_0212__en-us_topic_0000001298786825_p47101856111016">Numbers of concurrent requests and reserved instances.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="functiongraph_01_0211.html">Metrics</a></div>
</div>
</div>