From 0c632886a512577c34632ebd7599aa89deeab366 Mon Sep 17 00:00:00 2001 From: zianazhao Date: Mon, 6 Feb 2023 18:59:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?README=E6=96=87=E6=A1=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index f70af7b..da55589 100644 --- a/README.md +++ b/README.md @@ -12,40 +12,41 @@ 产品 | 命名空间 |支持的指标| --------|---------|---------- -MongoDB |QCE/CMONGO|[指标详情](https://cloud.tencent.com/document/product/248/45104) -CDB|QCE/CDB|[指标详情](https://cloud.tencent.com/document/product/248/45147) +数据库MongoDB |QCE/CMONGO|[指标详情](https://cloud.tencent.com/document/product/248/45104) +数据库MySQL(CDB)|QCE/CDB|[指标详情](https://cloud.tencent.com/document/product/248/45147) Redis标准版|QCE/REDIS(即将下线,不推荐)|[指标详情](https://cloud.tencent.com/document/product/248/45111) Redis集群版|QCE/REDIS_CLUSTER(即将下线,不推荐)|[指标详情](https://cloud.tencent.com/document/product/248/45111) -Redis内存版监控指标|QCE/REDIS_MEM|[指标详情](https://cloud.tencent.com/document/product/248/49729) -CVM|QCE/CVM|[指标详情](https://cloud.tencent.com/document/product/248/6843) +数据库Redis(内存版)|QCE/REDIS_MEM|[指标详情](https://cloud.tencent.com/document/product/248/49729) +云服务器CVM|QCE/CVM|[指标详情](https://cloud.tencent.com/document/product/248/6843) COS|QCE/COS|[指标详情](https://cloud.tencent.com/document/product/248/45140) CDN|QCE/CDN|[指标详情](https://cloud.tencent.com/document/product/248/45138) -CLB(公网)|QCE/LB_PUBLIC|[指标详情](https://cloud.tencent.com/document/product/248/45047) -CLB(7层)|QCE/LOADBALANCE|[指标详情](https://cloud.tencent.com/document/product/248/45045) -NAT|QCE/NAT_GATEWAY|[指标详情](https://cloud.tencent.com/document/product/248/45069) +负载均衡CLB(公网)|QCE/LB_PUBLIC|[指标详情](https://cloud.tencent.com/document/product/248/45047) +负载均衡CLB(7层)|QCE/LOADBALANCE|[指标详情](https://cloud.tencent.com/document/product/248/45045) +NAT网关|QCE/NAT_GATEWAY|[指标详情](https://cloud.tencent.com/document/product/248/45069) 物理专线|QCE/DC|[指标详情](https://cloud.tencent.com/document/product/248/45102) 专用通道|QCE/DCX|[指标详情](https://cloud.tencent.com/document/product/248/45101) 云硬盘|QCE/CBS|[指标详情](https://cloud.tencent.com/document/product/248/45411) -SqlServer|QCE/SQLSERVER|[指标详情](https://cloud.tencent.com/document/product/248/45146) -MariaDB|QCE/MARIADB|[指标详情](https://cloud.tencent.com/document/product/248/54397) +数据库SQL Server|QCE/SQLSERVER|[指标详情](https://cloud.tencent.com/document/product/248/45146) +数据库MariaDB|QCE/MARIADB|[指标详情](https://cloud.tencent.com/document/product/248/54397) Elasticsearch|QCE/CES|[指标详情](https://cloud.tencent.com/document/product/248/45129) CMQ 队列服务|QCE/CMQ(即将下线,不推荐)|[指标详情](https://cloud.tencent.com/document/product/248/45114) CMQ 主题订阅|QCE/CMQTOPIC(即将下线,不推荐)|[指标详情](https://cloud.tencent.com/document/product/248/45113) -PostgreSQL|QCE/POSTGRES|[指标详情](https://cloud.tencent.com/document/product/248/45105) +数据库PostgreSQL|QCE/POSTGRES|[指标详情](https://cloud.tencent.com/document/product/248/45105) CKafka 实例|QCE/CKAFKA|[指标详情](https://cloud.tencent.com/document/product/248/45121) Memcached |QCE/MEMCACHED|指标详情说明文档(待上线) -Lighthouse |QCE/LIGHTHOUSE|[指标详情](https://cloud.tencent.com/document/product/248/60127) -分布式数据库 TDSQL MySQL 实例|QCE/TDMYSQL|[指标详情](https://cloud.tencent.com/document/product/248/54401) +轻量应用服务器Lighthouse |QCE/LIGHTHOUSE|[指标详情](https://cloud.tencent.com/document/product/248/60127) +分布式数据库 TDSQL MySQL|QCE/TDMYSQL|[指标详情](https://cloud.tencent.com/document/product/248/54401) 弹性公网 IP|QCE/LB|[指标详情](https://cloud.tencent.com/document/product/248/45099) -TDMQ RocketMQ 版|QCE/TDMQ|[指标详情](https://cloud.tencent.com/document/product/248/51450#tdmq-rocketmq-.E7.89.88) +消息队列RocketMQ版|QCE/TDMQ|[指标详情](https://cloud.tencent.com/document/product/248/51450#tdmq-rocketmq-.E7.89.88) VPN 网关|QCE/VPNGW|[指标详情](https://cloud.tencent.com/document/product/248/45070) VPN 通道|QCE/VPNX|[指标详情](https://cloud.tencent.com/document/product/248/45071) CYNOSDB_MYSQL|QCE/CYNOSDB_MYSQL|[指标详情](https://cloud.tencent.com/document/product/248/45106) 云联网|QCE/VBC|[指标详情](https://cloud.tencent.com/document/product/248/75629) -数据传输 |QCE/DTS|指标详情说明文档(待上线) +数据传输 |QCE/DTS|[指标详情](https://cloud.tencent.com/document/product/248/82251) 专线网关 |QCE/DCG|指标详情说明文档(待上线) 全球应用加速|QCE/QAAP|[指标详情](https://cloud.tencent.com/document/product/248/45062) - +Web应用防火墙 |QCE/WAF|[指标详情](https://cloud.tencent.com/document/product/248/48124) +负载均衡CLB(内网)|QCE/LB_PRIVATE|[指标详情](https://cloud.tencent.com/document/product/248/51899) `后续会有更多的产品支持` ## 二、快速开始 From 8bd9334b39a57a87108f2344e859680d3913e2f6 Mon Sep 17 00:00:00 2001 From: zianazhao Date: Mon, 10 Apr 2023 11:35:15 +0800 Subject: [PATCH 2/2] =?UTF-8?q?bugfix:fix=20dcg=E3=80=81vpngw=E3=80=81vpnx?= =?UTF-8?q?=20handler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/collector/handler_dcg.go | 2 +- pkg/collector/handler_vpngw.go | 2 +- pkg/collector/handler_vpnx.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/collector/handler_dcg.go b/pkg/collector/handler_dcg.go index c0d645c..426bfd9 100644 --- a/pkg/collector/handler_dcg.go +++ b/pkg/collector/handler_dcg.go @@ -43,7 +43,7 @@ func (h *DcgHandler) IsMetricVaild(m *metric.TcmMetric) bool { } func NewDcgHandler(cred common.CredentialIface, c *TcProductCollector, logger log.Logger) (handler ProductHandler, err error) { - handler = &tdmqHandler{ + handler = &DcgHandler{ baseProductHandler: baseProductHandler{ monitorQueryKey: DcgInstanceidKey, collector: c, diff --git a/pkg/collector/handler_vpngw.go b/pkg/collector/handler_vpngw.go index 28fcdc9..504d7b7 100644 --- a/pkg/collector/handler_vpngw.go +++ b/pkg/collector/handler_vpngw.go @@ -43,7 +43,7 @@ func (h *VpngwHandler) IsMetricVaild(m *metric.TcmMetric) bool { } func NewVpngwHandler(cred common.CredentialIface, c *TcProductCollector, logger log.Logger) (handler ProductHandler, err error) { - handler = &tdmqHandler{ + handler = &VpngwHandler{ baseProductHandler: baseProductHandler{ monitorQueryKey: VpngwInstanceidKey, collector: c, diff --git a/pkg/collector/handler_vpnx.go b/pkg/collector/handler_vpnx.go index aaa0ffd..e156842 100644 --- a/pkg/collector/handler_vpnx.go +++ b/pkg/collector/handler_vpnx.go @@ -43,7 +43,7 @@ func (h *VpnxHandler) IsMetricVaild(m *metric.TcmMetric) bool { } func NewVpnxHandler(cred common.CredentialIface, c *TcProductCollector, logger log.Logger) (handler ProductHandler, err error) { - handler = &tdmqHandler{ + handler = &VpnxHandler{ baseProductHandler: baseProductHandler{ monitorQueryKey: VpnxInstanceidKey, collector: c,