tencentcloud-sdk-nodejs-apm 4.0.1036 → 4.0.1046

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-apm",
3
- "version": "4.0.1036",
3
+ "version": "4.0.1046",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
@@ -343,7 +343,7 @@ export interface ModifyGeneralApmApplicationConfigRequest {
343
343
  /**
344
344
  * 需要修改配置的应用列表名称
345
345
  */
346
- ServiceNames?: Array<string>
346
+ ServiceNames: Array<string>
347
347
  }
348
348
 
349
349
  /**
@@ -550,22 +550,22 @@ export interface ApmMetricRecord {
550
550
  * DescribeServiceOverview请求参数结构体
551
551
  */
552
552
  export interface DescribeServiceOverviewRequest {
553
+ /**
554
+ * 业务系统 ID
555
+ */
556
+ InstanceId: string
553
557
  /**
554
558
  * 指标列表
555
559
  */
556
560
  Metrics: Array<QueryMetricItem>
557
561
  /**
558
- * 业务系统 ID
562
+ * 聚合维度
559
563
  */
560
- InstanceId?: string
564
+ GroupBy: Array<string>
561
565
  /**
562
566
  * 过滤条件
563
567
  */
564
568
  Filters?: Array<Filter>
565
- /**
566
- * 聚合维度
567
- */
568
- GroupBy?: Array<string>
569
569
  /**
570
570
  * 开始时间(单位:秒)
571
571
  */
@@ -609,18 +609,14 @@ export interface DescribeApmAgentResponse {
609
609
  * DescribeTagValues请求参数结构体
610
610
  */
611
611
  export interface DescribeTagValuesRequest {
612
- /**
613
- * 维度名
614
- */
615
- TagKey: string
616
612
  /**
617
613
  * 业务系统 ID
618
614
  */
619
- InstanceId?: string
615
+ InstanceId: string
620
616
  /**
621
- * 过滤条件
617
+ * 维度名
622
618
  */
623
- Filters?: Array<Filter>
619
+ TagKey: string
624
620
  /**
625
621
  * 开始时间(单位为秒)
626
622
  */
@@ -629,6 +625,10 @@ export interface DescribeTagValuesRequest {
629
625
  * 结束时间(单位为秒)
630
626
  */
631
627
  EndTime?: number
628
+ /**
629
+ * 过滤条件
630
+ */
631
+ Filters?: Array<Filter>
632
632
  /**
633
633
  * Or 过滤条件
634
634
  */
@@ -848,7 +848,11 @@ export interface DescribeGeneralOTSpanListResponse {
848
848
  */
849
849
  TotalCount?: number
850
850
  /**
851
- * 装有查询结果 Spans 的 Trace 结构体。OpenTelemetry 标准 Trace 结构体哈希后的字符串,先将 Trace 利用 ptrace.JSONMarshaler 转换成 Json 字符串,再用 gzip 压缩,最后转换成 base64 标准的字符串。
851
+ * Spans字段中包含了链路数据的全部内容,由于数据经过了压缩,需要对结果进行如下三步转换,以还原始的文本。
852
+ 1. 将Spans字段中的文本进行 Base64 解码,得到经过压缩后字节数组。
853
+ 2. 使用 gzip 对压缩后的字节数组进行解压,得到压缩前的字节数组。
854
+ 3. 使用 UTF-8 字符集,将压缩前的字节数组转换为文本。
855
+
852
856
  */
853
857
  Spans?: string
854
858
  /**
@@ -322,7 +322,7 @@ export interface ModifyGeneralApmApplicationConfigRequest {
322
322
  /**
323
323
  * 需要修改配置的应用列表名称
324
324
  */
325
- ServiceNames?: Array<string>;
325
+ ServiceNames: Array<string>;
326
326
  }
327
327
  /**
328
328
  * DescribeServiceOverview返回参数结构体
@@ -518,22 +518,22 @@ export interface ApmMetricRecord {
518
518
  * DescribeServiceOverview请求参数结构体
519
519
  */
520
520
  export interface DescribeServiceOverviewRequest {
521
+ /**
522
+ * 业务系统 ID
523
+ */
524
+ InstanceId: string;
521
525
  /**
522
526
  * 指标列表
523
527
  */
524
528
  Metrics: Array<QueryMetricItem>;
525
529
  /**
526
- * 业务系统 ID
530
+ * 聚合维度
527
531
  */
528
- InstanceId?: string;
532
+ GroupBy: Array<string>;
529
533
  /**
530
534
  * 过滤条件
531
535
  */
532
536
  Filters?: Array<Filter>;
533
- /**
534
- * 聚合维度
535
- */
536
- GroupBy?: Array<string>;
537
537
  /**
538
538
  * 开始时间(单位:秒)
539
539
  */
@@ -575,18 +575,14 @@ export interface DescribeApmAgentResponse {
575
575
  * DescribeTagValues请求参数结构体
576
576
  */
577
577
  export interface DescribeTagValuesRequest {
578
- /**
579
- * 维度名
580
- */
581
- TagKey: string;
582
578
  /**
583
579
  * 业务系统 ID
584
580
  */
585
- InstanceId?: string;
581
+ InstanceId: string;
586
582
  /**
587
- * 过滤条件
583
+ * 维度名
588
584
  */
589
- Filters?: Array<Filter>;
585
+ TagKey: string;
590
586
  /**
591
587
  * 开始时间(单位为秒)
592
588
  */
@@ -595,6 +591,10 @@ export interface DescribeTagValuesRequest {
595
591
  * 结束时间(单位为秒)
596
592
  */
597
593
  EndTime?: number;
594
+ /**
595
+ * 过滤条件
596
+ */
597
+ Filters?: Array<Filter>;
598
598
  /**
599
599
  * Or 过滤条件
600
600
  */
@@ -806,7 +806,11 @@ export interface DescribeGeneralOTSpanListResponse {
806
806
  */
807
807
  TotalCount?: number;
808
808
  /**
809
- * 装有查询结果 Spans 的 Trace 结构体。OpenTelemetry 标准 Trace 结构体哈希后的字符串,先将 Trace 利用 ptrace.JSONMarshaler 转换成 Json 字符串,再用 gzip 压缩,最后转换成 base64 标准的字符串。
809
+ * Spans字段中包含了链路数据的全部内容,由于数据经过了压缩,需要对结果进行如下三步转换,以还原始的文本。
810
+ 1. 将Spans字段中的文本进行 Base64 解码,得到经过压缩后字节数组。
811
+ 2. 使用 gzip 对压缩后的字节数组进行解压,得到压缩前的字节数组。
812
+ 3. 使用 UTF-8 字符集,将压缩前的字节数组转换为文本。
813
+
810
814
  */
811
815
  Spans?: string;
812
816
  /**