doc-exports/docs/apm/umn/apm_01_0032.html
Li, Qiao 01222743d0 APM2.0 UMN 20230825 version
Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com>
Co-authored-by: Li, Qiao <qiaoli@huawei.com>
Co-committed-by: Li, Qiao <qiaoli@huawei.com>
2024-06-18 07:09:10 +00:00

147 lines
11 KiB
HTML

<a name="apm_01_0032"></a><a name="apm_01_0032"></a>
<h1 class="topictitle1">Threads</h1>
<div id="body8662426"><p id="apm_01_0032__en-us_topic_0000001489738296_p8060118">This section describes the types, names, and meanings of thread metrics collected by APM.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="apm_01_0032__en-us_topic_0000001489738296_table470256193016" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Thread collection parameters</caption><thead align="left"><tr id="apm_01_0032__en-us_topic_0000001489738296_row157035619309"><th align="left" class="cellrowborder" valign="top" width="14.285714285714285%" id="mcps1.3.2.2.8.1.1"><p id="apm_01_0032__en-us_topic_0000001489738296_p975684213215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.047285814255723%" id="mcps1.3.2.2.8.1.2"><p id="apm_01_0032__en-us_topic_0000001489738296_p107569421222">Data Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.7370788763371%" id="mcps1.3.2.2.8.1.3"><p id="apm_01_0032__en-us_topic_0000001489738296_p107561742127">Application Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.557132860141957%" id="mcps1.3.2.2.8.1.4"><p id="apm_01_0032__en-us_topic_0000001489738296_p27563427217">Default</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.72408277516745%" id="mcps1.3.2.2.8.1.5"><p id="apm_01_0032__en-us_topic_0000001489738296_p18756242127">Supported Start Agent Version</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.52444266719984%" id="mcps1.3.2.2.8.1.6"><p id="apm_01_0032__en-us_topic_0000001489738296_p1575718421222">Supported End Agent Version</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.124262721183648%" id="mcps1.3.2.2.8.1.7"><p id="apm_01_0032__en-us_topic_0000001489738296_p275718429212">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="apm_01_0032__en-us_topic_0000001489738296_row15703106143010"><td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.2.2.8.1.1 "><p id="apm_01_0032__en-us_topic_0000001489738296_p575719422218">Max. Rows of Thread Details</p>
</td>
<td class="cellrowborder" valign="top" width="9.047285814255723%" headers="mcps1.3.2.2.8.1.2 "><p id="apm_01_0032__en-us_topic_0000001489738296_p575712421928">integer</p>
</td>
<td class="cellrowborder" valign="top" width="9.7370788763371%" headers="mcps1.3.2.2.8.1.3 "><p id="apm_01_0032__en-us_topic_0000001489738296_p1975754216216">JAVA</p>
</td>
<td class="cellrowborder" valign="top" width="9.557132860141957%" headers="mcps1.3.2.2.8.1.4 "><p id="apm_01_0032__en-us_topic_0000001489738296_p175754213213">1</p>
</td>
<td class="cellrowborder" valign="top" width="19.72408277516745%" headers="mcps1.3.2.2.8.1.5 "><p id="apm_01_0032__en-us_topic_0000001489738296_p375704215214">2.3.19</p>
</td>
<td class="cellrowborder" valign="top" width="18.52444266719984%" headers="mcps1.3.2.2.8.1.6 "><p id="apm_01_0032__en-us_topic_0000001489738296_p11757144210218">-</p>
</td>
<td class="cellrowborder" valign="top" width="19.124262721183648%" headers="mcps1.3.2.2.8.1.7 "><p id="apm_01_0032__en-us_topic_0000001489738296_p275764219218">Maximum number of rows of thread details. You can set it to up to 50.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="apm_01_0032__en-us_topic_0000001489738296_table46151539153611" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Thread metrics</caption><thead align="left"><tr id="apm_01_0032__en-us_topic_0000001489738296_row2061633917362"><th align="left" class="cellrowborder" valign="top" width="15.859427799053844%" id="mcps1.3.3.2.8.1.1"><p id="apm_01_0032__en-us_topic_0000001489738296_p1463015544385">Category</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.03469249831043%" id="mcps1.3.3.2.8.1.2"><p id="apm_01_0032__en-us_topic_0000001489738296_p57441235163416">Metric</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.894570849290382%" id="mcps1.3.3.2.8.1.3"><p id="apm_01_0032__en-us_topic_0000001489738296_p1499032703719">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.780581211984682%" id="mcps1.3.3.2.8.1.4"><p id="apm_01_0032__en-us_topic_0000001489738296_p18745935163419">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.376436134264475%" id="mcps1.3.3.2.8.1.5"><p id="apm_01_0032__en-us_topic_0000001489738296_p7630154183811">Unit</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.397612074791619%" id="mcps1.3.3.2.8.1.6"><p id="apm_01_0032__en-us_topic_0000001489738296_p16631135463814">Data Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.656679432304577%" id="mcps1.3.3.2.8.1.7"><p id="apm_01_0032__en-us_topic_0000001489738296_p6631165433818">Default Aggregation Mode</p>
</th>
</tr>
</thead>
<tbody><tr id="apm_01_0032__en-us_topic_0000001489738296_row7616173983617"><td class="cellrowborder" rowspan="6" valign="top" width="15.859427799053844%" headers="mcps1.3.3.2.8.1.1 "><p id="apm_01_0032__en-us_topic_0000001489738296_p17281923439">Thread details (<strong id="apm_01_0032__en-us_topic_0000001489738296_b891515322818">threadDetail</strong>)</p>
</td>
<td class="cellrowborder" valign="top" width="14.03469249831043%" headers="mcps1.3.3.2.8.1.2 "><p id="apm_01_0032__en-us_topic_0000001489738296_p13616193916367">threadName</p>
</td>
<td class="cellrowborder" valign="top" width="11.894570849290382%" headers="mcps1.3.3.2.8.1.3 "><p id="apm_01_0032__en-us_topic_0000001489738296_p89781333123713">threadName</p>
</td>
<td class="cellrowborder" valign="top" width="15.780581211984682%" headers="mcps1.3.3.2.8.1.4 "><p id="apm_01_0032__en-us_topic_0000001489738296_p2893552114110">Thread name</p>
</td>
<td class="cellrowborder" valign="top" width="11.376436134264475%" headers="mcps1.3.3.2.8.1.5 "><p id="apm_01_0032__en-us_topic_0000001489738296_p138650164415">-</p>
</td>
<td class="cellrowborder" valign="top" width="15.397612074791619%" headers="mcps1.3.3.2.8.1.6 "><p id="apm_01_0032__en-us_topic_0000001489738296_p18616163918368">ENUM</p>
</td>
<td class="cellrowborder" valign="top" width="15.656679432304577%" headers="mcps1.3.3.2.8.1.7 "><p id="apm_01_0032__en-us_topic_0000001489738296_p1861623914365">LAST</p>
</td>
</tr>
<tr id="apm_01_0032__en-us_topic_0000001489738296_row961620395366"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.1 "><p id="apm_01_0032__en-us_topic_0000001489738296_p361611396367">memory</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.2 "><p id="apm_01_0032__en-us_topic_0000001489738296_p797943313375">memory</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.3 "><p id="apm_01_0032__en-us_topic_0000001489738296_p9894152134111">Memory</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.4 "><p id="apm_01_0032__en-us_topic_0000001489738296_p138651118443">-</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.5 "><p id="apm_01_0032__en-us_topic_0000001489738296_p6616163912362">INT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.6 "><p id="apm_01_0032__en-us_topic_0000001489738296_p861723912367">SUM</p>
</td>
</tr>
<tr id="apm_01_0032__en-us_topic_0000001489738296_row196171939203611"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.1 "><p id="apm_01_0032__en-us_topic_0000001489738296_p7617039133610">stack</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.2 "><p id="apm_01_0032__en-us_topic_0000001489738296_p59798331378">stack</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.3 "><p id="apm_01_0032__en-us_topic_0000001489738296_p38947528412">Thread stack</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.4 "><p id="apm_01_0032__en-us_topic_0000001489738296_p108654154418">-</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.5 "><p id="apm_01_0032__en-us_topic_0000001489738296_p4617939193617">CLOB</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.6 "><p id="apm_01_0032__en-us_topic_0000001489738296_p16617173923616">LAST</p>
</td>
</tr>
<tr id="apm_01_0032__en-us_topic_0000001489738296_row20617133933618"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.1 "><p id="apm_01_0032__en-us_topic_0000001489738296_p12617133943611">ids</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.2 "><p id="apm_01_0032__en-us_topic_0000001489738296_p1197983323715">ids</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.3 "><p id="apm_01_0032__en-us_topic_0000001489738296_p589405284117">Thread ID</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.4 "><p id="apm_01_0032__en-us_topic_0000001489738296_p2865715446">-</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.5 "><p id="apm_01_0032__en-us_topic_0000001489738296_p0617939123618">STRING</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.6 "><p id="apm_01_0032__en-us_topic_0000001489738296_p5617439143613">LAST</p>
</td>
</tr>
<tr id="apm_01_0032__en-us_topic_0000001489738296_row561793923610"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.1 "><p id="apm_01_0032__en-us_topic_0000001489738296_p10617639173620">cpuTime</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.2 "><p id="apm_01_0032__en-us_topic_0000001489738296_p397923313710">cpuTime</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.3 "><p id="apm_01_0032__en-us_topic_0000001489738296_p1689419521411">Thread CPU time</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.4 "><p id="apm_01_0032__en-us_topic_0000001489738296_p5865191134416">ms</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.5 "><p id="apm_01_0032__en-us_topic_0000001489738296_p06171739173618">INT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.6 "><p id="apm_01_0032__en-us_topic_0000001489738296_p136170390368">SUM</p>
</td>
</tr>
<tr id="apm_01_0032__en-us_topic_0000001489738296_row16171639193610"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.1 "><p id="apm_01_0032__en-us_topic_0000001489738296_p96182399361">count</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.2 "><p id="apm_01_0032__en-us_topic_0000001489738296_p13979193333712">count</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.3 "><p id="apm_01_0032__en-us_topic_0000001489738296_p789565210416">Number of threads</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.4 "><p id="apm_01_0032__en-us_topic_0000001489738296_p19618439123618">-</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.5 "><p id="apm_01_0032__en-us_topic_0000001489738296_p17618133993612">INT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.1.6 "><p id="apm_01_0032__en-us_topic_0000001489738296_p4618113915369">LAST</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="apm_01_0016.html">Basic Monitoring</a></div>
</div>
</div>