tencentcloud-sdk-nodejs-apm 4.0.431 → 4.0.432
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 +1 -1
- package/package.json +1 -1
- package/src/services/apm/index.ts +4 -7
- package/src/services/apm/v20210622/apm_client.ts +78 -64
- package/src/services/apm/v20210622/apm_models.ts +453 -477
- package/src/services/apm/v20210622/index.ts +3 -3
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +3 -3
- package/tencentcloud/services/apm/v20210622/apm_client.js +3 -3
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +289 -289
- package/tencentcloud/services/apm/v20210622/index.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -17,30 +17,29 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
20
|
+
ApmInstanceDetail,
|
|
21
|
+
CreateApmInstanceRequest,
|
|
22
|
+
DescribeServiceOverviewResponse,
|
|
23
|
+
QueryMetricItem,
|
|
24
|
+
DescribeApmInstancesResponse,
|
|
25
|
+
ApmAgentInfo,
|
|
26
|
+
ApmMetricRecord,
|
|
27
|
+
DescribeServiceOverviewRequest,
|
|
28
|
+
DescribeApmAgentResponse,
|
|
29
|
+
ApmField,
|
|
30
|
+
Line,
|
|
31
|
+
APMKVItem,
|
|
32
|
+
OrderBy,
|
|
33
|
+
DescribeMetricRecordsResponse,
|
|
34
|
+
ApmTag,
|
|
35
|
+
Filter,
|
|
36
|
+
DescribeApmAgentRequest,
|
|
37
|
+
DescribeMetricRecordsRequest,
|
|
38
|
+
DescribeGeneralMetricDataRequest,
|
|
39
|
+
CreateApmInstanceResponse,
|
|
40
|
+
GeneralFilter,
|
|
41
|
+
DescribeApmInstancesRequest,
|
|
42
|
+
DescribeGeneralMetricDataResponse,
|
|
44
43
|
} from "./apm_models"
|
|
45
44
|
|
|
46
45
|
/**
|
|
@@ -48,53 +47,68 @@ import {
|
|
|
48
47
|
* @class
|
|
49
48
|
*/
|
|
50
49
|
export class Client extends TencentCloudCommon.AbstractClient {
|
|
50
|
+
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
51
|
+
super("apm.tencentcloudapi.com", "2021-06-22", clientConfig)
|
|
52
|
+
}
|
|
51
53
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
54
|
+
/**
|
|
55
|
+
* APM实例列表拉取
|
|
56
|
+
*/
|
|
57
|
+
async DescribeApmInstances(
|
|
58
|
+
req: DescribeApmInstancesRequest,
|
|
59
|
+
cb?: (error: string, rep: DescribeApmInstancesResponse) => void
|
|
60
|
+
): Promise<DescribeApmInstancesResponse> {
|
|
61
|
+
return this.request("DescribeApmInstances", req, cb)
|
|
62
|
+
}
|
|
62
63
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
/**
|
|
65
|
+
* 获取Apm Agent信息
|
|
66
|
+
*/
|
|
67
|
+
async DescribeApmAgent(
|
|
68
|
+
req: DescribeApmAgentRequest,
|
|
69
|
+
cb?: (error: string, rep: DescribeApmAgentResponse) => void
|
|
70
|
+
): Promise<DescribeApmAgentResponse> {
|
|
71
|
+
return this.request("DescribeApmAgent", req, cb)
|
|
72
|
+
}
|
|
69
73
|
|
|
70
|
-
|
|
74
|
+
/**
|
|
71
75
|
* 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
|
|
72
76
|
接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
|
|
73
77
|
*/
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
*/
|
|
81
|
-
async DescribeMetricRecords(req: DescribeMetricRecordsRequest, cb?: (error: string, rep: DescribeMetricRecordsResponse) => void): Promise<DescribeMetricRecordsResponse> {
|
|
82
|
-
return this.request("DescribeMetricRecords", req, cb);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* 业务购买APM实例,调用该接口创建
|
|
87
|
-
*/
|
|
88
|
-
async CreateApmInstance(req: CreateApmInstanceRequest, cb?: (error: string, rep: CreateApmInstanceResponse) => void): Promise<CreateApmInstanceResponse> {
|
|
89
|
-
return this.request("CreateApmInstance", req, cb);
|
|
90
|
-
}
|
|
78
|
+
async DescribeGeneralMetricData(
|
|
79
|
+
req: DescribeGeneralMetricDataRequest,
|
|
80
|
+
cb?: (error: string, rep: DescribeGeneralMetricDataResponse) => void
|
|
81
|
+
): Promise<DescribeGeneralMetricDataResponse> {
|
|
82
|
+
return this.request("DescribeGeneralMetricData", req, cb)
|
|
83
|
+
}
|
|
91
84
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
85
|
+
/**
|
|
86
|
+
* 拉取通用指标列表
|
|
87
|
+
*/
|
|
88
|
+
async DescribeMetricRecords(
|
|
89
|
+
req: DescribeMetricRecordsRequest,
|
|
90
|
+
cb?: (error: string, rep: DescribeMetricRecordsResponse) => void
|
|
91
|
+
): Promise<DescribeMetricRecordsResponse> {
|
|
92
|
+
return this.request("DescribeMetricRecords", req, cb)
|
|
93
|
+
}
|
|
98
94
|
|
|
95
|
+
/**
|
|
96
|
+
* 业务购买APM实例,调用该接口创建
|
|
97
|
+
*/
|
|
98
|
+
async CreateApmInstance(
|
|
99
|
+
req: CreateApmInstanceRequest,
|
|
100
|
+
cb?: (error: string, rep: CreateApmInstanceResponse) => void
|
|
101
|
+
): Promise<CreateApmInstanceResponse> {
|
|
102
|
+
return this.request("CreateApmInstance", req, cb)
|
|
103
|
+
}
|
|
99
104
|
|
|
105
|
+
/**
|
|
106
|
+
* 服务概览数据拉取
|
|
107
|
+
*/
|
|
108
|
+
async DescribeServiceOverview(
|
|
109
|
+
req: DescribeServiceOverviewRequest,
|
|
110
|
+
cb?: (error: string, rep: DescribeServiceOverviewResponse) => void
|
|
111
|
+
): Promise<DescribeServiceOverviewResponse> {
|
|
112
|
+
return this.request("DescribeServiceOverview", req, cb)
|
|
113
|
+
}
|
|
100
114
|
}
|