tencentcloud-sdk-monitor 3.0.865 → 3.0.866
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180724/models.rb +102 -33
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67bccda3e5c04524da180ef53533fbbb6bc7f695
|
4
|
+
data.tar.gz: 003e6777103d7bc3929efc9391081c273df9ed49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a7329cb951d19e7e17ae9943399c09a058a19f0b64c754a22dfee7929b5d76aae80466ff986a014e800b36650bae537152e635263a57d01cf16a721fbd32fc1
|
7
|
+
data.tar.gz: 8a20d79d1156508676a506b831d520834a8dc3dbb65252fc2c09d2e5a20bfd2e40939ea4bdcace06604dc35db2f016fd8d9153fed5949c65fbc9fb3d4ee54e8f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.866
|
data/lib/v20180724/models.rb
CHANGED
@@ -2759,7 +2759,38 @@ module TencentCloud
|
|
2759
2759
|
# <li> 2 = PodMonitor</li>
|
2760
2760
|
# <li> 3 = JobMonitor</li>
|
2761
2761
|
# @type Type: Integer
|
2762
|
-
# @param Yaml:
|
2762
|
+
# @param Yaml: 服务发现配置信息,YAML 格式
|
2763
|
+
|
2764
|
+
# 示例值:
|
2765
|
+
|
2766
|
+
# ```
|
2767
|
+
# apiVersion: monitoring.coreos.com/v1
|
2768
|
+
# kind: ServiceMonitor
|
2769
|
+
# metadata:
|
2770
|
+
# name: go-demo # 填写一个唯一名称
|
2771
|
+
# namespace: cm-prometheus # namespace固定,不要修改
|
2772
|
+
# spec:
|
2773
|
+
# endpoints:
|
2774
|
+
# - interval: 30s
|
2775
|
+
# # 填写service yaml中Prometheus Exporter对应的Port的Name
|
2776
|
+
# port: 2112
|
2777
|
+
# # 填写Prometheus Exporter对应的Path的值,不填默认/metrics
|
2778
|
+
# path: /metrics
|
2779
|
+
# relabelings:
|
2780
|
+
# # ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
|
2781
|
+
# # 我们通过 relabel 的 replace 动作把它替换成了 application
|
2782
|
+
# - action: replace
|
2783
|
+
# sourceLabels: [__meta_kubernetes_pod_label_app]
|
2784
|
+
# targetLabel: application
|
2785
|
+
# # 选择要监控service所在的namespace
|
2786
|
+
# namespaceSelector:
|
2787
|
+
# matchNames:
|
2788
|
+
# - golang-demo
|
2789
|
+
# # 填写要监控service的Label值,以定位目标service
|
2790
|
+
# selector:
|
2791
|
+
# matchLabels:
|
2792
|
+
# app: golang-app-demo
|
2793
|
+
# ```
|
2763
2794
|
# @type Yaml: String
|
2764
2795
|
|
2765
2796
|
attr_accessor :InstanceId, :KubeClusterId, :KubeType, :Type, :Yaml
|
@@ -3572,7 +3603,38 @@ module TencentCloud
|
|
3572
3603
|
# <li> 2 = PodMonitor</li>
|
3573
3604
|
# <li> 3 = PodMonitor</li>
|
3574
3605
|
# @type Type: Integer
|
3575
|
-
# @param Yaml:
|
3606
|
+
# @param Yaml: 服务发现配置信息,YAML 格式
|
3607
|
+
|
3608
|
+
# 示例值:
|
3609
|
+
|
3610
|
+
# ```
|
3611
|
+
# apiVersion: monitoring.coreos.com/v1
|
3612
|
+
# kind: ServiceMonitor
|
3613
|
+
# metadata:
|
3614
|
+
# name: go-demo # 填写一个唯一名称
|
3615
|
+
# namespace: cm-prometheus # namespace固定,不要修改
|
3616
|
+
# spec:
|
3617
|
+
# endpoints:
|
3618
|
+
# - interval: 30s
|
3619
|
+
# # 填写service yaml中Prometheus Exporter对应的Port的Name
|
3620
|
+
# port: 2112
|
3621
|
+
# # 填写Prometheus Exporter对应的Path的值,不填默认/metrics
|
3622
|
+
# path: /metrics
|
3623
|
+
# relabelings:
|
3624
|
+
# # ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
|
3625
|
+
# # 我们通过 relabel 的 replace 动作把它替换成了 application
|
3626
|
+
# - action: replace
|
3627
|
+
# sourceLabels: [__meta_kubernetes_pod_label_app]
|
3628
|
+
# targetLabel: application
|
3629
|
+
# # 选择要监控service所在的namespace
|
3630
|
+
# namespaceSelector:
|
3631
|
+
# matchNames:
|
3632
|
+
# - golang-demo
|
3633
|
+
# # 填写要监控service的Label值,以定位目标service
|
3634
|
+
# selector:
|
3635
|
+
# matchLabels:
|
3636
|
+
# app: golang-app-demo
|
3637
|
+
# ```
|
3576
3638
|
# @type Yaml: String
|
3577
3639
|
|
3578
3640
|
attr_accessor :InstanceId, :KubeClusterId, :KubeType, :Type, :Yaml
|
@@ -8108,7 +8170,7 @@ module TencentCloud
|
|
8108
8170
|
|
8109
8171
|
# DescribePrometheusInstanceUsage请求参数结构体
|
8110
8172
|
class DescribePrometheusInstanceUsageRequest < TencentCloud::Common::AbstractModel
|
8111
|
-
# @param InstanceIds: 按照一个或者多个实例ID查询。实例ID形如:prom-xxxxxxxx
|
8173
|
+
# @param InstanceIds: 按照一个或者多个实例ID查询。实例ID形如:prom-xxxxxxxx。
|
8112
8174
|
# @type InstanceIds: Array
|
8113
8175
|
# @param StartCalcDate: 开始时间
|
8114
8176
|
# @type StartCalcDate: String
|
@@ -11159,7 +11221,7 @@ module TencentCloud
|
|
11159
11221
|
# @type InstanceId: String
|
11160
11222
|
# @param InstanceName: 实例名称
|
11161
11223
|
# @type InstanceName: String
|
11162
|
-
# @param DataRetentionTime:
|
11224
|
+
# @param DataRetentionTime: 数据存储时间(单位天),限制值为15, 30, 45, 90, 180, 365, 730之一
|
11163
11225
|
# @type DataRetentionTime: Integer
|
11164
11226
|
|
11165
11227
|
attr_accessor :InstanceId, :InstanceName, :DataRetentionTime
|
@@ -12087,7 +12149,7 @@ module TencentCloud
|
|
12087
12149
|
|
12088
12150
|
# 与腾讯云可观测平台融合托管 Prometheus 实例,关联集群基础信息
|
12089
12151
|
class PrometheusClusterAgentBasic < TencentCloud::Common::AbstractModel
|
12090
|
-
# @param Region:
|
12152
|
+
# @param Region: 地域
|
12091
12153
|
# @type Region: String
|
12092
12154
|
# @param ClusterType: 集群类型。可填入tke、eks、tkeedge、tdcc,分别代表标准集群、弹性集群、边缘集群、注册集群
|
12093
12155
|
# @type ClusterType: String
|
@@ -14532,6 +14594,8 @@ module TencentCloud
|
|
14532
14594
|
# @param InstanceId: Prometheus 实例 ID,例如:prom-abcd1234
|
14533
14595
|
# @type InstanceId: String
|
14534
14596
|
# @param AgentIds: Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取
|
14597
|
+
|
14598
|
+
# 示例值:["agent-abcd1234"]
|
14535
14599
|
# @type AgentIds: Array
|
14536
14600
|
# @param Status: 要更新的状态
|
14537
14601
|
# <li> 1= 开启 </li>
|
@@ -14854,7 +14918,38 @@ module TencentCloud
|
|
14854
14918
|
# <li> 2 = PodMonitor</li>
|
14855
14919
|
# <li> 3 = JobMonitor</li>
|
14856
14920
|
# @type Type: Integer
|
14857
|
-
# @param Yaml:
|
14921
|
+
# @param Yaml: 服务发现配置信息,YAML 格式
|
14922
|
+
|
14923
|
+
# 示例值:
|
14924
|
+
|
14925
|
+
# ```
|
14926
|
+
# apiVersion: monitoring.coreos.com/v1
|
14927
|
+
# kind: ServiceMonitor
|
14928
|
+
# metadata:
|
14929
|
+
# name: go-demo # 填写一个唯一名称
|
14930
|
+
# namespace: cm-prometheus # namespace固定,不要修改
|
14931
|
+
# spec:
|
14932
|
+
# endpoints:
|
14933
|
+
# - interval: 30s
|
14934
|
+
# # 填写service yaml中Prometheus Exporter对应的Port的Name
|
14935
|
+
# port: 2112
|
14936
|
+
# # 填写Prometheus Exporter对应的Path的值,不填默认/metrics
|
14937
|
+
# path: /metrics
|
14938
|
+
# relabelings:
|
14939
|
+
# # ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
|
14940
|
+
# # 我们通过 relabel 的 replace 动作把它替换成了 application
|
14941
|
+
# - action: replace
|
14942
|
+
# sourceLabels: [__meta_kubernetes_pod_label_app]
|
14943
|
+
# targetLabel: application
|
14944
|
+
# # 选择要监控service所在的namespace
|
14945
|
+
# namespaceSelector:
|
14946
|
+
# matchNames:
|
14947
|
+
# - golang-demo
|
14948
|
+
# # 填写要监控service的Label值,以定位目标service
|
14949
|
+
# selector:
|
14950
|
+
# matchLabels:
|
14951
|
+
# app: golang-app-demo
|
14952
|
+
# ```
|
14858
14953
|
# @type Yaml: String
|
14859
14954
|
|
14860
14955
|
attr_accessor :InstanceId, :KubeClusterId, :KubeType, :Type, :Yaml
|
@@ -14903,33 +14998,7 @@ module TencentCloud
|
|
14903
14998
|
class UpgradeGrafanaDashboardRequest < TencentCloud::Common::AbstractModel
|
14904
14999
|
# @param InstanceId: 实例 ID
|
14905
15000
|
# @type InstanceId: String
|
14906
|
-
# @param IntegrationCodes: Prometheus 集成项 Code,升级对应的 Dashboard
|
14907
|
-
# <li>qcloud</li>
|
14908
|
-
# <li>cvm_process_exporter</li>
|
14909
|
-
# <li>cvm_node_exporter</li>
|
14910
|
-
# <li>cvm</li>
|
14911
|
-
# <li>kubernetes</li>
|
14912
|
-
# <li>cdwch</li>
|
14913
|
-
# <li>rocketmq</li>
|
14914
|
-
# <li>spring_mvc</li>
|
14915
|
-
# <li>mysql</li>
|
14916
|
-
# <li>go</li>
|
14917
|
-
# <li>redis</li>
|
14918
|
-
# <li>jvm</li>
|
14919
|
-
# <li>pgsql</li>
|
14920
|
-
# <li>mongo</li>
|
14921
|
-
# <li>kafka</li>
|
14922
|
-
# <li>es</li>
|
14923
|
-
# <li>flink</li>
|
14924
|
-
# <li>blackbox</li>
|
14925
|
-
# <li>consule</li>
|
14926
|
-
# <li>memcached</li>
|
14927
|
-
# <li>zk</li>
|
14928
|
-
# <li>tps</li>
|
14929
|
-
# <li>istio</li>
|
14930
|
-
# <li>etcd</li>
|
14931
|
-
# <li>pts</li>
|
14932
|
-
# <li>kong</li>
|
15001
|
+
# @param IntegrationCodes: Prometheus 集成项 Code,升级对应的 Dashboard,取值如下:<li>qcloud</li><li>cvm_process_exporter</li><li>cvm_node_exporter</li><li>cvm</li><li>tps</li><li>nginx-ingress</li><li>nvidia-gpu</li><li>cdwch</li><li>emr</li><li>apache</li><li>rocketmq</li><li>rabbitmq</li><li>spring_mvc</li><li>mysql</li><li>mssql</li><li>go</li><li>redis</li><li>jvm</li><li>pgsql</li><li>ceph</li><li>docker</li><li>nginx</li><li>oracledb</li><li>mongo</li><li>kafka</li><li>es</li><li>flink</li><li>blackbox</li><li>consule</li><li>memcached</li><li>zk</li><li>tps</li><li>istio</li><li>etcd</li><li>pts</li><li>kong</li>
|
14933
15002
|
# @type IntegrationCodes: Array
|
14934
15003
|
|
14935
15004
|
attr_accessor :InstanceId, :IntegrationCodes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.866
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|