tencentcloud-sdk-nodejs-apm 4.0.810 → 4.0.842
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/README.md +7 -0
- package/package.json +1 -1
- package/products.md +193 -192
- package/src/services/apm/v20210622/apm_client.ts +46 -8
- package/src/services/apm/v20210622/apm_models.ts +233 -24
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +15 -3
- package/tencentcloud/services/apm/v20210622/apm_client.js +21 -3
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +225 -24
|
@@ -271,6 +271,23 @@ export interface CreateApmInstanceRequest {
|
|
|
271
271
|
*/
|
|
272
272
|
PayMode?: number;
|
|
273
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* ModifyGeneralApmApplicationConfig请求参数结构体
|
|
276
|
+
*/
|
|
277
|
+
export interface ModifyGeneralApmApplicationConfigRequest {
|
|
278
|
+
/**
|
|
279
|
+
* 实例Id
|
|
280
|
+
*/
|
|
281
|
+
InstanceId: string;
|
|
282
|
+
/**
|
|
283
|
+
* 需要修改的字段key value分别指定字段名、字段值
|
|
284
|
+
*/
|
|
285
|
+
Tags: Array<ApmTag>;
|
|
286
|
+
/**
|
|
287
|
+
* 需要修改配置的服务列表名称
|
|
288
|
+
*/
|
|
289
|
+
ServiceNames?: Array<string>;
|
|
290
|
+
}
|
|
274
291
|
/**
|
|
275
292
|
* DescribeServiceOverview返回参数结构体
|
|
276
293
|
*/
|
|
@@ -325,6 +342,34 @@ export interface DescribeApmInstancesResponse {
|
|
|
325
342
|
*/
|
|
326
343
|
RequestId?: string;
|
|
327
344
|
}
|
|
345
|
+
/**
|
|
346
|
+
* 组件
|
|
347
|
+
*/
|
|
348
|
+
export interface Instrument {
|
|
349
|
+
/**
|
|
350
|
+
* 组件名称
|
|
351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
352
|
+
*/
|
|
353
|
+
Name?: string;
|
|
354
|
+
/**
|
|
355
|
+
* 组件开关
|
|
356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
357
|
+
*/
|
|
358
|
+
Enable?: boolean;
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* DescribeTagValues返回参数结构体
|
|
362
|
+
*/
|
|
363
|
+
export interface DescribeTagValuesResponse {
|
|
364
|
+
/**
|
|
365
|
+
* 维度值列表
|
|
366
|
+
*/
|
|
367
|
+
Values?: Array<string>;
|
|
368
|
+
/**
|
|
369
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
370
|
+
*/
|
|
371
|
+
RequestId?: string;
|
|
372
|
+
}
|
|
328
373
|
/**
|
|
329
374
|
* Span对象
|
|
330
375
|
*/
|
|
@@ -510,6 +555,39 @@ export interface DescribeApmAgentResponse {
|
|
|
510
555
|
*/
|
|
511
556
|
RequestId?: string;
|
|
512
557
|
}
|
|
558
|
+
/**
|
|
559
|
+
* DescribeTagValues请求参数结构体
|
|
560
|
+
*/
|
|
561
|
+
export interface DescribeTagValuesRequest {
|
|
562
|
+
/**
|
|
563
|
+
* 维度名
|
|
564
|
+
*/
|
|
565
|
+
TagKey: string;
|
|
566
|
+
/**
|
|
567
|
+
* 实例ID
|
|
568
|
+
*/
|
|
569
|
+
InstanceId?: string;
|
|
570
|
+
/**
|
|
571
|
+
* 结束时间
|
|
572
|
+
*/
|
|
573
|
+
EndTime?: number;
|
|
574
|
+
/**
|
|
575
|
+
* 过滤条件
|
|
576
|
+
*/
|
|
577
|
+
Filters?: Array<Filter>;
|
|
578
|
+
/**
|
|
579
|
+
* 开始时间
|
|
580
|
+
*/
|
|
581
|
+
StartTime?: number;
|
|
582
|
+
/**
|
|
583
|
+
* Or过滤条件
|
|
584
|
+
*/
|
|
585
|
+
OrFilters?: Array<Filter>;
|
|
586
|
+
/**
|
|
587
|
+
* 使用类型
|
|
588
|
+
*/
|
|
589
|
+
Type?: string;
|
|
590
|
+
}
|
|
513
591
|
/**
|
|
514
592
|
* 指标维度信息
|
|
515
593
|
*/
|
|
@@ -572,41 +650,101 @@ export interface Line {
|
|
|
572
650
|
Tags: Array<ApmTag>;
|
|
573
651
|
}
|
|
574
652
|
/**
|
|
575
|
-
*
|
|
653
|
+
* 应用相关的配置列表项
|
|
576
654
|
*/
|
|
577
|
-
export interface
|
|
655
|
+
export interface ApmApplicationConfigView {
|
|
578
656
|
/**
|
|
579
|
-
*
|
|
657
|
+
* 实例ID
|
|
580
658
|
*/
|
|
581
|
-
|
|
659
|
+
InstanceKey?: string;
|
|
582
660
|
/**
|
|
583
|
-
*
|
|
661
|
+
* 服务名
|
|
584
662
|
*/
|
|
585
|
-
|
|
663
|
+
ServiceName?: string;
|
|
586
664
|
/**
|
|
587
|
-
*
|
|
665
|
+
* 接口过滤
|
|
588
666
|
*/
|
|
589
|
-
|
|
667
|
+
OperationNameFilter?: string;
|
|
590
668
|
/**
|
|
591
|
-
*
|
|
669
|
+
* 异常过滤
|
|
592
670
|
*/
|
|
593
|
-
|
|
671
|
+
ExceptionFilter?: string;
|
|
594
672
|
/**
|
|
595
|
-
*
|
|
673
|
+
* 错误码过滤
|
|
596
674
|
*/
|
|
597
|
-
|
|
675
|
+
ErrorCodeFilter?: string;
|
|
598
676
|
/**
|
|
599
|
-
*
|
|
677
|
+
* 应用诊断开关
|
|
678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
600
679
|
*/
|
|
601
|
-
|
|
680
|
+
EventEnable?: boolean;
|
|
602
681
|
/**
|
|
603
|
-
*
|
|
682
|
+
* URL收敛开关 0 关 1 开
|
|
604
683
|
*/
|
|
605
|
-
|
|
684
|
+
UrlConvergenceSwitch?: number;
|
|
606
685
|
/**
|
|
607
|
-
*
|
|
686
|
+
* URL收敛阈值
|
|
608
687
|
*/
|
|
609
|
-
|
|
688
|
+
UrlConvergenceThreshold?: number;
|
|
689
|
+
/**
|
|
690
|
+
* URL收敛规则正则
|
|
691
|
+
*/
|
|
692
|
+
UrlConvergence?: string;
|
|
693
|
+
/**
|
|
694
|
+
* URL排除规则正则
|
|
695
|
+
*/
|
|
696
|
+
UrlExclude?: string;
|
|
697
|
+
/**
|
|
698
|
+
* 是否开启日志 0 关 1 开
|
|
699
|
+
*/
|
|
700
|
+
IsRelatedLog?: number;
|
|
701
|
+
/**
|
|
702
|
+
* 日志来源
|
|
703
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
704
|
+
*/
|
|
705
|
+
LogSource?: string;
|
|
706
|
+
/**
|
|
707
|
+
* CLS日志集
|
|
708
|
+
*/
|
|
709
|
+
LogSet?: string;
|
|
710
|
+
/**
|
|
711
|
+
* 日志主题ID
|
|
712
|
+
*/
|
|
713
|
+
LogTopicID?: string;
|
|
714
|
+
/**
|
|
715
|
+
* 线程剖析开关
|
|
716
|
+
*/
|
|
717
|
+
SnapshotEnable?: boolean;
|
|
718
|
+
/**
|
|
719
|
+
* 线程剖析超时阈值
|
|
720
|
+
*/
|
|
721
|
+
SnapshotTimeout?: number;
|
|
722
|
+
/**
|
|
723
|
+
* 探针开启开关
|
|
724
|
+
*/
|
|
725
|
+
AgentEnable?: boolean;
|
|
726
|
+
/**
|
|
727
|
+
* 组件列表开关
|
|
728
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
729
|
+
*/
|
|
730
|
+
InstrumentList?: Array<Instrument>;
|
|
731
|
+
/**
|
|
732
|
+
* 链路压缩开关
|
|
733
|
+
*/
|
|
734
|
+
TraceSquash?: boolean;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* 维度(标签)对象
|
|
738
|
+
*/
|
|
739
|
+
export interface ApmTag {
|
|
740
|
+
/**
|
|
741
|
+
* 维度Key(列名,标签Key)
|
|
742
|
+
*/
|
|
743
|
+
Key: string;
|
|
744
|
+
/**
|
|
745
|
+
* 维度值(标签值)
|
|
746
|
+
*/
|
|
747
|
+
Value: string;
|
|
610
748
|
}
|
|
611
749
|
/**
|
|
612
750
|
* Apm通用KV结构
|
|
@@ -656,17 +794,41 @@ export interface DescribeMetricRecordsResponse {
|
|
|
656
794
|
RequestId?: string;
|
|
657
795
|
}
|
|
658
796
|
/**
|
|
659
|
-
*
|
|
797
|
+
* DescribeGeneralSpanList请求参数结构体
|
|
660
798
|
*/
|
|
661
|
-
export interface
|
|
799
|
+
export interface DescribeGeneralSpanListRequest {
|
|
662
800
|
/**
|
|
663
|
-
*
|
|
801
|
+
* 分页
|
|
664
802
|
*/
|
|
665
|
-
|
|
803
|
+
Offset: number;
|
|
666
804
|
/**
|
|
667
|
-
*
|
|
805
|
+
* 列表项个数
|
|
668
806
|
*/
|
|
669
|
-
|
|
807
|
+
Limit: number;
|
|
808
|
+
/**
|
|
809
|
+
* 排序
|
|
810
|
+
*/
|
|
811
|
+
OrderBy?: OrderBy;
|
|
812
|
+
/**
|
|
813
|
+
* span查询开始时间戳(单位:秒)
|
|
814
|
+
*/
|
|
815
|
+
StartTime?: number;
|
|
816
|
+
/**
|
|
817
|
+
* 实例名
|
|
818
|
+
*/
|
|
819
|
+
InstanceId?: string;
|
|
820
|
+
/**
|
|
821
|
+
* 通用过滤参数
|
|
822
|
+
*/
|
|
823
|
+
Filters?: Array<Filter>;
|
|
824
|
+
/**
|
|
825
|
+
* 业务自身服务名
|
|
826
|
+
*/
|
|
827
|
+
BusinessName?: string;
|
|
828
|
+
/**
|
|
829
|
+
* span查询结束时间戳(单位:秒)
|
|
830
|
+
*/
|
|
831
|
+
EndTime?: number;
|
|
670
832
|
}
|
|
671
833
|
/**
|
|
672
834
|
* 查询过滤参数
|
|
@@ -782,6 +944,19 @@ export interface DescribeMetricRecordsRequest {
|
|
|
782
944
|
*/
|
|
783
945
|
OrFilters?: Array<Filter>;
|
|
784
946
|
}
|
|
947
|
+
/**
|
|
948
|
+
* DescribeGeneralApmApplicationConfig返回参数结构体
|
|
949
|
+
*/
|
|
950
|
+
export interface DescribeGeneralApmApplicationConfigResponse {
|
|
951
|
+
/**
|
|
952
|
+
* 应用配置项
|
|
953
|
+
*/
|
|
954
|
+
ApmApplicationConfigView?: ApmApplicationConfigView;
|
|
955
|
+
/**
|
|
956
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
957
|
+
*/
|
|
958
|
+
RequestId?: string;
|
|
959
|
+
}
|
|
785
960
|
/**
|
|
786
961
|
* DescribeGeneralMetricData请求参数结构体
|
|
787
962
|
*/
|
|
@@ -889,6 +1064,19 @@ export interface SpanProcess {
|
|
|
889
1064
|
*/
|
|
890
1065
|
Tags: Array<SpanTag>;
|
|
891
1066
|
}
|
|
1067
|
+
/**
|
|
1068
|
+
* DescribeGeneralApmApplicationConfig请求参数结构体
|
|
1069
|
+
*/
|
|
1070
|
+
export interface DescribeGeneralApmApplicationConfigRequest {
|
|
1071
|
+
/**
|
|
1072
|
+
* 应用名
|
|
1073
|
+
*/
|
|
1074
|
+
ServiceName: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* 实例Id
|
|
1077
|
+
*/
|
|
1078
|
+
InstanceId: string;
|
|
1079
|
+
}
|
|
892
1080
|
/**
|
|
893
1081
|
* ModifyApmInstance返回参数结构体
|
|
894
1082
|
*/
|
|
@@ -969,6 +1157,19 @@ export interface DescribeGeneralMetricDataResponse {
|
|
|
969
1157
|
*/
|
|
970
1158
|
RequestId?: string;
|
|
971
1159
|
}
|
|
1160
|
+
/**
|
|
1161
|
+
* ModifyGeneralApmApplicationConfig返回参数结构体
|
|
1162
|
+
*/
|
|
1163
|
+
export interface ModifyGeneralApmApplicationConfigResponse {
|
|
1164
|
+
/**
|
|
1165
|
+
* 返回值描述
|
|
1166
|
+
*/
|
|
1167
|
+
Message?: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1170
|
+
*/
|
|
1171
|
+
RequestId?: string;
|
|
1172
|
+
}
|
|
972
1173
|
/**
|
|
973
1174
|
* TerminateApmInstance返回参数结构体
|
|
974
1175
|
*/
|