添加监控图表
<p class="shortdesc">完成分组下的监控大盘创建后,您就可以在该大盘下添加自定义监控图表。</p>
<section class="section prereq" id="add_chart__prereq_xmj_hkl_3jb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div>
<div class="p">
<ol class="ol" id="add_chart__ol_kpv_3kl_3jb">
<li class="li">已经完成监控大盘分组创建,请参见<a class="xref" href="/ssr/help/manage/argus/cfg.Monitoring_dashboard.create_group" target="_blank">创建大盘分组</a>。</li>
<li class="li">已经完成监控大盘的创建,请参见<a class="xref" href="/ssr/help/manage/argus/cfg.Monitoring_dashboard.create_dashboard" target="_blank">创建监控大盘</a>。</li>
</ol>
</div>
</section>
<section class="section context"><div class="tasklabel"><h2 class="doc-tairway">背景信息</h2></div>
<p class="p">通过添加自定义监控图表,满足您对云服务运行情况不同的监控需求。每个监控大盘可以添加监控图表。每个监控图表可以设置从两个不同视角来展示监控数据:</p>
<ul class="ul" id="add_chart__ul_jvv_y1v_jjb">
<li class="li"><strong class="ph b">按监控项视角</strong>:即每个图表是一个监控项,您可以在同一个图表中查看多个实例关于该监控项的数据变化趋势。例如,某个应用部署了多台ECS实例,需要对ECS实例的CPU使用率进行监控,您可以选择按监控项视角来添加一个监控图表,这样就可以在一张图表中同时展示多个ECS实例各自的CPU使用率随时间的变化趋势。<img class="image" id="add_chart__image_l4g_r2v_jjb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20201507091432-177120629ac2.png" width="500"></li>
<li class="li"><strong class="ph b">按实例角度</strong>:即每个图表是一个实例,您可以在同一个图表中查看同一个实例的不同监控项的数据变化趋势。例如,您可以需要监控某个ECS实例的CPU使用率、内存使用率及磁盘使用率等指标,可以按实例角度添加监控图表,这样就可以在一个图表中同时查看该实例针对这三个监控项的监控数据变化趋势。<img class="image" id="add_chart__image_k3f_xfv_jjb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20201507091432-1a137e9c91bd.png" width="500"></li>
</ul>
</section>
<section id="add_chart__steps_ijf_b3k_3jb"><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps" id="add_chart__steps_ijf_b3k_3jb"><li class="li step stepexpand">
<span class="ph cmd">登录<a class="xref" href="/console/argus/overview" target="_blank">云监控Argus控制台</a>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">在左侧导航栏中,单击<span class="ph uicontrol">监控大盘</span>。</span>
</li><li class="li step stepexpand">
<span class="ph cmd">新增图表可以通过如下两种方式新增:</span>
<div class="itemgroup info">
<ul class="ul" id="add_chart__ul_jh3_klk_3jb">
<li class="li">如果是首次新增图表,可以直接在<span class="ph uicontrol">视图</span>页签,单击<span class="ph uicontrol">新增图表</span>。<img class="image" id="add_chart__image_cfj_rlk_3jb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20201507091431-19d80d689e95.png"></li>
<li class="li">如果是非首次新增图表,需要单击<span class="ph uicontrol">编辑</span>页签,然后单击下方的<span class="ph uicontrol">新增图表</span>。<img class="image" id="add_chart__image_nbk_knk_3jb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20201507091431-1d534aa59ad9.png" width="750"></li>
</ul>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">在进入的页面中,完成图表的新建配置。</span>
<div class="itemgroup info">
<img class="image" id="add_chart__image_rd2_tmk_3jb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20201507091431-100e2ce29c02.png" width="750">
<table class="table frame-all" id="add_chart__table_xnd_fmk_3jb"><caption></caption><colgroup><col style="width:16.806722689075627%"><col style="width:19.49579831932773%"><col style="width:63.69747899159663%"></colgroup><thead class="thead">
<tr class="row">
<th class="entry" id="add_chart__table_xnd_fmk_3jb__entry__1" colspan="2">配置项</th>
<th class="entry" id="add_chart__table_xnd_fmk_3jb__entry__2">说明</th>
</tr>
</thead><tbody class="tbody">
<tr class="row">
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__1 " rowspan="4">
<p class="p"><span class="ph uicontrol">图表</span></p>
</td>
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__1 ">
<p class="p"><span class="ph uicontrol">图表名称</span></p>
</td>
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__2 ">
<p class="p">自定义监控图表的名称。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__1 ">
<p class="p"><span class="ph uicontrol">产品类型</span></p>
</td>
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__2 ">
<p class="p">单击下拉按钮,选择需要监控的产品名称。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__1 ">
<p class="p"><span class="ph uicontrol">视角</span></p>
</td>
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__2 ">
<p class="p">单击下拉按钮,选择:</p>
<ul class="ul" id="add_chart__ul_efj_c4k_3jb">
<li class="li"><span class="ph uicontrol">按监控项分组</span>:图表显示维度是监控项,即每个图表是一个监控项。</li>
<li class="li"><span class="ph uicontrol">按实例分组</span>:图表显示维度是实例,即每个图表是一个实例。</li>
</ul>
</td>
</tr>
<tr class="row">
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__1 ">
<p class="p"><span class="ph uicontrol">监控对象</span></p>
</td>
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__2 ">
<p class="p">单击<span class="ph uicontrol">选择</span>,在弹出的<span class="ph uicontrol">监控对象</span>页面,勾选需要监控的实例名,一次可勾选多个。勾选完成后,单击<span class="ph uicontrol">完成</span>。</p>
<p class="p">完成后,已选择的实例会出现在下方的实例列表中。</p>
</td>
</tr>
<tr class="row">
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__1 ">
<p class="p"><span class="ph uicontrol">监控项</span></p>
</td>
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__1 ">
<p class="p"><span class="ph uicontrol">监控项</span></p>
</td>
<td class="entry" headers="add_chart__table_xnd_fmk_3jb__entry__2 ">
<p class="p">所需要的监控指标。</p>
<ol class="ol" type="a" id="add_chart__ol_wft_m4k_3jb">
<li class="li">单击<span class="ph uicontrol">选择</span>。</li>
<li class="li">在弹出的<span class="ph uicontrol">监控项</span>页面,勾选需要监控项。</li>
<li class="li">完成后,单击<span class="ph uicontrol">下一步</span>。</li>
<li class="li">填写<span class="ph uicontrol">Tag</span>,用来标识监控项。</li>
<li class="li">单击<span class="ph uicontrol">完成</span>。</li>
</ol>
<p class="p">已选择监控项会出现在下方的列表中。</p>
<div class="note note note_note"><span class="note__title">说明:</span>
<p class="p">如果您需要设置多个监控项,可重复上述步骤继续添加监控项。</p>
</div>
</td>
</tr>
</tbody></table>
</div>
</li><li class="li step stepexpand">
<span class="ph cmd">完成后,单击<span class="ph uicontrol">确认</span>。</span>
</li></ol></section>
<section class="section result" id="add_chart__result_qpv_wmk_3jb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div><p class="p">新建完成后,您可以在<span class="ph uicontrol">视图</span>页签处,看到刚刚创建的图表及其数据展示。</p><img class="image" id="add_chart__image_kxm_khv_jjb" src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20201507091432-15710c1298fb.png" width="830"></section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!