容器服务CaaS监控指标

<p class="shortdesc">目前共接入三种类型的应用监控。</p> <section class="section" id="caasmonitor__section_vm3_4y1_4jb"><h2 class="doc-tairway">Apptype:HELM-CHART-REDIS-HA</h2> <table class="table" id="caasmonitor__table_gd3_gf4_1kb"><caption></caption><colgroup><col><col><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="caasmonitor__table_gd3_gf4_1kb__entry__1">监控项</th> <th class="entry" id="caasmonitor__table_gd3_gf4_1kb__entry__2">Rename(使用prometheus命名格式重命名监控项)</th> <th class="entry" id="caasmonitor__table_gd3_gf4_1kb__entry__3">监控项中文名称</th> <th class="entry" id="caasmonitor__table_gd3_gf4_1kb__entry__4">单位</th> <th class="entry" id="caasmonitor__table_gd3_gf4_1kb__entry__5">展示项</th> <th class="entry" id="caasmonitor__table_gd3_gf4_1kb__entry__6">计算参考</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__1 "> <p class="p">redis_memory_used_bytes</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__2 "> <p class="p">-</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__3 "> <p class="p">内存使用量</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__4 "> <p class="p">byte</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__5 "> <p class="p">内存使用量</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__6 "> <p class="p">内存使用量</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__1 "> <p class="p">redis_connected_clients</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__2 "> <p class="p">-</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__3 "> <p class="p">客户端连接数</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__5 "> <p class="p">客户端连接数</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__6 "> <p class="p">客户端连接数</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__1 "> <p class="p">redis_commands_processed_total</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__2 "> <p class="p">redis_commands_processed_total_rate5m</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__3 "> <p class="p">命令执行总数</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__5 "> <p class="p">需计算每秒执行的命令数 qps</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__6 "> <p class="p">计算说明:rate(redis_commands_processed_total{addr=~\"$addr\"}[5m])</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__1 "> <p class="p">redis_keyspace_hits_total</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__2 "> <p class="p">redis_keyspace_hits_total_irate5m</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__3 "> <p class="p">命中的缓存的数量</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__5 "> <p class="p">需计算每秒命中缓存数量</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__6 "> <p class="p">参考:irate(redis_keyspace_hits_total{addr=\"$addr\"}[5m])</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__1 "> <p class="p">redis_keyspace_misses_total</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__2 "> <p class="p">redis_keyspace_misses_total_irate5m</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__3 "> <p class="p">未命中的缓存的数量</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__5 "> <p class="p">需计算每秒未命中缓存数量</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__6 "> <p class="p">irate(redis_keyspace_misses_total{addr=\"$addr\"}[5m])</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__1 "> <p class="p">redis_db_keys</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__2 "> <p class="p">redis_db_keys_sum</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__3 "> <p class="p">总key数量</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__5 "> <p class="p">需计算每个db数量相加</p> </td> <td class="entry" headers="caasmonitor__table_gd3_gf4_1kb__entry__6 "> <p class="p">-</p> </td> </tr> </tbody></table> </section> <section class="section" id="caasmonitor__section_hy4_lh4_1kb"><h2 class="doc-tairway">Apptype:HELM-CHART-ZOOKEEPER</h2> <table class="table" id="caasmonitor__table_hys_nh4_1kb"><caption></caption><colgroup><col><col><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="caasmonitor__table_hys_nh4_1kb__entry__1">监控项</th> <th class="entry" id="caasmonitor__table_hys_nh4_1kb__entry__2">监控项中文名称</th> <th class="entry" id="caasmonitor__table_hys_nh4_1kb__entry__3">中文描述说明 </th> <th class="entry" id="caasmonitor__table_hys_nh4_1kb__entry__4">中文单位</th> <th class="entry" id="caasmonitor__table_hys_nh4_1kb__entry__5">展示项</th> <th class="entry" id="caasmonitor__table_hys_nh4_1kb__entry__6">计算参考</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__1 "> <p class="p">zk_znode_count</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__2 "> <p class="p">znode数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__3 "> <p class="p">znode数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__5 "> <p class="p">-</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__6 "> <p class="p">-</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__1 "> <p class="p">zk_watch_count</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__2 "> <p class="p">watch的znode数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__3 "> <p class="p">watch的znode数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__5 "> <p class="p">-</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__6 "> <p class="p">-</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__1 "> <p class="p">zk_packets_received</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__2 "> <p class="p">接收到客户端请求的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__3 "> <p class="p">接收到客户端请求的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__5 "> <p class="p">-</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__6 "> <p class="p">-</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__1 "> <p class="p">zk_packets_sent</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__2 "> <p class="p">发送给客户端的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__3 "> <p class="p">发送给客户端的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__5 "> <p class="p">-</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__6 "> <p class="p">-</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__1 "> <p class="p">zk_pending_syncs</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__2 "> <p class="p">等待同步的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__3 "> <p class="p">等待同步的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__5 "> <p class="p">等待同步的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__6 "> <p class="p">-</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__1 "> <p class="p">zk_open_file_descriptor_percent</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__2 "> <p class="p">打开文件数/最大文件数</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__3 "> <p class="p">打开文件数/最大文件数</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__5 "> <p class="p">需计算聚合展示两个指标,计算百分比</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__6 ">zk_open_file_descriptor_count/zk_max_file_descriptor_count</td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__1 "> <p class="p">zk_outstanding_requests</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__2 "> <p class="p">排队请求的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__3 "> <p class="p">排队请求的数量</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__5 "> <p class="p">-</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__6 "> <p class="p">-</p> </td> </tr> <tr class="row"> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__1 "> <p class="p">zk_avg_latency</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__2 "> <p class="p">平均延迟</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__3 "> <p class="p">平均延迟</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__4 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__5 "> <p class="p">-</p> </td> <td class="entry" headers="caasmonitor__table_hys_nh4_1kb__entry__6 "></td> </tr> </tbody></table> </section> <section class="section" id="caasmonitor__section_zfb_b34_1kb"><h2 class="doc-tairway">Apptype:HELM-CHART-GRAFANA</h2> <table class="table" id="caasmonitor__table_mz4_234_1kb"><caption></caption><colgroup><col><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="caasmonitor__table_mz4_234_1kb__entry__1"><strong class="ph b">监控项</strong></th> <th class="entry" id="caasmonitor__table_mz4_234_1kb__entry__2"><strong class="ph b">监控项中文名称</strong></th> <th class="entry" id="caasmonitor__table_mz4_234_1kb__entry__3"><strong class="ph b">中文单位</strong></th> <th class="entry" id="caasmonitor__table_mz4_234_1kb__entry__4"><strong class="ph b">展示项</strong></th> <th class="entry" id="caasmonitor__table_mz4_234_1kb__entry__5"><strong class="ph b">计算参考</strong></th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="caasmonitor__table_mz4_234_1kb__entry__1 "> <p class="p">grafana_api_response_status_50x</p> </td> <td class="entry" headers="caasmonitor__table_mz4_234_1kb__entry__2 ">最<p class="p">近五分钟50x错误</p></td> <td class="entry" headers="caasmonitor__table_mz4_234_1kb__entry__3 "> <p class="p">个</p> </td> <td class="entry" headers="caasmonitor__table_mz4_234_1kb__entry__4 "> <p class="p">需计算最近五分钟50x错误数</p> </td> <td class="entry" headers="caasmonitor__table_mz4_234_1kb__entry__5 "> <p class="p">grafana_api_response_status_total{statuscode>=500}[5m]</p> </td> </tr> </tbody></table> </section>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

工单支持

解决云产品相关技术问题