tencentcloud-sdk-nodejs-apm 4.0.691 → 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.
@@ -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
  */