forked from docs/doc-exports
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>
85 lines
11 KiB
HTML
85 lines
11 KiB
HTML
<a name="apm_07_0014"></a><a name="apm_07_0014"></a>
|
|
|
|
<h1 class="topictitle1">Configuring the HttpClient Monitoring Item</h1>
|
|
<div id="body8662426"><p id="apm_07_0014__en-us_topic_0000001217131578_p5331911344">On the <strong id="apm_07_0014__en-us_topic_0000001217131578_b13808105124011">Modify HttpClient Monitoring Configuration</strong> page, set the following URL normalization parameters:</p>
|
|
<ul id="apm_07_0014__en-us_topic_0000001217131578_ul20341155915718"><li id="apm_07_0014__en-us_topic_0000001217131578_li234145975715"><strong id="apm_07_0014__en-us_topic_0000001217131578_b39616414919">Collection Interval</strong>: The default value is <strong id="apm_07_0014__en-us_topic_0000001217131578_b856111365224">60s</strong> and cannot be changed.</li><li id="apm_07_0014__en-us_topic_0000001217131578_li1834119592574">URL normalization is used to aggregate URLs that meet the conditions you set. For example, <strong id="apm_07_0014__en-us_topic_0000001217131578_b8533243995">http://localhost/rest/v1/test/123</strong> and <strong id="apm_07_0014__en-us_topic_0000001217131578_b145346431995">http://localhost/rest/v1/test/234</strong> can be aggregated into <strong id="apm_07_0014__en-us_topic_0000001217131578_b3534104311917">http://localhost/rest/v1/test/</strong><em id="apm_07_0014__en-us_topic_0000001217131578_i135341434912">{id}</em>.</li></ul>
|
|
<div class="fignone" id="apm_07_0014__en-us_topic_0000001217131578_fig78581952152820"><a name="apm_07_0014__en-us_topic_0000001217131578_fig78581952152820"></a><a name="en-us_topic_0000001217131578_fig78581952152820"></a><span class="figcap"><b>Figure 1 </b>Configuring the HttpClient monitoring item</span><br><span><img id="apm_07_0014__en-us_topic_0000001217131578_image2858145212817" src="en-us_image_0000001676203089.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<div class="section" id="apm_07_0014__en-us_topic_0000001217131578_section195174419328"><h4 class="sectiontitle">Normalization Methods</h4><p id="apm_07_0014__en-us_topic_0000001217131578_p7387518102212">There are four normalization methods: <strong id="apm_07_0014__en-us_topic_0000001217131578_b10616111916">Startwith</strong>, <strong id="apm_07_0014__en-us_topic_0000001217131578_b1931410316912">Endwith</strong>, <strong id="apm_07_0014__en-us_topic_0000001217131578_b111391857913">Include</strong>, and <strong id="apm_07_0014__en-us_topic_0000001217131578_b183842813915">Regex</strong>.</p>
|
|
<ul id="apm_07_0014__en-us_topic_0000001217131578_ul3753425133512"><li id="apm_07_0014__en-us_topic_0000001217131578_li107531025183517"><strong id="apm_07_0014__en-us_topic_0000001217131578_b13228195214817">Startwith</strong>: URLs starting with a certain expression are counted as normalized URLs. For example, URLs starting with <strong id="apm_07_0014__en-us_topic_0000001217131578_b207397134415">http://127.0.0.1/v1</strong> are aggregated into <strong id="apm_07_0014__en-us_topic_0000001217131578_b35031712114413">/v1/test/</strong><em id="apm_07_0014__en-us_topic_0000001217131578_i162518155444">{id}</em>, as shown in <a href="#apm_07_0014__en-us_topic_0000001217131578_fig78581952152820">Figure 1</a>.</li><li id="apm_07_0014__en-us_topic_0000001217131578_li2573162833510"><strong id="apm_07_0014__en-us_topic_0000001217131578_b1468875013814">Endwith</strong>: URLs ending with a certain expression are counted as normalized URLs. For example, URLs ending with <strong id="apm_07_0014__en-us_topic_0000001217131578_b128791447194414">/test</strong> are aggregated into <strong id="apm_07_0014__en-us_topic_0000001217131578_b518418114455">/</strong><em id="apm_07_0014__en-us_topic_0000001217131578_i1495205911443">{id}</em><strong id="apm_07_0014__en-us_topic_0000001217131578_b201869454513">/test</strong>, as shown in <a href="#apm_07_0014__en-us_topic_0000001217131578_fig78581952152820">Figure 1</a>.</li><li id="apm_07_0014__en-us_topic_0000001217131578_li1521215314352"><strong id="apm_07_0014__en-us_topic_0000001217131578_b148598481884">Include</strong>: URLs containing a certain expression are counted as normalized URLs. For example, URLs containing <strong id="apm_07_0014__en-us_topic_0000001217131578_b133513643510">test</strong> are aggregated into <strong id="apm_07_0014__en-us_topic_0000001217131578_b175202463355">/test/</strong><em id="apm_07_0014__en-us_topic_0000001217131578_i199681480351">{id}</em>, as shown in <a href="#apm_07_0014__en-us_topic_0000001217131578_fig78581952152820">Figure 1</a>.</li><li id="apm_07_0014__en-us_topic_0000001217131578_li13185123511354"><strong id="apm_07_0014__en-us_topic_0000001217131578_b1380210454810">Regex</strong>: URLs that meet the wildcard expression are counted as normalized URLs. For details about the wildcard rules, see <a href="#apm_07_0014__en-us_topic_0000001217131578_table697071013715">Table 1</a>.
|
|
<div class="tablenoborder"><a name="apm_07_0014__en-us_topic_0000001217131578_table697071013715"></a><a name="en-us_topic_0000001217131578_table697071013715"></a><table cellpadding="4" cellspacing="0" summary="" id="apm_07_0014__en-us_topic_0000001217131578_table697071013715" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Wildcard description</caption><thead align="left"><tr id="apm_07_0014__en-us_topic_0000001217131578_row14970181083719"><th align="left" class="cellrowborder" valign="top" width="18.86%" id="mcps1.3.4.3.4.3.2.3.1.1"><p id="apm_07_0014__en-us_topic_0000001217131578_p1797031023713">Wildcard</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="81.14%" id="mcps1.3.4.3.4.3.2.3.1.2"><p id="apm_07_0014__en-us_topic_0000001217131578_p12970131043719">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="apm_07_0014__en-us_topic_0000001217131578_row10970131053718"><td class="cellrowborder" valign="top" width="18.86%" headers="mcps1.3.4.3.4.3.2.3.1.1 "><p id="apm_07_0014__en-us_topic_0000001217131578_p12970121013713">?</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="81.14%" headers="mcps1.3.4.3.4.3.2.3.1.2 "><p id="apm_07_0014__en-us_topic_0000001217131578_p15970110183719">Matches any character.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apm_07_0014__en-us_topic_0000001217131578_row5970010133716"><td class="cellrowborder" valign="top" width="18.86%" headers="mcps1.3.4.3.4.3.2.3.1.1 "><p id="apm_07_0014__en-us_topic_0000001217131578_p097021043718">*</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="81.14%" headers="mcps1.3.4.3.4.3.2.3.1.2 "><p id="apm_07_0014__en-us_topic_0000001217131578_p119704109376">Matches zero, one, or more characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apm_07_0014__en-us_topic_0000001217131578_row3970510123716"><td class="cellrowborder" valign="top" width="18.86%" headers="mcps1.3.4.3.4.3.2.3.1.1 "><p id="apm_07_0014__en-us_topic_0000001217131578_p097017102377">**</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="81.14%" headers="mcps1.3.4.3.4.3.2.3.1.2 "><p id="apm_07_0014__en-us_topic_0000001217131578_p69706105379">Matches zero, one, or more directories.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="apm_07_0014__en-us_topic_0000001217131578_section18950158133816"><h4 class="sectiontitle">Usage Example</h4><p id="apm_07_0014__en-us_topic_0000001217131578_p1547915239394">The following is an example:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="apm_07_0014__en-us_topic_0000001217131578_table1576272873710" frame="border" border="1" rules="all"><thead align="left"><tr id="apm_07_0014__en-us_topic_0000001217131578_row6762182813717"><th align="left" class="cellrowborder" valign="top" width="19.18%" id="mcps1.3.5.3.1.3.1.1"><p id="apm_07_0014__en-us_topic_0000001217131578_p3762192816379">URL Path</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="80.82000000000001%" id="mcps1.3.5.3.1.3.1.2"><p id="apm_07_0014__en-us_topic_0000001217131578_p7762152818379">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="apm_07_0014__en-us_topic_0000001217131578_row6762828143719"><td class="cellrowborder" valign="top" width="19.18%" headers="mcps1.3.5.3.1.3.1.1 "><p id="apm_07_0014__en-us_topic_0000001217131578_p147623282370">/app/p?ttern</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.82000000000001%" headers="mcps1.3.5.3.1.3.1.2 "><p id="apm_07_0014__en-us_topic_0000001217131578_p1876282812373">Matches files such as <strong id="apm_07_0014__en-us_topic_0000001217131578_b175350231338">/app/pattern</strong> and <strong id="apm_07_0014__en-us_topic_0000001217131578_b1810073012338">/app/pAttern</strong>, excluding <strong id="apm_07_0014__en-us_topic_0000001217131578_b19220436143319">/app/pttern</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apm_07_0014__en-us_topic_0000001217131578_row6762828173716"><td class="cellrowborder" valign="top" width="19.18%" headers="mcps1.3.5.3.1.3.1.1 "><p id="apm_07_0014__en-us_topic_0000001217131578_p18762128113714">/app/*.x</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.82000000000001%" headers="mcps1.3.5.3.1.3.1.2 "><p id="apm_07_0014__en-us_topic_0000001217131578_p1376242833716">Matches all <strong id="apm_07_0014__en-us_topic_0000001217131578_b1283111063311">.x</strong> files in the <strong id="apm_07_0014__en-us_topic_0000001217131578_b191116153335">app</strong> directory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apm_07_0014__en-us_topic_0000001217131578_row1176213283376"><td class="cellrowborder" valign="top" width="19.18%" headers="mcps1.3.5.3.1.3.1.1 "><p id="apm_07_0014__en-us_topic_0000001217131578_p1276210289379">/**/example</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.82000000000001%" headers="mcps1.3.5.3.1.3.1.2 "><p id="apm_07_0014__en-us_topic_0000001217131578_p14762172818376">Matches <strong id="apm_07_0014__en-us_topic_0000001217131578_b461595619321">/app/example</strong>, <strong id="apm_07_0014__en-us_topic_0000001217131578_b155111300331">/app/foo/example</strong>, and <strong id="apm_07_0014__en-us_topic_0000001217131578_b171441413336">/example</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apm_07_0014__en-us_topic_0000001217131578_row7762162816373"><td class="cellrowborder" valign="top" width="19.18%" headers="mcps1.3.5.3.1.3.1.1 "><p id="apm_07_0014__en-us_topic_0000001217131578_p4762128143719">/app/**/dir/file.*</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.82000000000001%" headers="mcps1.3.5.3.1.3.1.2 "><p id="apm_07_0014__en-us_topic_0000001217131578_p776282823718">Matches <strong id="apm_07_0014__en-us_topic_0000001217131578_b175345159329">/app/dir/file.jsp</strong>, <strong id="apm_07_0014__en-us_topic_0000001217131578_b14279142012329">/app/foo/dir/file.htm</strong>, <strong id="apm_07_0014__en-us_topic_0000001217131578_b65277251326">/app/foo/bar/dir/file.pdf</strong>, and <strong id="apm_07_0014__en-us_topic_0000001217131578_b2078964443211">/app/dir/file.c</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apm_07_0014__en-us_topic_0000001217131578_row1676216282372"><td class="cellrowborder" valign="top" width="19.18%" headers="mcps1.3.5.3.1.3.1.1 "><p id="apm_07_0014__en-us_topic_0000001217131578_p18762192833712">/**/*.jsp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.82000000000001%" headers="mcps1.3.5.3.1.3.1.2 "><p id="apm_07_0014__en-us_topic_0000001217131578_p1776212883720">Matches all <strong id="apm_07_0014__en-us_topic_0000001217131578_b979016783215">.jsp</strong> files.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="apm_07_0011.html">Application Monitoring Configuration</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
image_size('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |