tencentcloud-sdk-apm 3.0.1199 → 3.0.1207
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210622/client.rb +21 -0
- 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: beed41a8b795539897cd31e780a3fec3dd53933c
|
|
4
|
+
data.tar.gz: 54ceabb7b0b8e74e19e3bcae588e35f4bcc921ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c17c5e58549d424bd5bb9911781c1683cb9d175e8a821ec98852decb81aae9bdd957fd0264d750de414e06788ae0be3ebce8bb5b9302f01e1d407b4862cdd937
|
|
7
|
+
data.tar.gz: 31b4ba50b98814b72978839755e1b924592377c00576cadf7e466ed14a5787c214e23f5f7a230ca25ea0a4bba8a328433abd5f3e8b55fc8bdd3e20e976b1c01a
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1207
|
data/lib/v20210622/client.rb
CHANGED
|
@@ -344,6 +344,27 @@ module TencentCloud
|
|
|
344
344
|
# 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
|
|
345
345
|
# 接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
|
|
346
346
|
|
|
347
|
+
# 获取指标数据通用接口用法:DescribeGeneralMetricData 是通用的指标数据查询接口,支持灵活的获取指标数据。该接口的查询方式类似于使用如下 SQL 语句:SELECT {Metrics} FROM {ViewName} WHERE {Filters} GROUP BY {GroupBy}。在发起请求前,请确定如下关键入参:
|
|
348
|
+
# 1. 视图(ViewName)
|
|
349
|
+
# 决定您要查询的数据领域。
|
|
350
|
+
# 例如:service_metric(服务监控视图)、db_metric(数据库视图)等。关于 APM 支持的视图,请参考 [指标视图](https://cloud.tencent.com/document/product/248/101681#069b06a9-2593-49db-b694-dea4200f3b19)。
|
|
351
|
+
|
|
352
|
+
# 2. 指标(Metrics)
|
|
353
|
+
# 用于指定返回结果中包含的一个或多个指标项。
|
|
354
|
+
# 例如:request_count(请求数)、duration_avg(平均耗时)、error_rate(错误率)。关于APM 支持的指标](Metrics),请参考 [APM 指标协议标准](https://cloud.tencent.com/document/product/248/101681),每种视图(ViewName)支持专属的指标集。
|
|
355
|
+
|
|
356
|
+
# 3. 过滤(Filters)
|
|
357
|
+
# 支持一个或多个键值对(Key-Value)形式的过滤条件。
|
|
358
|
+
# 例如:只查某个特定服务 service.name = "order-service"。通用维度和每种视图(ViewName)支持专属专属维度,可以用作过滤条件中的键(Key),更多详情请参考 [APM 指标协议标准](https://cloud.tencent.com/document/product/248/101681)。
|
|
359
|
+
|
|
360
|
+
# 4. 聚合(GroupBy)
|
|
361
|
+
# 支持一个或多个聚合维度,相当于 SQL 的 GROUP BY。
|
|
362
|
+
# 例如:按接口名称 operation 分组,查看每个接口的性能。通用维度和每种视图(ViewName)支持专属专属维度,可以用作聚合维度,更多详情请参考 [APM 指标协议标准](https://cloud.tencent.com/document/product/248/101681)。
|
|
363
|
+
# 5. 粒度 (Period)
|
|
364
|
+
# 该参数决定了是否需要以时间切片聚合。
|
|
365
|
+
# - Period = 1:时间序列模式:返回结果中按时间切片聚合,时间序列(TimeSerial)和数据序列(DataSerial)中包含的多个值一一对应,分别代表特定时间切片上的聚合结果。时间序列模式主要用于展示时间趋势图。
|
|
366
|
+
# - Period = 0:汇总统计模式:返回结果中,数据序列(DataSerial)中只包含唯一的值,代表整个时间区间内的汇总数据。
|
|
367
|
+
|
|
347
368
|
# @param request: Request instance for DescribeGeneralMetricData.
|
|
348
369
|
# @type request: :class:`Tencentcloud::apm::V20210622::DescribeGeneralMetricDataRequest`
|
|
349
370
|
# @rtype: :class:`Tencentcloud::apm::V20210622::DescribeGeneralMetricDataResponse`
|
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.1207
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|