Skip to content

Commit

Permalink
Merge pull request #54 from tencentyun/dev/yueyue1
Browse files Browse the repository at this point in the history
Dev/yueyue1
  • Loading branch information
zero3233 authored Jun 20, 2022
2 parents 8eba72a + 3891a91 commit 8d82d18
Show file tree
Hide file tree
Showing 28 changed files with 1,657 additions and 17 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ 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)
弹性公网 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)
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)

`后续会有更多的产品支持`

Expand Down
11 changes: 11 additions & 0 deletions configs/qcloud-cynosdbmysql-product.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
credential:
access_key: "access_key"
secret_key: "secret_key"
region: "region"

rate_limit: 15 #云监控拉数据接口最大限制, 20/秒, 1200/分钟, https://cloud.tencent.com/document/product/248/31014

products:
- namespace: QCE/CYNOSDB_MYSQL #指标详情: https://cloud.tencent.com/document/product/248/45106
all_metrics: true
all_instances: true
12 changes: 12 additions & 0 deletions configs/qcloud-tdmq-product.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
credential:
access_key: "access_key"
secret_key: "secret_key"
region: "region"

rate_limit: 15 #云监控拉数据接口最大限制, 20/秒, 1200/分钟, https://cloud.tencent.com/document/product/248/31014

products:
- namespace: QCE/TDMQ #指标详情: https://cloud.tencent.com/document/product/248/51450#tdmq-rocketmq-.E7.89.88
all_metrics: true
all_instances: true
only_include_metrics: ["MsgAverageSize","MsgRateIn","MsgThroughputIn","InMessagesTotal","StorageSize","TenantInMessagesTotal","TenantMsgAverageSize","TenantRateIn","TenantRateOut","TenantStorageSize"]
11 changes: 11 additions & 0 deletions configs/qcloud-vpngw-product.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
credential:
access_key: "access_key"
secret_key: "secret_key"
region: "region"

rate_limit: 15 #云监控拉数据接口最大限制, 20/秒, 1200/分钟, https://cloud.tencent.com/document/product/248/31014

products:
- namespace: QCE/VPNGW #指标详情: https://cloud.tencent.com/document/product/248/45070
all_metrics: true
all_instances: true
11 changes: 11 additions & 0 deletions configs/qcloud-vpnx-product.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
credential:
access_key: "access_key"
secret_key: "secret_key"
region: "region"

rate_limit: 15 #云监控拉数据接口最大限制, 20/秒, 1200/分钟, https://cloud.tencent.com/document/product/248/31014

products:
- namespace: QCE/VPNX #指标详情: https://cloud.tencent.com/document/product/248/45071
all_metrics: true
all_instances: true
7 changes: 5 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ require (
github.com/prometheus/common v0.9.1
github.com/stretchr/testify v1.6.1
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.413
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.413
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.413
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es v1.0.334
Expand All @@ -26,6 +27,8 @@ require (
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver v1.0.334
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq v1.0.413
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v1.0.413
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.334
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
gopkg.in/alecthomas/kingpin.v2 v2.2.6
Expand Down
12 changes: 12 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,14 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/tencentcloud/tencentcloud-sdk-go v1.0.413 h1:6mBQybv/rsrOCnzhifwJnSE7ki2EGfzRKb8+yPIijl8=
github.com/tencentcloud/tencentcloud-sdk-go v1.0.414 h1:1fAd3HgD+emgJBh0+q1SL04PfTZuy7iBfcY4Mvvkd1U=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.334 h1:GijOjoDBcWXtra6hmzpj4IXOahWmsTE3bwpOcp5VBDw=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.334/go.mod h1:PTp058qpOV//RukBVdYQT962rZg71lIt6eHLK1zdvEc=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.334 h1:1NDpg/jeMASV09JFLMe7yU53QA9gY55H4X1j39JZ78w=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.334/go.mod h1:BMLd7J4LnIxw3fSl9vo3UCudJbH1wZutP8Uo3sQGQTk=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.413 h1:6cQPfHc3I1pKUj23csRd9P/xxUPcnGRLRK2e5NGqtzc=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.413/go.mod h1:TEuicyMWitW1zPkLbknGYg+VBGNE5N7GckvCF+hurWo=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.334 h1:LOXFeP3NHL/0PFFXA2GhYH/i7rDbcBwhcJJvqRdFO/w=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.334/go.mod h1:toYhD7pJDpz6XY3cf/zhUXtKDRt1CbLkgmOidQ2j8kA=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.334 h1:NeYNgw78v+qhxWbROjHaazaeEWigt6xTvg7CUS1dt6g=
Expand All @@ -91,8 +95,12 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v1.0.334 h1:NlMAh8v
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v1.0.334/go.mod h1:lMGRATy+K7bKhXtxNTqRbSmaCy48xSQXPJqc1tYV50k=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.334 h1:tNkXg+cTnESAX6EmQWfF05NsYfD7U8qKtk/3YbWOCKk=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.334/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.413 h1:DvydszksqriOr0Zze9OREt8OrIrtMSFcVD8lz3xNAQA=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.413/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.334 h1:ulfSODMy8rpKa8MfnTIPbe5HyOArnlB4RJ1qmpj09to=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.334/go.mod h1:AqyM/ZZMD7q5mHBqNY9YImbSpEpoEe7E/vrTbUWX+po=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.413 h1:MomwSkFrSLB16s51Yu1h4JO+p3Pzc1yesIj+oNwAVM0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.413/go.mod h1:So5aRFItRXlmSqqrOEQnc8xLn5tuD0s3drXQpcuuFRA=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc v1.0.334 h1:inkOmQwxiqzUE+tXdxcyTOtLwgOqAOPlRVYdqnJXSa4=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc v1.0.334/go.mod h1:5WGSrlIZJOhwIqPjjafb6vzrPEZieSHPhPMjjGPXOSU=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb v1.0.334 h1:Xxe889sr1FVhUPPFdZC4Z5IyJObgnGh0ELe+MJH17Mo=
Expand All @@ -115,6 +123,10 @@ github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.334 h1:zOWzd
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.334/go.mod h1:5bwboqeXqVnRvUlKn2G9Y9DbOnWMSVQ0zWhhPZKUVZE=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver v1.0.334 h1:d81zfsJrfjngBRTTNPFZQ2SZ9+/QtKwU14a1CBriNhU=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver v1.0.334/go.mod h1:ySz4zbciCFruAviNMeBcu7wW2+BY9Maw8qGWawTywkM=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq v1.0.413 h1:nNYCih7UReD8/l97egLhlVsC6r48MYYEvVgQfllqGwc=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq v1.0.413/go.mod h1:rMQYgt5anP1/ME1c+0Apo1W9250pbEn5oQ+cNMAo1U0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v1.0.413 h1:CniS5OHzPsajRc5cWqJ9X62QKm9mbdTv9yhp5qY7uSs=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v1.0.413/go.mod h1:6ZY4UsmCp2fvcLsahzBtSeLOc0IXxCHrPDmccBaOpJs=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.334 h1:rcM2H2e8kqxv7pZcsBdaIMitNd65+3iTM8aK/q6LS7U=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.334/go.mod h1:SKgeSsIfPEM6BeoIFiGHsWG9UsEXzkK0SkWx51H/OS8=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
Expand Down
Loading

0 comments on commit 8d82d18

Please sign in to comment.