tencentcloud-sdk-nodejs-apm 4.1.126 → 4.1.145
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.
|
@@ -3,47 +3,80 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("apm.tencentcloudapi.com", "2021-06-22", clientConfig);
|
|
5
5
|
}
|
|
6
|
-
async
|
|
7
|
-
return this.request("
|
|
6
|
+
async ModifyApmInstance(req, cb) {
|
|
7
|
+
return this.request("ModifyApmInstance", req, cb);
|
|
8
|
+
}
|
|
9
|
+
async DescribeGeneralSpanList(req, cb) {
|
|
10
|
+
return this.request("DescribeGeneralSpanList", req, cb);
|
|
11
|
+
}
|
|
12
|
+
async DescribeGeneralOTSpanList(req, cb) {
|
|
13
|
+
return this.request("DescribeGeneralOTSpanList", req, cb);
|
|
14
|
+
}
|
|
15
|
+
async CreateApmInstance(req, cb) {
|
|
16
|
+
return this.request("CreateApmInstance", req, cb);
|
|
8
17
|
}
|
|
9
18
|
async DescribeGeneralApmApplicationConfig(req, cb) {
|
|
10
19
|
return this.request("DescribeGeneralApmApplicationConfig", req, cb);
|
|
11
20
|
}
|
|
21
|
+
async ModifyApmAssociation(req, cb) {
|
|
22
|
+
return this.request("ModifyApmAssociation", req, cb);
|
|
23
|
+
}
|
|
24
|
+
async ModifyApmSampleConfig(req, cb) {
|
|
25
|
+
return this.request("ModifyApmSampleConfig", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async DescribeApmAgent(req, cb) {
|
|
28
|
+
return this.request("DescribeApmAgent", req, cb);
|
|
29
|
+
}
|
|
30
|
+
async DescribeGeneralMetricData(req, cb) {
|
|
31
|
+
return this.request("DescribeGeneralMetricData", req, cb);
|
|
32
|
+
}
|
|
33
|
+
async CreateApmPrometheusRule(req, cb) {
|
|
34
|
+
return this.request("CreateApmPrometheusRule", req, cb);
|
|
35
|
+
}
|
|
36
|
+
async TerminateApmInstance(req, cb) {
|
|
37
|
+
return this.request("TerminateApmInstance", req, cb);
|
|
38
|
+
}
|
|
39
|
+
async DescribeApmAssociation(req, cb) {
|
|
40
|
+
return this.request("DescribeApmAssociation", req, cb);
|
|
41
|
+
}
|
|
42
|
+
async DescribeApmServiceMetric(req, cb) {
|
|
43
|
+
return this.request("DescribeApmServiceMetric", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async ModifyApmPrometheusRule(req, cb) {
|
|
46
|
+
return this.request("ModifyApmPrometheusRule", req, cb);
|
|
47
|
+
}
|
|
48
|
+
async CreateApmSampleConfig(req, cb) {
|
|
49
|
+
return this.request("CreateApmSampleConfig", req, cb);
|
|
50
|
+
}
|
|
51
|
+
async DescribeApmSampleConfig(req, cb) {
|
|
52
|
+
return this.request("DescribeApmSampleConfig", req, cb);
|
|
53
|
+
}
|
|
12
54
|
async DescribeTagValues(req, cb) {
|
|
13
55
|
return this.request("DescribeTagValues", req, cb);
|
|
14
56
|
}
|
|
15
|
-
async
|
|
16
|
-
return this.request("
|
|
57
|
+
async DescribeApmPrometheusRule(req, cb) {
|
|
58
|
+
return this.request("DescribeApmPrometheusRule", req, cb);
|
|
17
59
|
}
|
|
18
60
|
async DescribeApmInstances(req, cb) {
|
|
19
61
|
return this.request("DescribeApmInstances", req, cb);
|
|
20
62
|
}
|
|
21
|
-
async
|
|
22
|
-
return this.request("
|
|
63
|
+
async DeleteApmSampleConfig(req, cb) {
|
|
64
|
+
return this.request("DeleteApmSampleConfig", req, cb);
|
|
23
65
|
}
|
|
24
|
-
async
|
|
25
|
-
return this.request("
|
|
66
|
+
async CreateProfileTask(req, cb) {
|
|
67
|
+
return this.request("CreateProfileTask", req, cb);
|
|
26
68
|
}
|
|
27
|
-
async
|
|
28
|
-
return this.request("
|
|
69
|
+
async DescribeApmApplicationConfig(req, cb) {
|
|
70
|
+
return this.request("DescribeApmApplicationConfig", req, cb);
|
|
29
71
|
}
|
|
30
72
|
async ModifyGeneralApmApplicationConfig(req, cb) {
|
|
31
73
|
return this.request("ModifyGeneralApmApplicationConfig", req, cb);
|
|
32
74
|
}
|
|
33
|
-
async DescribeGeneralMetricData(req, cb) {
|
|
34
|
-
return this.request("DescribeGeneralMetricData", req, cb);
|
|
35
|
-
}
|
|
36
75
|
async DescribeMetricRecords(req, cb) {
|
|
37
76
|
return this.request("DescribeMetricRecords", req, cb);
|
|
38
77
|
}
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
41
|
-
}
|
|
42
|
-
async CreateApmInstance(req, cb) {
|
|
43
|
-
return this.request("CreateApmInstance", req, cb);
|
|
44
|
-
}
|
|
45
|
-
async DescribeApmServiceMetric(req, cb) {
|
|
46
|
-
return this.request("DescribeApmServiceMetric", req, cb);
|
|
78
|
+
async ModifyApmApplicationConfig(req, cb) {
|
|
79
|
+
return this.request("ModifyApmApplicationConfig", req, cb);
|
|
47
80
|
}
|
|
48
81
|
async DescribeServiceOverview(req, cb) {
|
|
49
82
|
return this.request("DescribeServiceOverview", req, cb);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { ModifyApmInstanceRequest, CreateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeApmServiceMetricRequest,
|
|
2
|
+
import { DescribeApmAssociationResponse, ModifyApmInstanceRequest, CreateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeApmServiceMetricRequest, CreateApmPrometheusRuleRequest, ModifyApmPrometheusRuleRequest, ModifyGeneralApmApplicationConfigResponse, DescribeApmInstancesResponse, DescribeTagValuesResponse, DescribeTagValuesRequest, DescribeApmPrometheusRuleResponse, TerminateApmInstanceRequest, DescribeServiceOverviewRequest, DescribeApmSampleConfigResponse, DescribeApmAgentResponse, CreateApmSampleConfigRequest, DescribeApmSampleConfigRequest, ModifyApmInstanceResponse, ModifyApmSampleConfigResponse, CreateApmSampleConfigResponse, DescribeApmApplicationConfigRequest, DescribeGeneralSpanListResponse, CreateProfileTaskResponse, DescribeGeneralSpanListRequest, ModifyApmPrometheusRuleResponse, DescribeServiceOverviewResponse, DescribeApmServiceMetricResponse, ModifyApmAssociationResponse, DescribeMetricRecordsResponse, DescribeGeneralOTSpanListResponse, ModifyApmApplicationConfigResponse, DescribeApmApplicationConfigResponse, DescribeApmAssociationRequest, ModifyApmApplicationConfigRequest, DescribeGeneralOTSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralApmApplicationConfigResponse, DescribeGeneralMetricDataRequest, DescribeApmPrometheusRuleRequest, CreateApmInstanceResponse, CreateProfileTaskRequest, DeleteApmSampleConfigResponse, ModifyApmAssociationRequest, ModifyApmSampleConfigRequest, DescribeGeneralApmApplicationConfigRequest, DescribeApmInstancesRequest, DescribeGeneralMetricDataResponse, DeleteApmSampleConfigRequest, CreateApmPrometheusRuleResponse, TerminateApmInstanceResponse } from "./apm_models";
|
|
3
3
|
/**
|
|
4
4
|
* apm client
|
|
5
5
|
* @class
|
|
@@ -7,62 +7,106 @@ import { ModifyApmInstanceRequest, CreateApmInstanceRequest, ModifyGeneralApmApp
|
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
CreateProfileTask(req: CreateProfileTaskRequest, cb?: (error: string, rep: CreateProfileTaskResponse) => void): Promise<CreateProfileTaskResponse>;
|
|
13
|
-
/**
|
|
14
|
-
* 查询应用配置信息
|
|
15
|
-
*/
|
|
16
|
-
DescribeGeneralApmApplicationConfig(req: DescribeGeneralApmApplicationConfigRequest, cb?: (error: string, rep: DescribeGeneralApmApplicationConfigResponse) => void): Promise<DescribeGeneralApmApplicationConfigResponse>;
|
|
17
|
-
/**
|
|
18
|
-
* 根据维度名和过滤条件,查询维度数据.
|
|
10
|
+
* 修改APM业务系统接口
|
|
19
11
|
*/
|
|
20
|
-
|
|
12
|
+
ModifyApmInstance(req: ModifyApmInstanceRequest, cb?: (error: string, rep: ModifyApmInstanceResponse) => void): Promise<ModifyApmInstanceResponse>;
|
|
21
13
|
/**
|
|
22
14
|
* 通用查询调用链列表
|
|
23
15
|
*/
|
|
24
16
|
DescribeGeneralSpanList(req: DescribeGeneralSpanListRequest, cb?: (error: string, rep: DescribeGeneralSpanListResponse) => void): Promise<DescribeGeneralSpanListResponse>;
|
|
25
17
|
/**
|
|
26
|
-
*
|
|
18
|
+
* 通用查询 OpenTelemetry 调用链列表
|
|
27
19
|
*/
|
|
28
|
-
|
|
20
|
+
DescribeGeneralOTSpanList(req: DescribeGeneralOTSpanListRequest, cb?: (error: string, rep: DescribeGeneralOTSpanListResponse) => void): Promise<DescribeGeneralOTSpanListResponse>;
|
|
29
21
|
/**
|
|
30
|
-
*
|
|
22
|
+
* 业务购买 APM 业务系统,调用该接口创建
|
|
31
23
|
*/
|
|
32
|
-
|
|
24
|
+
CreateApmInstance(req: CreateApmInstanceRequest, cb?: (error: string, rep: CreateApmInstanceResponse) => void): Promise<CreateApmInstanceResponse>;
|
|
33
25
|
/**
|
|
34
|
-
*
|
|
26
|
+
* 查询应用配置信息
|
|
35
27
|
*/
|
|
36
|
-
|
|
28
|
+
DescribeGeneralApmApplicationConfig(req: DescribeGeneralApmApplicationConfigRequest, cb?: (error: string, rep: DescribeGeneralApmApplicationConfigResponse) => void): Promise<DescribeGeneralApmApplicationConfigResponse>;
|
|
37
29
|
/**
|
|
38
|
-
*
|
|
30
|
+
* 用于修改apm业务系统与其他产品的关联关系(包括创建和删除)
|
|
39
31
|
*/
|
|
40
|
-
|
|
32
|
+
ModifyApmAssociation(req: ModifyApmAssociationRequest, cb?: (error: string, rep: ModifyApmAssociationResponse) => void): Promise<ModifyApmAssociationResponse>;
|
|
41
33
|
/**
|
|
42
|
-
*
|
|
34
|
+
* 修改采样配置接口
|
|
43
35
|
*/
|
|
44
|
-
|
|
36
|
+
ModifyApmSampleConfig(req: ModifyApmSampleConfigRequest, cb?: (error: string, rep: ModifyApmSampleConfigResponse) => void): Promise<ModifyApmSampleConfigResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 获取 APM 接入点
|
|
39
|
+
*/
|
|
40
|
+
DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse>;
|
|
45
41
|
/**
|
|
46
42
|
* 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
|
|
47
43
|
接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
|
|
48
44
|
*/
|
|
49
45
|
DescribeGeneralMetricData(req: DescribeGeneralMetricDataRequest, cb?: (error: string, rep: DescribeGeneralMetricDataResponse) => void): Promise<DescribeGeneralMetricDataResponse>;
|
|
50
46
|
/**
|
|
51
|
-
*
|
|
47
|
+
* 用于创建apm业务系统与Prometheus实例的指标匹配规则
|
|
52
48
|
*/
|
|
53
|
-
|
|
49
|
+
CreateApmPrometheusRule(req: CreateApmPrometheusRuleRequest, cb?: (error: string, rep: CreateApmPrometheusRuleResponse) => void): Promise<CreateApmPrometheusRuleResponse>;
|
|
54
50
|
/**
|
|
55
51
|
* 销毁 APM 业务系统
|
|
56
52
|
*/
|
|
57
53
|
TerminateApmInstance(req: TerminateApmInstanceRequest, cb?: (error: string, rep: TerminateApmInstanceResponse) => void): Promise<TerminateApmInstanceResponse>;
|
|
58
54
|
/**
|
|
59
|
-
*
|
|
55
|
+
* 用于查询apm业务系统与其他产品的关联关系
|
|
60
56
|
*/
|
|
61
|
-
|
|
57
|
+
DescribeApmAssociation(req: DescribeApmAssociationRequest, cb?: (error: string, rep: DescribeApmAssociationResponse) => void): Promise<DescribeApmAssociationResponse>;
|
|
62
58
|
/**
|
|
63
59
|
* 获取 APM 应用指标列表
|
|
64
60
|
*/
|
|
65
61
|
DescribeApmServiceMetric(req: DescribeApmServiceMetricRequest, cb?: (error: string, rep: DescribeApmServiceMetricResponse) => void): Promise<DescribeApmServiceMetricResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* 用于修改apm业务系统与Prometheus实例的指标匹配规则
|
|
64
|
+
*/
|
|
65
|
+
ModifyApmPrometheusRule(req: ModifyApmPrometheusRuleRequest, cb?: (error: string, rep: ModifyApmPrometheusRuleResponse) => void): Promise<ModifyApmPrometheusRuleResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* 创建采样配置接口
|
|
68
|
+
*/
|
|
69
|
+
CreateApmSampleConfig(req: CreateApmSampleConfigRequest, cb?: (error: string, rep: CreateApmSampleConfigResponse) => void): Promise<CreateApmSampleConfigResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 查询采样配置接口
|
|
72
|
+
*/
|
|
73
|
+
DescribeApmSampleConfig(req: DescribeApmSampleConfigRequest, cb?: (error: string, rep: DescribeApmSampleConfigResponse) => void): Promise<DescribeApmSampleConfigResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* 根据维度名和过滤条件,查询维度数据.
|
|
76
|
+
*/
|
|
77
|
+
DescribeTagValues(req: DescribeTagValuesRequest, cb?: (error: string, rep: DescribeTagValuesResponse) => void): Promise<DescribeTagValuesResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* 用于查询apm业务系统与Prometheus实例的指标匹配规则
|
|
80
|
+
*/
|
|
81
|
+
DescribeApmPrometheusRule(req: DescribeApmPrometheusRuleRequest, cb?: (error: string, rep: DescribeApmPrometheusRuleResponse) => void): Promise<DescribeApmPrometheusRuleResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 获取 APM 业务系统列表
|
|
84
|
+
*/
|
|
85
|
+
DescribeApmInstances(req: DescribeApmInstancesRequest, cb?: (error: string, rep: DescribeApmInstancesResponse) => void): Promise<DescribeApmInstancesResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* 删除采样配置接口
|
|
88
|
+
*/
|
|
89
|
+
DeleteApmSampleConfig(req: DeleteApmSampleConfigRequest, cb?: (error: string, rep: DeleteApmSampleConfigResponse) => void): Promise<DeleteApmSampleConfigResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 创建事件任务
|
|
92
|
+
*/
|
|
93
|
+
CreateProfileTask(req: CreateProfileTaskRequest, cb?: (error: string, rep: CreateProfileTaskResponse) => void): Promise<CreateProfileTaskResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* 查询应用配置接口
|
|
96
|
+
*/
|
|
97
|
+
DescribeApmApplicationConfig(req: DescribeApmApplicationConfigRequest, cb?: (error: string, rep: DescribeApmApplicationConfigResponse) => void): Promise<DescribeApmApplicationConfigResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* 对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
|
|
100
|
+
*/
|
|
101
|
+
ModifyGeneralApmApplicationConfig(req: ModifyGeneralApmApplicationConfigRequest, cb?: (error: string, rep: ModifyGeneralApmApplicationConfigResponse) => void): Promise<ModifyGeneralApmApplicationConfigResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* 查询指标列表接口,查询指标更推荐使用DescribeGeneralMetricData接口
|
|
104
|
+
*/
|
|
105
|
+
DescribeMetricRecords(req: DescribeMetricRecordsRequest, cb?: (error: string, rep: DescribeMetricRecordsResponse) => void): Promise<DescribeMetricRecordsResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* 修改应用配置接口
|
|
108
|
+
*/
|
|
109
|
+
ModifyApmApplicationConfig(req: ModifyApmApplicationConfigRequest, cb?: (error: string, rep: ModifyApmApplicationConfigResponse) => void): Promise<ModifyApmApplicationConfigResponse>;
|
|
66
110
|
/**
|
|
67
111
|
* 应用概览数据拉取
|
|
68
112
|
*/
|
|
@@ -29,22 +29,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
29
29
|
super("apm.tencentcloudapi.com", "2021-06-22", clientConfig);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
async CreateProfileTask(req, cb) {
|
|
35
|
-
return this.request("CreateProfileTask", req, cb);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* 查询应用配置信息
|
|
39
|
-
*/
|
|
40
|
-
async DescribeGeneralApmApplicationConfig(req, cb) {
|
|
41
|
-
return this.request("DescribeGeneralApmApplicationConfig", req, cb);
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* 根据维度名和过滤条件,查询维度数据.
|
|
32
|
+
* 修改APM业务系统接口
|
|
45
33
|
*/
|
|
46
|
-
async
|
|
47
|
-
return this.request("
|
|
34
|
+
async ModifyApmInstance(req, cb) {
|
|
35
|
+
return this.request("ModifyApmInstance", req, cb);
|
|
48
36
|
}
|
|
49
37
|
/**
|
|
50
38
|
* 通用查询调用链列表
|
|
@@ -53,34 +41,40 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
53
41
|
return this.request("DescribeGeneralSpanList", req, cb);
|
|
54
42
|
}
|
|
55
43
|
/**
|
|
56
|
-
*
|
|
44
|
+
* 通用查询 OpenTelemetry 调用链列表
|
|
57
45
|
*/
|
|
58
|
-
async
|
|
59
|
-
return this.request("
|
|
46
|
+
async DescribeGeneralOTSpanList(req, cb) {
|
|
47
|
+
return this.request("DescribeGeneralOTSpanList", req, cb);
|
|
60
48
|
}
|
|
61
49
|
/**
|
|
62
|
-
*
|
|
50
|
+
* 业务购买 APM 业务系统,调用该接口创建
|
|
63
51
|
*/
|
|
64
|
-
async
|
|
65
|
-
return this.request("
|
|
52
|
+
async CreateApmInstance(req, cb) {
|
|
53
|
+
return this.request("CreateApmInstance", req, cb);
|
|
66
54
|
}
|
|
67
55
|
/**
|
|
68
|
-
*
|
|
56
|
+
* 查询应用配置信息
|
|
69
57
|
*/
|
|
70
|
-
async
|
|
71
|
-
return this.request("
|
|
58
|
+
async DescribeGeneralApmApplicationConfig(req, cb) {
|
|
59
|
+
return this.request("DescribeGeneralApmApplicationConfig", req, cb);
|
|
72
60
|
}
|
|
73
61
|
/**
|
|
74
|
-
*
|
|
62
|
+
* 用于修改apm业务系统与其他产品的关联关系(包括创建和删除)
|
|
75
63
|
*/
|
|
76
|
-
async
|
|
77
|
-
return this.request("
|
|
64
|
+
async ModifyApmAssociation(req, cb) {
|
|
65
|
+
return this.request("ModifyApmAssociation", req, cb);
|
|
78
66
|
}
|
|
79
67
|
/**
|
|
80
|
-
*
|
|
68
|
+
* 修改采样配置接口
|
|
81
69
|
*/
|
|
82
|
-
async
|
|
83
|
-
return this.request("
|
|
70
|
+
async ModifyApmSampleConfig(req, cb) {
|
|
71
|
+
return this.request("ModifyApmSampleConfig", req, cb);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* 获取 APM 接入点
|
|
75
|
+
*/
|
|
76
|
+
async DescribeApmAgent(req, cb) {
|
|
77
|
+
return this.request("DescribeApmAgent", req, cb);
|
|
84
78
|
}
|
|
85
79
|
/**
|
|
86
80
|
* 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
|
|
@@ -90,10 +84,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
90
84
|
return this.request("DescribeGeneralMetricData", req, cb);
|
|
91
85
|
}
|
|
92
86
|
/**
|
|
93
|
-
*
|
|
87
|
+
* 用于创建apm业务系统与Prometheus实例的指标匹配规则
|
|
94
88
|
*/
|
|
95
|
-
async
|
|
96
|
-
return this.request("
|
|
89
|
+
async CreateApmPrometheusRule(req, cb) {
|
|
90
|
+
return this.request("CreateApmPrometheusRule", req, cb);
|
|
97
91
|
}
|
|
98
92
|
/**
|
|
99
93
|
* 销毁 APM 业务系统
|
|
@@ -102,10 +96,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
102
96
|
return this.request("TerminateApmInstance", req, cb);
|
|
103
97
|
}
|
|
104
98
|
/**
|
|
105
|
-
*
|
|
99
|
+
* 用于查询apm业务系统与其他产品的关联关系
|
|
106
100
|
*/
|
|
107
|
-
async
|
|
108
|
-
return this.request("
|
|
101
|
+
async DescribeApmAssociation(req, cb) {
|
|
102
|
+
return this.request("DescribeApmAssociation", req, cb);
|
|
109
103
|
}
|
|
110
104
|
/**
|
|
111
105
|
* 获取 APM 应用指标列表
|
|
@@ -113,6 +107,78 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
113
107
|
async DescribeApmServiceMetric(req, cb) {
|
|
114
108
|
return this.request("DescribeApmServiceMetric", req, cb);
|
|
115
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* 用于修改apm业务系统与Prometheus实例的指标匹配规则
|
|
112
|
+
*/
|
|
113
|
+
async ModifyApmPrometheusRule(req, cb) {
|
|
114
|
+
return this.request("ModifyApmPrometheusRule", req, cb);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* 创建采样配置接口
|
|
118
|
+
*/
|
|
119
|
+
async CreateApmSampleConfig(req, cb) {
|
|
120
|
+
return this.request("CreateApmSampleConfig", req, cb);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* 查询采样配置接口
|
|
124
|
+
*/
|
|
125
|
+
async DescribeApmSampleConfig(req, cb) {
|
|
126
|
+
return this.request("DescribeApmSampleConfig", req, cb);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* 根据维度名和过滤条件,查询维度数据.
|
|
130
|
+
*/
|
|
131
|
+
async DescribeTagValues(req, cb) {
|
|
132
|
+
return this.request("DescribeTagValues", req, cb);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* 用于查询apm业务系统与Prometheus实例的指标匹配规则
|
|
136
|
+
*/
|
|
137
|
+
async DescribeApmPrometheusRule(req, cb) {
|
|
138
|
+
return this.request("DescribeApmPrometheusRule", req, cb);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* 获取 APM 业务系统列表
|
|
142
|
+
*/
|
|
143
|
+
async DescribeApmInstances(req, cb) {
|
|
144
|
+
return this.request("DescribeApmInstances", req, cb);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* 删除采样配置接口
|
|
148
|
+
*/
|
|
149
|
+
async DeleteApmSampleConfig(req, cb) {
|
|
150
|
+
return this.request("DeleteApmSampleConfig", req, cb);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* 创建事件任务
|
|
154
|
+
*/
|
|
155
|
+
async CreateProfileTask(req, cb) {
|
|
156
|
+
return this.request("CreateProfileTask", req, cb);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* 查询应用配置接口
|
|
160
|
+
*/
|
|
161
|
+
async DescribeApmApplicationConfig(req, cb) {
|
|
162
|
+
return this.request("DescribeApmApplicationConfig", req, cb);
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* 对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
|
|
166
|
+
*/
|
|
167
|
+
async ModifyGeneralApmApplicationConfig(req, cb) {
|
|
168
|
+
return this.request("ModifyGeneralApmApplicationConfig", req, cb);
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* 查询指标列表接口,查询指标更推荐使用DescribeGeneralMetricData接口
|
|
172
|
+
*/
|
|
173
|
+
async DescribeMetricRecords(req, cb) {
|
|
174
|
+
return this.request("DescribeMetricRecords", req, cb);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* 修改应用配置接口
|
|
178
|
+
*/
|
|
179
|
+
async ModifyApmApplicationConfig(req, cb) {
|
|
180
|
+
return this.request("ModifyApmApplicationConfig", req, cb);
|
|
181
|
+
}
|
|
116
182
|
/**
|
|
117
183
|
* 应用概览数据拉取
|
|
118
184
|
*/
|