tencentcloud-sdk-monitor 3.0.866 → 3.0.868
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/client.rb +1 -1
- data/lib/v20180724/models.rb +10 -105
- 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: a3e071a42201f505673850deb120e0c756e81644
|
4
|
+
data.tar.gz: 7bfd5a19e72be260f6e3efbf86b61dcde2152e9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1370d14a08057249964a2e7bc113d9044a47a5af6db675db0d46c7470fb854bf58f9d3480a336335e7aec54493eb9c1a930ec1fa1a35d7edc61805fc451e04e
|
7
|
+
data.tar.gz: 14534d7f2b4dc5058cb6342b0b06fcc5f30cf49fc53e6997a1fc455d2a602e5b9ff15889bc97ade5bae335e9f2095ae52949d06f7cdce654b09b2f7438d9fef7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.868
|
data/lib/v20180724/client.rb
CHANGED
@@ -3035,7 +3035,7 @@ module TencentCloud
|
|
3035
3035
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3036
3036
|
end
|
3037
3037
|
|
3038
|
-
# 修改prometheus
|
3038
|
+
# 修改prometheus采集配置
|
3039
3039
|
|
3040
3040
|
# @param request: Request instance for ModifyPrometheusConfig.
|
3041
3041
|
# @type request: :class:`Tencentcloud::monitor::V20180724::ModifyPrometheusConfigRequest`
|
data/lib/v20180724/models.rb
CHANGED
@@ -2759,38 +2759,7 @@ module TencentCloud
|
|
2759
2759
|
# <li> 2 = PodMonitor</li>
|
2760
2760
|
# <li> 3 = JobMonitor</li>
|
2761
2761
|
# @type Type: Integer
|
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
|
-
# ```
|
2762
|
+
# @param Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
|
2794
2763
|
# @type Yaml: String
|
2795
2764
|
|
2796
2765
|
attr_accessor :InstanceId, :KubeClusterId, :KubeType, :Type, :Yaml
|
@@ -3603,38 +3572,7 @@ module TencentCloud
|
|
3603
3572
|
# <li> 2 = PodMonitor</li>
|
3604
3573
|
# <li> 3 = PodMonitor</li>
|
3605
3574
|
# @type Type: Integer
|
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
|
-
# ```
|
3575
|
+
# @param Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
|
3638
3576
|
# @type Yaml: String
|
3639
3577
|
|
3640
3578
|
attr_accessor :InstanceId, :KubeClusterId, :KubeType, :Type, :Yaml
|
@@ -7700,9 +7638,9 @@ module TencentCloud
|
|
7700
7638
|
class DescribePrometheusClusterAgentsRequest < TencentCloud::Common::AbstractModel
|
7701
7639
|
# @param InstanceId: 实例id
|
7702
7640
|
# @type InstanceId: String
|
7703
|
-
# @param Offset:
|
7641
|
+
# @param Offset: 偏移量,默认为0。
|
7704
7642
|
# @type Offset: Integer
|
7705
|
-
# @param Limit:
|
7643
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
7706
7644
|
# @type Limit: Integer
|
7707
7645
|
# @param ClusterIds: 用于通过集群id过滤被绑定集群
|
7708
7646
|
# @type ClusterIds: Array
|
@@ -8222,9 +8160,9 @@ module TencentCloud
|
|
8222
8160
|
|
8223
8161
|
# DescribePrometheusInstancesOverview请求参数结构体
|
8224
8162
|
class DescribePrometheusInstancesOverviewRequest < TencentCloud::Common::AbstractModel
|
8225
|
-
# @param Offset:
|
8163
|
+
# @param Offset: 分页偏移量,默认为0
|
8226
8164
|
# @type Offset: Integer
|
8227
|
-
# @param Limit:
|
8165
|
+
# @param Limit: 返回数量,默认为20,最大值为100
|
8228
8166
|
# @type Limit: Integer
|
8229
8167
|
# @param Filters: 过滤实例,目前支持:
|
8230
8168
|
# ID: 通过实例ID来过滤
|
@@ -8625,7 +8563,7 @@ module TencentCloud
|
|
8625
8563
|
# @type ClusterType: String
|
8626
8564
|
# @param Filters: 过滤条件,支持Name=ServiceMonitor/PodMonitor/Probe/RawJob/Job, Value为采集配置名称;Name=Health, Value=up, down, unknown;Name=EndPoint, Value为EndPoint地址
|
8627
8565
|
# @type Filters: Array
|
8628
|
-
# @param Offset: targets
|
8566
|
+
# @param Offset: targets分页偏移量,默认为0
|
8629
8567
|
# @type Offset: Integer
|
8630
8568
|
# @param Limit: targets返回数量,默认为20,最大值200
|
8631
8569
|
# @type Limit: Integer
|
@@ -8693,7 +8631,7 @@ module TencentCloud
|
|
8693
8631
|
# Describe 按描述过滤
|
8694
8632
|
# ID 按templateId过滤
|
8695
8633
|
# @type Filters: Array
|
8696
|
-
# @param Offset:
|
8634
|
+
# @param Offset: 分页偏移量,默认为0
|
8697
8635
|
# @type Offset: Integer
|
8698
8636
|
# @param Limit: 总数限制
|
8699
8637
|
# @type Limit: Integer
|
@@ -14591,11 +14529,9 @@ module TencentCloud
|
|
14591
14529
|
|
14592
14530
|
# UpdatePrometheusAgentStatus请求参数结构体
|
14593
14531
|
class UpdatePrometheusAgentStatusRequest < TencentCloud::Common::AbstractModel
|
14594
|
-
# @param InstanceId: Prometheus 实例 ID
|
14532
|
+
# @param InstanceId: Prometheus 实例 ID
|
14595
14533
|
# @type InstanceId: String
|
14596
14534
|
# @param AgentIds: Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取
|
14597
|
-
|
14598
|
-
# 示例值:["agent-abcd1234"]
|
14599
14535
|
# @type AgentIds: Array
|
14600
14536
|
# @param Status: 要更新的状态
|
14601
14537
|
# <li> 1= 开启 </li>
|
@@ -14918,38 +14854,7 @@ module TencentCloud
|
|
14918
14854
|
# <li> 2 = PodMonitor</li>
|
14919
14855
|
# <li> 3 = JobMonitor</li>
|
14920
14856
|
# @type Type: Integer
|
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
|
-
# ```
|
14857
|
+
# @param Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
|
14953
14858
|
# @type Yaml: String
|
14954
14859
|
|
14955
14860
|
attr_accessor :InstanceId, :KubeClusterId, :KubeType, :Type, :Yaml
|
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.868
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|