tencentcloud-sdk-apm 3.0.1138 → 3.0.1144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34d942dc69b52fb78531058c1d9e96aae1d85452
4
- data.tar.gz: 36d1eb78d88632a82ae14bee50d8b762bb4701b2
3
+ metadata.gz: 4242909d1a14aaf83b332ca73dbbb4458e194590
4
+ data.tar.gz: 0580c58870ece711810a20d1551bff9272f1b130
5
5
  SHA512:
6
- metadata.gz: 35fb9e06581818e65842294cefc5dc11cfd6cf92de383cbf8ac9482611d2060c4178992dc0b84f620f5a9fd24c5513a8302aecb7bf86a2d80ff4ae6750e274d3
7
- data.tar.gz: 469b603119b61a2acc148bd070ee487537af711603181fe6ac192cefa0da9db08326ff0bfb0e3cf88bb3ac371a85b84b43ee747da1eacf7dcd4b1543dc649ac0
6
+ metadata.gz: 40194a99bc8b1ec3f3a237afbe9f7a52f79a8ca2fec2c58b45b2f9371743ce6c187745109fbd05afcca34f0a31b39bc1676aab7c11714a53fb0650318978105f
7
+ data.tar.gz: b7c6e4f430b0b0ab6c4e890048c1f92a8e3a9c08939d05fb25c1b458c45a65ecc93119707870882d2934607fae957816119571f6ff0a35a25f29e248716b18e0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1138
1
+ 3.0.1144
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 获取 APM 应用指标列表
129
+
130
+ # @param request: Request instance for DescribeApmServiceMetric.
131
+ # @type request: :class:`Tencentcloud::apm::V20210622::DescribeApmServiceMetricRequest`
132
+ # @rtype: :class:`Tencentcloud::apm::V20210622::DescribeApmServiceMetricResponse`
133
+ def DescribeApmServiceMetric(request)
134
+ body = send_request('DescribeApmServiceMetric', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DescribeApmServiceMetricResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
128
152
  # 查询应用配置信息
129
153
 
130
154
  # @param request: Request instance for DescribeGeneralApmApplicationConfig.
@@ -539,6 +539,50 @@ module TencentCloud
539
539
  end
540
540
  end
541
541
 
542
+ # apm应用指标信息
543
+ class ApmServiceMetric < TencentCloud::Common::AbstractModel
544
+ # @param Fields: filed数组
545
+ # 注意:此字段可能返回 null,表示取不到有效值。
546
+ # @type Fields: Array
547
+ # @param Tags: tag数组
548
+ # 注意:此字段可能返回 null,表示取不到有效值。
549
+ # @type Tags: Array
550
+ # @param ServiceDetail: 应用信息
551
+ # 注意:此字段可能返回 null,表示取不到有效值。
552
+ # @type ServiceDetail: :class:`Tencentcloud::Apm.v20210622.models.ServiceDetail`
553
+
554
+ attr_accessor :Fields, :Tags, :ServiceDetail
555
+
556
+ def initialize(fields=nil, tags=nil, servicedetail=nil)
557
+ @Fields = fields
558
+ @Tags = tags
559
+ @ServiceDetail = servicedetail
560
+ end
561
+
562
+ def deserialize(params)
563
+ unless params['Fields'].nil?
564
+ @Fields = []
565
+ params['Fields'].each do |i|
566
+ apmfield_tmp = ApmField.new
567
+ apmfield_tmp.deserialize(i)
568
+ @Fields << apmfield_tmp
569
+ end
570
+ end
571
+ unless params['Tags'].nil?
572
+ @Tags = []
573
+ params['Tags'].each do |i|
574
+ apmtag_tmp = ApmTag.new
575
+ apmtag_tmp.deserialize(i)
576
+ @Tags << apmtag_tmp
577
+ end
578
+ end
579
+ unless params['ServiceDetail'].nil?
580
+ @ServiceDetail = ServiceDetail.new
581
+ @ServiceDetail.deserialize(params['ServiceDetail'])
582
+ end
583
+ end
584
+ end
585
+
542
586
  # 维度(标签)对象
543
587
  class ApmTag < TencentCloud::Common::AbstractModel
544
588
  # @param Key: 维度Key(列名,标签Key)
@@ -815,6 +859,138 @@ module TencentCloud
815
859
  end
816
860
  end
817
861
 
862
+ # DescribeApmServiceMetric请求参数结构体
863
+ class DescribeApmServiceMetricRequest < TencentCloud::Common::AbstractModel
864
+ # @param InstanceId: 业务系统ID
865
+ # @type InstanceId: String
866
+ # @param ServiceName: 应用名
867
+ # @type ServiceName: String
868
+ # @param ServiceID: 应用ID
869
+ # @type ServiceID: String
870
+ # @param StartTime: 开始时间
871
+ # @type StartTime: Integer
872
+ # @param EndTime: 结束时间
873
+ # @type EndTime: Integer
874
+ # @param OrderBy: 排序
875
+ # @type OrderBy: :class:`Tencentcloud::Apm.v20210622.models.OrderBy`
876
+ # @param Demo: 是否demo模式
877
+ # @type Demo: Boolean
878
+ # @param ServiceStatus: 应用状态筛选,可枚举的值为:health、warning、error。如果选中多个状态用逗号隔开,比如:"warning,error"
879
+ # @type ServiceStatus: String
880
+ # @param Tags: 标签列表
881
+ # @type Tags: Array
882
+ # @param Page: 页码
883
+ # @type Page: Integer
884
+ # @param PageSize: 页大小
885
+ # @type PageSize: Integer
886
+ # @param Filters: 过滤条件
887
+ # @type Filters: Array
888
+
889
+ attr_accessor :InstanceId, :ServiceName, :ServiceID, :StartTime, :EndTime, :OrderBy, :Demo, :ServiceStatus, :Tags, :Page, :PageSize, :Filters
890
+
891
+ def initialize(instanceid=nil, servicename=nil, serviceid=nil, starttime=nil, endtime=nil, orderby=nil, demo=nil, servicestatus=nil, tags=nil, page=nil, pagesize=nil, filters=nil)
892
+ @InstanceId = instanceid
893
+ @ServiceName = servicename
894
+ @ServiceID = serviceid
895
+ @StartTime = starttime
896
+ @EndTime = endtime
897
+ @OrderBy = orderby
898
+ @Demo = demo
899
+ @ServiceStatus = servicestatus
900
+ @Tags = tags
901
+ @Page = page
902
+ @PageSize = pagesize
903
+ @Filters = filters
904
+ end
905
+
906
+ def deserialize(params)
907
+ @InstanceId = params['InstanceId']
908
+ @ServiceName = params['ServiceName']
909
+ @ServiceID = params['ServiceID']
910
+ @StartTime = params['StartTime']
911
+ @EndTime = params['EndTime']
912
+ unless params['OrderBy'].nil?
913
+ @OrderBy = OrderBy.new
914
+ @OrderBy.deserialize(params['OrderBy'])
915
+ end
916
+ @Demo = params['Demo']
917
+ @ServiceStatus = params['ServiceStatus']
918
+ unless params['Tags'].nil?
919
+ @Tags = []
920
+ params['Tags'].each do |i|
921
+ apmtag_tmp = ApmTag.new
922
+ apmtag_tmp.deserialize(i)
923
+ @Tags << apmtag_tmp
924
+ end
925
+ end
926
+ @Page = params['Page']
927
+ @PageSize = params['PageSize']
928
+ unless params['Filters'].nil?
929
+ @Filters = []
930
+ params['Filters'].each do |i|
931
+ filter_tmp = Filter.new
932
+ filter_tmp.deserialize(i)
933
+ @Filters << filter_tmp
934
+ end
935
+ end
936
+ end
937
+ end
938
+
939
+ # DescribeApmServiceMetric返回参数结构体
940
+ class DescribeApmServiceMetricResponse < TencentCloud::Common::AbstractModel
941
+ # @param ServiceMetricList: 应用指标列表
942
+ # @type ServiceMetricList: Array
943
+ # @param TotalCount: 符合筛选条件的应用数
944
+ # @type TotalCount: Integer
945
+ # @param WarningErrorCount: 警示异常应用数
946
+ # @type WarningErrorCount: Integer
947
+ # @param ApplicationCount: 应用总数
948
+ # @type ApplicationCount: Integer
949
+ # @param Page: 页码
950
+ # @type Page: Integer
951
+ # @param PageSize: 页大小
952
+ # @type PageSize: Integer
953
+ # @param ErrorCount: 异常应用数
954
+ # @type ErrorCount: Integer
955
+ # @param WarningCount: 警示应用数
956
+ # @type WarningCount: Integer
957
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
958
+ # @type RequestId: String
959
+
960
+ attr_accessor :ServiceMetricList, :TotalCount, :WarningErrorCount, :ApplicationCount, :Page, :PageSize, :ErrorCount, :WarningCount, :RequestId
961
+
962
+ def initialize(servicemetriclist=nil, totalcount=nil, warningerrorcount=nil, applicationcount=nil, page=nil, pagesize=nil, errorcount=nil, warningcount=nil, requestid=nil)
963
+ @ServiceMetricList = servicemetriclist
964
+ @TotalCount = totalcount
965
+ @WarningErrorCount = warningerrorcount
966
+ @ApplicationCount = applicationcount
967
+ @Page = page
968
+ @PageSize = pagesize
969
+ @ErrorCount = errorcount
970
+ @WarningCount = warningcount
971
+ @RequestId = requestid
972
+ end
973
+
974
+ def deserialize(params)
975
+ unless params['ServiceMetricList'].nil?
976
+ @ServiceMetricList = []
977
+ params['ServiceMetricList'].each do |i|
978
+ apmservicemetric_tmp = ApmServiceMetric.new
979
+ apmservicemetric_tmp.deserialize(i)
980
+ @ServiceMetricList << apmservicemetric_tmp
981
+ end
982
+ end
983
+ @TotalCount = params['TotalCount']
984
+ @WarningErrorCount = params['WarningErrorCount']
985
+ @ApplicationCount = params['ApplicationCount']
986
+ @Page = params['Page']
987
+ @PageSize = params['PageSize']
988
+ @ErrorCount = params['ErrorCount']
989
+ @WarningCount = params['WarningCount']
990
+ @RequestId = params['RequestId']
991
+ end
992
+ end
993
+
818
994
  # DescribeGeneralApmApplicationConfig请求参数结构体
819
995
  class DescribeGeneralApmApplicationConfigRequest < TencentCloud::Common::AbstractModel
820
996
  # @param ServiceName: 应用名
@@ -1850,6 +2026,69 @@ module TencentCloud
1850
2026
  end
1851
2027
  end
1852
2028
 
2029
+ # 应用详细信息
2030
+ class ServiceDetail < TencentCloud::Common::AbstractModel
2031
+ # @param ServiceID: 应用ID
2032
+ # 注意:此字段可能返回 null,表示取不到有效值。
2033
+ # @type ServiceID: String
2034
+ # @param InstanceKey: 业务系统ID
2035
+ # 注意:此字段可能返回 null,表示取不到有效值。
2036
+ # @type InstanceKey: String
2037
+ # @param AppID: 用户appid
2038
+ # 注意:此字段可能返回 null,表示取不到有效值。
2039
+ # @type AppID: Integer
2040
+ # @param CreateUIN: 主账号uin
2041
+ # 注意:此字段可能返回 null,表示取不到有效值。
2042
+ # @type CreateUIN: String
2043
+ # @param ServiceName: 应用名
2044
+ # 注意:此字段可能返回 null,表示取不到有效值。
2045
+ # @type ServiceName: String
2046
+ # @param ServiceDescription: 应用描述
2047
+ # 注意:此字段可能返回 null,表示取不到有效值。
2048
+ # @type ServiceDescription: String
2049
+ # @param Region: 地域
2050
+ # 注意:此字段可能返回 null,表示取不到有效值。
2051
+ # @type Region: String
2052
+ # @param Tags: 标签
2053
+ # 注意:此字段可能返回 null,表示取不到有效值。
2054
+ # @type Tags: Array
2055
+ # @param InstanceName: 业务系统名称
2056
+ # @type InstanceName: String
2057
+
2058
+ attr_accessor :ServiceID, :InstanceKey, :AppID, :CreateUIN, :ServiceName, :ServiceDescription, :Region, :Tags, :InstanceName
2059
+
2060
+ def initialize(serviceid=nil, instancekey=nil, appid=nil, createuin=nil, servicename=nil, servicedescription=nil, region=nil, tags=nil, instancename=nil)
2061
+ @ServiceID = serviceid
2062
+ @InstanceKey = instancekey
2063
+ @AppID = appid
2064
+ @CreateUIN = createuin
2065
+ @ServiceName = servicename
2066
+ @ServiceDescription = servicedescription
2067
+ @Region = region
2068
+ @Tags = tags
2069
+ @InstanceName = instancename
2070
+ end
2071
+
2072
+ def deserialize(params)
2073
+ @ServiceID = params['ServiceID']
2074
+ @InstanceKey = params['InstanceKey']
2075
+ @AppID = params['AppID']
2076
+ @CreateUIN = params['CreateUIN']
2077
+ @ServiceName = params['ServiceName']
2078
+ @ServiceDescription = params['ServiceDescription']
2079
+ @Region = params['Region']
2080
+ unless params['Tags'].nil?
2081
+ @Tags = []
2082
+ params['Tags'].each do |i|
2083
+ apmtag_tmp = ApmTag.new
2084
+ apmtag_tmp.deserialize(i)
2085
+ @Tags << apmtag_tmp
2086
+ end
2087
+ end
2088
+ @InstanceName = params['InstanceName']
2089
+ end
2090
+ end
2091
+
1853
2092
  # Span 对象
1854
2093
  class Span < TencentCloud::Common::AbstractModel
1855
2094
  # @param TraceID: Trace ID
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.1138
4
+ version: 3.0.1144
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-10 00:00:00.000000000 Z
11
+ date: 2025-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common