tencentcloud-sdk-apm 3.0.963 → 3.0.965
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/v20210622/models.rb +15 -29
- 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: 7ead9bfc220089914b0f571fcf5463ce55889fd8
|
4
|
+
data.tar.gz: 9f46a7ca1d11cc7bf8ed9edc53160c731860cd15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 903956cda41f304daba3830b90742e85b49e75a6baaf18204a589926b9d54bfd1714e03afadfb328669edda07620ed29bb944a311d1fb75e545ddbe88a80972a
|
7
|
+
data.tar.gz: 2088f078fcf2e0eb1fd43efc06deafe842d7b11a0b201a0fe8ec9af026c576cefb5768223db2acf9b2d977e79f7632c6de4bbbb97cbfa8d75ddb1aa766195378
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.965
|
data/lib/v20210622/models.rb
CHANGED
@@ -745,28 +745,15 @@ module TencentCloud
|
|
745
745
|
|
746
746
|
# DescribeGeneralMetricData请求参数结构体
|
747
747
|
class DescribeGeneralMetricDataRequest < TencentCloud::Common::AbstractModel
|
748
|
-
# @param
|
749
|
-
# service_metric视图支持:service.name(服务名)、span.kind(客户端/服务端视角)为维度进行过滤,service.name(服务名)必填。
|
750
|
-
# span.kind:
|
751
|
-
# server:服务端视角
|
752
|
-
# client:客户端视角
|
753
|
-
# 默认为服务端视角进行查询。
|
754
|
-
# runtime_metric视图支持:service.name(服务名)维度进行过滤,service.name(服务名)必填。
|
755
|
-
# sql_metric视图支持:service.name(服务名)、db.instance(数据库名称)、db.ip(数据库实例ip)维度进行过滤,查询service_slow_sql_count(慢sql)指标时service.name必填,查询sql_duration_avg(耗时)指标时db.instance(数据库名称)必填。
|
756
|
-
# @type Filters: Array
|
757
|
-
# @param Metrics: 需要查询的指标,不可自定义输入。
|
758
|
-
# service_metric视图支持:service_request_count(总请求)、service_duration(平均响应时间)、service_error_req_rate(平均错误率)、service_slow_call_count(慢调用)、service_error_request_count(异常数量)。
|
759
|
-
# runtime_metric视图支持:service_gc_full_count(Full GC)。
|
760
|
-
# sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg(耗时)。
|
748
|
+
# @param Metrics: 需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
761
749
|
# @type Metrics: Array
|
762
750
|
# @param InstanceId: 业务系统ID
|
763
751
|
# @type InstanceId: String
|
764
|
-
# @param ViewName:
|
752
|
+
# @param ViewName: 视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
765
753
|
# @type ViewName: String
|
766
|
-
# @param
|
767
|
-
#
|
768
|
-
#
|
769
|
-
# sql_metric视图支持:service.name(服务名)、db.statement(sql语句)维度进行聚合,查询service_slow_sql_count(慢sql)时service.name(服务名)必填,查询sql_duration_avg(耗时)指标时service.name(服务名)、db.statement(sql语句)必填。
|
754
|
+
# @param Filters: 要过滤的维度信息,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
755
|
+
# @type Filters: Array
|
756
|
+
# @param GroupBy: 聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
770
757
|
# @type GroupBy: Array
|
771
758
|
# @param StartTime: 起始时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。
|
772
759
|
# @type StartTime: Integer
|
@@ -775,22 +762,21 @@ module TencentCloud
|
|
775
762
|
# @param Period: 聚合粒度,单位为秒,最小为60s,即一分钟的聚合粒度;如果为空或0则计算开始时间到截止时间的指标数据,上报其他值会报错。
|
776
763
|
# @type Period: Integer
|
777
764
|
# @param OrderBy: 对查询指标进行排序:
|
778
|
-
#
|
779
|
-
#
|
780
|
-
#
|
781
|
-
#
|
782
|
-
# desc:对查询指标进行降序排序
|
765
|
+
# Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
766
|
+
# Value 填写排序方式:
|
767
|
+
# - asc:对查询指标进行升序排序
|
768
|
+
# - desc:对查询指标进行降序排序
|
783
769
|
# @type OrderBy: :class:`Tencentcloud::Apm.v20210622.models.OrderBy`
|
784
770
|
# @param PageSize: 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。
|
785
771
|
# @type PageSize: Integer
|
786
772
|
|
787
|
-
attr_accessor :
|
773
|
+
attr_accessor :Metrics, :InstanceId, :ViewName, :Filters, :GroupBy, :StartTime, :EndTime, :Period, :OrderBy, :PageSize
|
788
774
|
|
789
|
-
def initialize(
|
790
|
-
@Filters = filters
|
775
|
+
def initialize(metrics=nil, instanceid=nil, viewname=nil, filters=nil, groupby=nil, starttime=nil, endtime=nil, period=nil, orderby=nil, pagesize=nil)
|
791
776
|
@Metrics = metrics
|
792
777
|
@InstanceId = instanceid
|
793
778
|
@ViewName = viewname
|
779
|
+
@Filters = filters
|
794
780
|
@GroupBy = groupby
|
795
781
|
@StartTime = starttime
|
796
782
|
@EndTime = endtime
|
@@ -800,6 +786,9 @@ module TencentCloud
|
|
800
786
|
end
|
801
787
|
|
802
788
|
def deserialize(params)
|
789
|
+
@Metrics = params['Metrics']
|
790
|
+
@InstanceId = params['InstanceId']
|
791
|
+
@ViewName = params['ViewName']
|
803
792
|
unless params['Filters'].nil?
|
804
793
|
@Filters = []
|
805
794
|
params['Filters'].each do |i|
|
@@ -808,9 +797,6 @@ module TencentCloud
|
|
808
797
|
@Filters << generalfilter_tmp
|
809
798
|
end
|
810
799
|
end
|
811
|
-
@Metrics = params['Metrics']
|
812
|
-
@InstanceId = params['InstanceId']
|
813
|
-
@ViewName = params['ViewName']
|
814
800
|
@GroupBy = params['GroupBy']
|
815
801
|
@StartTime = params['StartTime']
|
816
802
|
@EndTime = params['EndTime']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.965
|
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-12-
|
11
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|