tencentcloud-sdk-nodejs-apm 4.0.272 → 4.0.276
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 +755 -0
- package/SERVICE_CHANGELOG.md +673 -179
- package/package.json +1 -1
- package/products.md +41 -41
- package/src/services/apm/v20210622/apm_client.ts +19 -1
- package/src/services/apm/v20210622/apm_models.ts +200 -8
- 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 +171 -8
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 指标列表单元
|
|
3
|
+
*/
|
|
4
|
+
export interface ApmMetricRecord {
|
|
5
|
+
/**
|
|
6
|
+
* field数组
|
|
7
|
+
*/
|
|
8
|
+
Fields: Array<ApmField>;
|
|
9
|
+
/**
|
|
10
|
+
* tag数组
|
|
11
|
+
*/
|
|
12
|
+
Tags: Array<ApmTag>;
|
|
13
|
+
}
|
|
1
14
|
/**
|
|
2
15
|
* CreateApmInstance返回参数结构体
|
|
3
16
|
*/
|
|
@@ -150,6 +163,20 @@ export interface CreateApmInstanceRequest {
|
|
|
150
163
|
*/
|
|
151
164
|
SpanDailyCounters?: number;
|
|
152
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* DescribeMetricRecords返回参数结构体
|
|
168
|
+
*/
|
|
169
|
+
export interface DescribeMetricRecordsResponse {
|
|
170
|
+
/**
|
|
171
|
+
* 指标结果集
|
|
172
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
173
|
+
*/
|
|
174
|
+
Records: Array<ApmMetricRecord>;
|
|
175
|
+
/**
|
|
176
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
177
|
+
*/
|
|
178
|
+
RequestId?: string;
|
|
179
|
+
}
|
|
153
180
|
/**
|
|
154
181
|
* DescribeApmAgent返回参数结构体
|
|
155
182
|
*/
|
|
@@ -192,21 +219,21 @@ export interface DescribeApmInstancesResponse {
|
|
|
192
219
|
RequestId?: string;
|
|
193
220
|
}
|
|
194
221
|
/**
|
|
195
|
-
*
|
|
222
|
+
* 查询过滤参数
|
|
196
223
|
*/
|
|
197
|
-
export interface
|
|
224
|
+
export interface Filter {
|
|
198
225
|
/**
|
|
199
|
-
*
|
|
226
|
+
* 过滤方式(=, !=, in)
|
|
200
227
|
*/
|
|
201
|
-
|
|
228
|
+
Type: string;
|
|
202
229
|
/**
|
|
203
|
-
*
|
|
230
|
+
* 过滤维度名
|
|
204
231
|
*/
|
|
205
|
-
|
|
232
|
+
Key: string;
|
|
206
233
|
/**
|
|
207
|
-
*
|
|
234
|
+
* 过滤值,in过滤方式用逗号分割多个值
|
|
208
235
|
*/
|
|
209
|
-
|
|
236
|
+
Value: string;
|
|
210
237
|
}
|
|
211
238
|
/**
|
|
212
239
|
* DescribeApmAgent请求参数结构体
|
|
@@ -229,6 +256,110 @@ export interface DescribeApmAgentRequest {
|
|
|
229
256
|
*/
|
|
230
257
|
LanguageEnvironment?: string;
|
|
231
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* sql排序字段
|
|
261
|
+
*/
|
|
262
|
+
export interface OrderBy {
|
|
263
|
+
/**
|
|
264
|
+
* 需要排序的字段
|
|
265
|
+
*/
|
|
266
|
+
Key: string;
|
|
267
|
+
/**
|
|
268
|
+
* 顺序排序/倒序排序
|
|
269
|
+
*/
|
|
270
|
+
Value: string;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* DescribeApmInstances请求参数结构体
|
|
274
|
+
*/
|
|
275
|
+
export interface DescribeApmInstancesRequest {
|
|
276
|
+
/**
|
|
277
|
+
* Tag列表
|
|
278
|
+
*/
|
|
279
|
+
Tags?: Array<ApmTag>;
|
|
280
|
+
/**
|
|
281
|
+
* 搜索实例名
|
|
282
|
+
*/
|
|
283
|
+
InstanceName?: string;
|
|
284
|
+
/**
|
|
285
|
+
* 过滤实例ID
|
|
286
|
+
*/
|
|
287
|
+
InstanceIds?: Array<string>;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* 指标维度信息
|
|
291
|
+
*/
|
|
292
|
+
export interface ApmField {
|
|
293
|
+
/**
|
|
294
|
+
* 昨日同比指标值,已弃用,不建议使用
|
|
295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
296
|
+
*/
|
|
297
|
+
CompareVal: string;
|
|
298
|
+
/**
|
|
299
|
+
* Compare值结果数组,推荐使用
|
|
300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
301
|
+
*/
|
|
302
|
+
CompareVals: Array<APMKVItem>;
|
|
303
|
+
/**
|
|
304
|
+
* 指标值
|
|
305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
306
|
+
*/
|
|
307
|
+
Value: number;
|
|
308
|
+
/**
|
|
309
|
+
* 指标所对应的单位
|
|
310
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
311
|
+
*/
|
|
312
|
+
Unit: string;
|
|
313
|
+
/**
|
|
314
|
+
* 请求数
|
|
315
|
+
*/
|
|
316
|
+
Key: string;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* DescribeMetricRecords请求参数结构体
|
|
320
|
+
*/
|
|
321
|
+
export interface DescribeMetricRecordsRequest {
|
|
322
|
+
/**
|
|
323
|
+
* 过滤条件
|
|
324
|
+
*/
|
|
325
|
+
Filters: Array<Filter>;
|
|
326
|
+
/**
|
|
327
|
+
* 指标列表
|
|
328
|
+
*/
|
|
329
|
+
Metrics: Array<QueryMetricItem>;
|
|
330
|
+
/**
|
|
331
|
+
* 聚合维度
|
|
332
|
+
*/
|
|
333
|
+
GroupBy: Array<string>;
|
|
334
|
+
/**
|
|
335
|
+
* 排序
|
|
336
|
+
*/
|
|
337
|
+
OrderBy?: OrderBy;
|
|
338
|
+
/**
|
|
339
|
+
* 实例ID
|
|
340
|
+
*/
|
|
341
|
+
InstanceId?: string;
|
|
342
|
+
/**
|
|
343
|
+
* 每页大小
|
|
344
|
+
*/
|
|
345
|
+
Limit?: number;
|
|
346
|
+
/**
|
|
347
|
+
* 开始时间
|
|
348
|
+
*/
|
|
349
|
+
StartTime?: number;
|
|
350
|
+
/**
|
|
351
|
+
* 分页起始点
|
|
352
|
+
*/
|
|
353
|
+
Offset?: number;
|
|
354
|
+
/**
|
|
355
|
+
* 结束时间
|
|
356
|
+
*/
|
|
357
|
+
EndTime?: number;
|
|
358
|
+
/**
|
|
359
|
+
* 业务名称(默认值:taw)
|
|
360
|
+
*/
|
|
361
|
+
BusinessName?: string;
|
|
362
|
+
}
|
|
232
363
|
/**
|
|
233
364
|
* apm Agent信息
|
|
234
365
|
*/
|
|
@@ -264,3 +395,35 @@ export interface ApmAgentInfo {
|
|
|
264
395
|
*/
|
|
265
396
|
PrivateLinkCollectorURL: string;
|
|
266
397
|
}
|
|
398
|
+
/**
|
|
399
|
+
* 查询
|
|
400
|
+
*/
|
|
401
|
+
export interface QueryMetricItem {
|
|
402
|
+
/**
|
|
403
|
+
* 指标名
|
|
404
|
+
*/
|
|
405
|
+
MetricName: string;
|
|
406
|
+
/**
|
|
407
|
+
* 同比,已弃用,不建议使用
|
|
408
|
+
*/
|
|
409
|
+
Compare?: string;
|
|
410
|
+
/**
|
|
411
|
+
* 同比,支持多种同比方式
|
|
412
|
+
*/
|
|
413
|
+
Compares?: Array<string>;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Apm通用KV结构
|
|
417
|
+
*/
|
|
418
|
+
export interface APMKVItem {
|
|
419
|
+
/**
|
|
420
|
+
* Key值定义
|
|
421
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
422
|
+
*/
|
|
423
|
+
Key: string;
|
|
424
|
+
/**
|
|
425
|
+
* Value值定义
|
|
426
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
427
|
+
*/
|
|
428
|
+
Value: string;
|
|
429
|
+
}
|