tencentcloud-sdk-nodejs-apm 4.0.692 → 4.0.693
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.
- package/CHANGELOG.md +271 -0
- package/SERVICE_CHANGELOG.md +367 -97
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/services/apm/v20210622/apm_client.ts +17 -0
- package/src/services/apm/v20210622/apm_models.ts +187 -0
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +180 -0
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-09-14 01:07:23 |
|
|
18
|
-
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-
|
|
18
|
+
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-09-21 01:15:22 |
|
|
19
19
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-09-12 01:09:06 |
|
|
20
|
-
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-
|
|
20
|
+
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-21 01:17:04 |
|
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
|
22
22
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2023-08-17 01:18:28 |
|
|
23
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-09-
|
|
23
|
+
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-09-21 01:17:48 |
|
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-08-17 01:19:19 |
|
|
25
25
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-09-18 01:10:19 |
|
|
26
26
|
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-09-18 01:10:26 |
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2023-08-17 01:22:35 |
|
|
35
35
|
| bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2023-05-18 01:06:40 |
|
|
36
36
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2023-05-18 01:06:44 |
|
|
37
|
-
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-
|
|
37
|
+
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-09-21 01:23:47 |
|
|
38
38
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2023-08-24 10:06:50 |
|
|
39
|
-
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-
|
|
39
|
+
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-09-21 01:28:16 |
|
|
40
40
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
|
|
42
42
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-09-20 01:08:08 |
|
|
43
43
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2023-09-15 01:15:34 |
|
|
44
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-09-
|
|
44
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-09-21 01:31:18 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-09-12 01:18:51 |
|
|
46
46
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-09-20 01:08:50 |
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
|
|
55
55
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
56
56
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
57
|
-
| ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-09-
|
|
58
|
-
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-09-
|
|
57
|
+
| ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-09-21 01:53:00 |
|
|
58
|
+
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-09-21 01:56:45 |
|
|
59
59
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-05-18 01:13:28 |
|
|
60
60
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-08-17 01:57:08 |
|
|
61
61
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-08-03 01:03:28 |
|
|
62
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-09-
|
|
62
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-09-21 02:03:11 |
|
|
63
63
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-08-17 02:01:58 |
|
|
64
64
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-08-17 02:03:39 |
|
|
65
65
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-08-24 01:10:10 |
|
|
66
|
-
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-
|
|
66
|
+
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
|
|
67
67
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
68
68
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-09-12 01:32:51 |
|
|
69
69
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-08-17 03:08:06 |
|
|
96
96
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-09-15 01:48:20 |
|
|
97
97
|
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-20 01:35:54 |
|
|
98
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-
|
|
98
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-21 03:37:59 |
|
|
99
99
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
|
|
100
100
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-09-19 01:15:41 |
|
|
101
101
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
|
@@ -134,14 +134,14 @@
|
|
|
134
134
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
135
135
|
| mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2023-07-17 10:16:02 |
|
|
136
136
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2023-08-29 01:18:45 |
|
|
137
|
-
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2023-
|
|
137
|
+
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2023-09-21 04:45:17 |
|
|
138
138
|
| memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2023-08-29 01:18:58 |
|
|
139
139
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
140
140
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 |
|
|
141
141
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-30 01:19:09 |
|
|
142
142
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-09-15 02:08:53 |
|
|
143
143
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-09-15 02:09:24 |
|
|
144
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-
|
|
144
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-21 04:51:12 |
|
|
145
145
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-09-13 02:09:08 |
|
|
146
146
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-08-30 01:19:55 |
|
|
147
147
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-08-17 04:18:22 |
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 |
|
|
150
150
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
151
151
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-09-06 02:10:27 |
|
|
152
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-09-
|
|
152
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-09-21 04:56:57 |
|
|
153
153
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-09-18 02:11:06 |
|
|
154
154
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-09-19 14:35:45 |
|
|
155
155
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-07-11 01:37:49 |
|
|
169
169
|
| smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2023-05-18 01:47:59 |
|
|
170
170
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2023-08-17 04:38:34 |
|
|
171
|
-
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-
|
|
171
|
+
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-09-21 05:17:41 |
|
|
172
172
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-07-10 01:39:48 |
|
|
173
173
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
174
174
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-09-13 02:18:02 |
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2023-08-17 04:46:36 |
|
|
179
179
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2023-08-17 04:47:11 |
|
|
180
180
|
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2023-08-17 04:47:19 |
|
|
181
|
-
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2023-
|
|
181
|
+
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2023-09-21 05:27:30 |
|
|
182
182
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-05-18 01:50:16 |
|
|
183
183
|
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-09-18 02:20:44 |
|
|
184
184
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
|
|
201
201
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
|
202
202
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-09-20 01:47:29 |
|
|
203
|
-
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-09-
|
|
203
|
+
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-09-21 06:17:00 |
|
|
204
204
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
205
205
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
206
206
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
| tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2023-08-10 01:43:37 |
|
|
217
217
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
|
|
218
218
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2023-09-19 01:28:01 |
|
|
219
|
-
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-
|
|
219
|
+
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-09-21 06:25:32 |
|
|
220
220
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
|
221
221
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-09-20 01:50:48 |
|
|
222
222
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-09-18 02:36:04 |
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
|
+
SpanLog,
|
|
20
21
|
ModifyApmInstanceRequest,
|
|
21
22
|
ApmInstanceDetail,
|
|
22
23
|
CreateApmInstanceRequest,
|
|
@@ -24,12 +25,15 @@ import {
|
|
|
24
25
|
QueryMetricItem,
|
|
25
26
|
TerminateApmInstanceRequest,
|
|
26
27
|
DescribeApmInstancesResponse,
|
|
28
|
+
Span,
|
|
27
29
|
ApmAgentInfo,
|
|
30
|
+
DescribeGeneralSpanListResponse,
|
|
28
31
|
ApmMetricRecord,
|
|
29
32
|
DescribeServiceOverviewRequest,
|
|
30
33
|
DescribeApmAgentResponse,
|
|
31
34
|
ApmField,
|
|
32
35
|
Line,
|
|
36
|
+
DescribeGeneralSpanListRequest,
|
|
33
37
|
APMKVItem,
|
|
34
38
|
OrderBy,
|
|
35
39
|
DescribeMetricRecordsResponse,
|
|
@@ -40,9 +44,12 @@ import {
|
|
|
40
44
|
DescribeMetricRecordsRequest,
|
|
41
45
|
DescribeGeneralMetricDataRequest,
|
|
42
46
|
CreateApmInstanceResponse,
|
|
47
|
+
SpanReference,
|
|
48
|
+
SpanProcess,
|
|
43
49
|
ModifyApmInstanceResponse,
|
|
44
50
|
GeneralFilter,
|
|
45
51
|
DescribeApmInstancesRequest,
|
|
52
|
+
SpanTag,
|
|
46
53
|
DescribeGeneralMetricDataResponse,
|
|
47
54
|
TerminateApmInstanceResponse,
|
|
48
55
|
} from "./apm_models"
|
|
@@ -66,6 +73,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
66
73
|
return this.request("ModifyApmInstance", req, cb)
|
|
67
74
|
}
|
|
68
75
|
|
|
76
|
+
/**
|
|
77
|
+
* 通用查询调用链列表
|
|
78
|
+
*/
|
|
79
|
+
async DescribeGeneralSpanList(
|
|
80
|
+
req: DescribeGeneralSpanListRequest,
|
|
81
|
+
cb?: (error: string, rep: DescribeGeneralSpanListResponse) => void
|
|
82
|
+
): Promise<DescribeGeneralSpanListResponse> {
|
|
83
|
+
return this.request("DescribeGeneralSpanList", req, cb)
|
|
84
|
+
}
|
|
85
|
+
|
|
69
86
|
/**
|
|
70
87
|
* APM实例列表拉取
|
|
71
88
|
*/
|
|
@@ -15,6 +15,22 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Span日志部分
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
*/
|
|
23
|
+
export interface SpanLog {
|
|
24
|
+
/**
|
|
25
|
+
* 日志时间戳
|
|
26
|
+
*/
|
|
27
|
+
Timestamp: number
|
|
28
|
+
/**
|
|
29
|
+
* 标签
|
|
30
|
+
*/
|
|
31
|
+
Fields: Array<SpanTag>
|
|
32
|
+
}
|
|
33
|
+
|
|
18
34
|
/**
|
|
19
35
|
* ModifyApmInstance请求参数结构体
|
|
20
36
|
*/
|
|
@@ -312,6 +328,69 @@ export interface DescribeApmInstancesResponse {
|
|
|
312
328
|
RequestId?: string
|
|
313
329
|
}
|
|
314
330
|
|
|
331
|
+
/**
|
|
332
|
+
* Span对象
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
*/
|
|
336
|
+
export interface Span {
|
|
337
|
+
/**
|
|
338
|
+
* Trace Id
|
|
339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
340
|
+
*/
|
|
341
|
+
TraceID?: string
|
|
342
|
+
/**
|
|
343
|
+
* 日志
|
|
344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
345
|
+
*/
|
|
346
|
+
Logs?: Array<SpanLog>
|
|
347
|
+
/**
|
|
348
|
+
* 标签
|
|
349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
350
|
+
*/
|
|
351
|
+
Tags?: Array<SpanTag>
|
|
352
|
+
/**
|
|
353
|
+
* 上报应用服务信息
|
|
354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
355
|
+
*/
|
|
356
|
+
Process?: SpanProcess
|
|
357
|
+
/**
|
|
358
|
+
* 产生时间戳(毫秒)
|
|
359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
360
|
+
*/
|
|
361
|
+
Timestamp?: number
|
|
362
|
+
/**
|
|
363
|
+
* Span名称
|
|
364
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
365
|
+
*/
|
|
366
|
+
OperationName?: string
|
|
367
|
+
/**
|
|
368
|
+
* 关联关系
|
|
369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
370
|
+
*/
|
|
371
|
+
References?: Array<SpanReference>
|
|
372
|
+
/**
|
|
373
|
+
* 产生时间戳(微秒)
|
|
374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
375
|
+
*/
|
|
376
|
+
StartTime?: number
|
|
377
|
+
/**
|
|
378
|
+
* 持续耗时(微妙)
|
|
379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
380
|
+
*/
|
|
381
|
+
Duration?: number
|
|
382
|
+
/**
|
|
383
|
+
* Span Id
|
|
384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
385
|
+
*/
|
|
386
|
+
SpanID?: string
|
|
387
|
+
/**
|
|
388
|
+
* 产生时间戳(毫秒)
|
|
389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
390
|
+
*/
|
|
391
|
+
StartTimeMillis?: number
|
|
392
|
+
}
|
|
393
|
+
|
|
315
394
|
/**
|
|
316
395
|
* apm Agent信息
|
|
317
396
|
*/
|
|
@@ -348,6 +427,24 @@ export interface ApmAgentInfo {
|
|
|
348
427
|
PrivateLinkCollectorURL: string
|
|
349
428
|
}
|
|
350
429
|
|
|
430
|
+
/**
|
|
431
|
+
* DescribeGeneralSpanList返回参数结构体
|
|
432
|
+
*/
|
|
433
|
+
export interface DescribeGeneralSpanListResponse {
|
|
434
|
+
/**
|
|
435
|
+
* 总数量
|
|
436
|
+
*/
|
|
437
|
+
TotalCount: number
|
|
438
|
+
/**
|
|
439
|
+
* Span分页列表
|
|
440
|
+
*/
|
|
441
|
+
Spans: Array<Span>
|
|
442
|
+
/**
|
|
443
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
444
|
+
*/
|
|
445
|
+
RequestId?: string
|
|
446
|
+
}
|
|
447
|
+
|
|
351
448
|
/**
|
|
352
449
|
* 指标列表单元
|
|
353
450
|
*/
|
|
@@ -482,6 +579,44 @@ export interface Line {
|
|
|
482
579
|
Tags: Array<ApmTag>
|
|
483
580
|
}
|
|
484
581
|
|
|
582
|
+
/**
|
|
583
|
+
* DescribeGeneralSpanList请求参数结构体
|
|
584
|
+
*/
|
|
585
|
+
export interface DescribeGeneralSpanListRequest {
|
|
586
|
+
/**
|
|
587
|
+
* 分页
|
|
588
|
+
*/
|
|
589
|
+
Offset: number
|
|
590
|
+
/**
|
|
591
|
+
* 列表项个数
|
|
592
|
+
*/
|
|
593
|
+
Limit: number
|
|
594
|
+
/**
|
|
595
|
+
* 排序
|
|
596
|
+
*/
|
|
597
|
+
OrderBy?: OrderBy
|
|
598
|
+
/**
|
|
599
|
+
* span查询开始时间戳(单位:秒)
|
|
600
|
+
*/
|
|
601
|
+
StartTime?: number
|
|
602
|
+
/**
|
|
603
|
+
* 实例名
|
|
604
|
+
*/
|
|
605
|
+
InstanceId?: string
|
|
606
|
+
/**
|
|
607
|
+
* 通用过滤参数
|
|
608
|
+
*/
|
|
609
|
+
Filters?: Array<Filter>
|
|
610
|
+
/**
|
|
611
|
+
* 业务自身服务名
|
|
612
|
+
*/
|
|
613
|
+
BusinessName?: string
|
|
614
|
+
/**
|
|
615
|
+
* span查询结束时间戳(单位:秒)
|
|
616
|
+
*/
|
|
617
|
+
EndTime?: number
|
|
618
|
+
}
|
|
619
|
+
|
|
485
620
|
/**
|
|
486
621
|
* Apm通用KV结构
|
|
487
622
|
*/
|
|
@@ -743,6 +878,38 @@ export interface CreateApmInstanceResponse {
|
|
|
743
878
|
RequestId?: string
|
|
744
879
|
}
|
|
745
880
|
|
|
881
|
+
/**
|
|
882
|
+
* Span上下游关联关系
|
|
883
|
+
*/
|
|
884
|
+
export interface SpanReference {
|
|
885
|
+
/**
|
|
886
|
+
* 关联关系类型
|
|
887
|
+
*/
|
|
888
|
+
RefType: string
|
|
889
|
+
/**
|
|
890
|
+
* Span ID
|
|
891
|
+
*/
|
|
892
|
+
SpanID: string
|
|
893
|
+
/**
|
|
894
|
+
* Trace ID
|
|
895
|
+
*/
|
|
896
|
+
TraceID: string
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* 服务相关信息
|
|
901
|
+
*/
|
|
902
|
+
export interface SpanProcess {
|
|
903
|
+
/**
|
|
904
|
+
* 应用服务名称
|
|
905
|
+
*/
|
|
906
|
+
ServiceName: string
|
|
907
|
+
/**
|
|
908
|
+
* Tags 标签数组
|
|
909
|
+
*/
|
|
910
|
+
Tags: Array<SpanTag>
|
|
911
|
+
}
|
|
912
|
+
|
|
746
913
|
/**
|
|
747
914
|
* ModifyApmInstance返回参数结构体
|
|
748
915
|
*/
|
|
@@ -793,6 +960,26 @@ export interface DescribeApmInstancesRequest {
|
|
|
793
960
|
AllRegionsFlag?: number
|
|
794
961
|
}
|
|
795
962
|
|
|
963
|
+
/**
|
|
964
|
+
* 标签
|
|
965
|
+
*/
|
|
966
|
+
export interface SpanTag {
|
|
967
|
+
/**
|
|
968
|
+
* 标签类型
|
|
969
|
+
*/
|
|
970
|
+
Type: string
|
|
971
|
+
/**
|
|
972
|
+
* 标签Key
|
|
973
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
974
|
+
*/
|
|
975
|
+
Key: string
|
|
976
|
+
/**
|
|
977
|
+
* 标签值
|
|
978
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
979
|
+
*/
|
|
980
|
+
Value: string
|
|
981
|
+
}
|
|
982
|
+
|
|
796
983
|
/**
|
|
797
984
|
* DescribeGeneralMetricData返回参数结构体
|
|
798
985
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeMetricRecordsResponse, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
2
|
+
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, DescribeServiceOverviewResponse, TerminateApmInstanceRequest, DescribeApmInstancesResponse, DescribeGeneralSpanListResponse, DescribeServiceOverviewRequest, DescribeApmAgentResponse, DescribeGeneralSpanListRequest, DescribeMetricRecordsResponse, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, CreateApmInstanceResponse, ModifyApmInstanceResponse, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
3
3
|
/**
|
|
4
4
|
* apm client
|
|
5
5
|
* @class
|
|
@@ -10,6 +10,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
10
10
|
* 修改Apm实例接口
|
|
11
11
|
*/
|
|
12
12
|
ModifyApmInstance(req: ModifyApmInstanceRequest, cb?: (error: string, rep: ModifyApmInstanceResponse) => void): Promise<ModifyApmInstanceResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* 通用查询调用链列表
|
|
15
|
+
*/
|
|
16
|
+
DescribeGeneralSpanList(req: DescribeGeneralSpanListRequest, cb?: (error: string, rep: DescribeGeneralSpanListResponse) => void): Promise<DescribeGeneralSpanListResponse>;
|
|
13
17
|
/**
|
|
14
18
|
* APM实例列表拉取
|
|
15
19
|
*/
|
|
@@ -33,6 +33,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
33
33
|
async ModifyApmInstance(req, cb) {
|
|
34
34
|
return this.request("ModifyApmInstance", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 通用查询调用链列表
|
|
38
|
+
*/
|
|
39
|
+
async DescribeGeneralSpanList(req, cb) {
|
|
40
|
+
return this.request("DescribeGeneralSpanList", req, cb);
|
|
41
|
+
}
|
|
36
42
|
/**
|
|
37
43
|
* APM实例列表拉取
|
|
38
44
|
*/
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Span日志部分
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
export interface SpanLog {
|
|
7
|
+
/**
|
|
8
|
+
* 日志时间戳
|
|
9
|
+
*/
|
|
10
|
+
Timestamp: number;
|
|
11
|
+
/**
|
|
12
|
+
* 标签
|
|
13
|
+
*/
|
|
14
|
+
Fields: Array<SpanTag>;
|
|
15
|
+
}
|
|
1
16
|
/**
|
|
2
17
|
* ModifyApmInstance请求参数结构体
|
|
3
18
|
*/
|
|
@@ -288,6 +303,68 @@ export interface DescribeApmInstancesResponse {
|
|
|
288
303
|
*/
|
|
289
304
|
RequestId?: string;
|
|
290
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* Span对象
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
*/
|
|
311
|
+
export interface Span {
|
|
312
|
+
/**
|
|
313
|
+
* Trace Id
|
|
314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
315
|
+
*/
|
|
316
|
+
TraceID?: string;
|
|
317
|
+
/**
|
|
318
|
+
* 日志
|
|
319
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
320
|
+
*/
|
|
321
|
+
Logs?: Array<SpanLog>;
|
|
322
|
+
/**
|
|
323
|
+
* 标签
|
|
324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
325
|
+
*/
|
|
326
|
+
Tags?: Array<SpanTag>;
|
|
327
|
+
/**
|
|
328
|
+
* 上报应用服务信息
|
|
329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
330
|
+
*/
|
|
331
|
+
Process?: SpanProcess;
|
|
332
|
+
/**
|
|
333
|
+
* 产生时间戳(毫秒)
|
|
334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
335
|
+
*/
|
|
336
|
+
Timestamp?: number;
|
|
337
|
+
/**
|
|
338
|
+
* Span名称
|
|
339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
340
|
+
*/
|
|
341
|
+
OperationName?: string;
|
|
342
|
+
/**
|
|
343
|
+
* 关联关系
|
|
344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
345
|
+
*/
|
|
346
|
+
References?: Array<SpanReference>;
|
|
347
|
+
/**
|
|
348
|
+
* 产生时间戳(微秒)
|
|
349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
350
|
+
*/
|
|
351
|
+
StartTime?: number;
|
|
352
|
+
/**
|
|
353
|
+
* 持续耗时(微妙)
|
|
354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
355
|
+
*/
|
|
356
|
+
Duration?: number;
|
|
357
|
+
/**
|
|
358
|
+
* Span Id
|
|
359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
360
|
+
*/
|
|
361
|
+
SpanID?: string;
|
|
362
|
+
/**
|
|
363
|
+
* 产生时间戳(毫秒)
|
|
364
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
365
|
+
*/
|
|
366
|
+
StartTimeMillis?: number;
|
|
367
|
+
}
|
|
291
368
|
/**
|
|
292
369
|
* apm Agent信息
|
|
293
370
|
*/
|
|
@@ -323,6 +400,23 @@ export interface ApmAgentInfo {
|
|
|
323
400
|
*/
|
|
324
401
|
PrivateLinkCollectorURL: string;
|
|
325
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* DescribeGeneralSpanList返回参数结构体
|
|
405
|
+
*/
|
|
406
|
+
export interface DescribeGeneralSpanListResponse {
|
|
407
|
+
/**
|
|
408
|
+
* 总数量
|
|
409
|
+
*/
|
|
410
|
+
TotalCount: number;
|
|
411
|
+
/**
|
|
412
|
+
* Span分页列表
|
|
413
|
+
*/
|
|
414
|
+
Spans: Array<Span>;
|
|
415
|
+
/**
|
|
416
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
417
|
+
*/
|
|
418
|
+
RequestId?: string;
|
|
419
|
+
}
|
|
326
420
|
/**
|
|
327
421
|
* 指标列表单元
|
|
328
422
|
*/
|
|
@@ -452,6 +546,43 @@ export interface Line {
|
|
|
452
546
|
*/
|
|
453
547
|
Tags: Array<ApmTag>;
|
|
454
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
* DescribeGeneralSpanList请求参数结构体
|
|
551
|
+
*/
|
|
552
|
+
export interface DescribeGeneralSpanListRequest {
|
|
553
|
+
/**
|
|
554
|
+
* 分页
|
|
555
|
+
*/
|
|
556
|
+
Offset: number;
|
|
557
|
+
/**
|
|
558
|
+
* 列表项个数
|
|
559
|
+
*/
|
|
560
|
+
Limit: number;
|
|
561
|
+
/**
|
|
562
|
+
* 排序
|
|
563
|
+
*/
|
|
564
|
+
OrderBy?: OrderBy;
|
|
565
|
+
/**
|
|
566
|
+
* span查询开始时间戳(单位:秒)
|
|
567
|
+
*/
|
|
568
|
+
StartTime?: number;
|
|
569
|
+
/**
|
|
570
|
+
* 实例名
|
|
571
|
+
*/
|
|
572
|
+
InstanceId?: string;
|
|
573
|
+
/**
|
|
574
|
+
* 通用过滤参数
|
|
575
|
+
*/
|
|
576
|
+
Filters?: Array<Filter>;
|
|
577
|
+
/**
|
|
578
|
+
* 业务自身服务名
|
|
579
|
+
*/
|
|
580
|
+
BusinessName?: string;
|
|
581
|
+
/**
|
|
582
|
+
* span查询结束时间戳(单位:秒)
|
|
583
|
+
*/
|
|
584
|
+
EndTime?: number;
|
|
585
|
+
}
|
|
455
586
|
/**
|
|
456
587
|
* Apm通用KV结构
|
|
457
588
|
*/
|
|
@@ -703,6 +834,36 @@ export interface CreateApmInstanceResponse {
|
|
|
703
834
|
*/
|
|
704
835
|
RequestId?: string;
|
|
705
836
|
}
|
|
837
|
+
/**
|
|
838
|
+
* Span上下游关联关系
|
|
839
|
+
*/
|
|
840
|
+
export interface SpanReference {
|
|
841
|
+
/**
|
|
842
|
+
* 关联关系类型
|
|
843
|
+
*/
|
|
844
|
+
RefType: string;
|
|
845
|
+
/**
|
|
846
|
+
* Span ID
|
|
847
|
+
*/
|
|
848
|
+
SpanID: string;
|
|
849
|
+
/**
|
|
850
|
+
* Trace ID
|
|
851
|
+
*/
|
|
852
|
+
TraceID: string;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* 服务相关信息
|
|
856
|
+
*/
|
|
857
|
+
export interface SpanProcess {
|
|
858
|
+
/**
|
|
859
|
+
* 应用服务名称
|
|
860
|
+
*/
|
|
861
|
+
ServiceName: string;
|
|
862
|
+
/**
|
|
863
|
+
* Tags 标签数组
|
|
864
|
+
*/
|
|
865
|
+
Tags: Array<SpanTag>;
|
|
866
|
+
}
|
|
706
867
|
/**
|
|
707
868
|
* ModifyApmInstance返回参数结构体
|
|
708
869
|
*/
|
|
@@ -750,6 +911,25 @@ export interface DescribeApmInstancesRequest {
|
|
|
750
911
|
*/
|
|
751
912
|
AllRegionsFlag?: number;
|
|
752
913
|
}
|
|
914
|
+
/**
|
|
915
|
+
* 标签
|
|
916
|
+
*/
|
|
917
|
+
export interface SpanTag {
|
|
918
|
+
/**
|
|
919
|
+
* 标签类型
|
|
920
|
+
*/
|
|
921
|
+
Type: string;
|
|
922
|
+
/**
|
|
923
|
+
* 标签Key
|
|
924
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
925
|
+
*/
|
|
926
|
+
Key: string;
|
|
927
|
+
/**
|
|
928
|
+
* 标签值
|
|
929
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
930
|
+
*/
|
|
931
|
+
Value: string;
|
|
932
|
+
}
|
|
753
933
|
/**
|
|
754
934
|
* DescribeGeneralMetricData返回参数结构体
|
|
755
935
|
*/
|