tencentcloud-sdk-nodejs-apm 4.1.127 → 4.1.146
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,17 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* DescribeApmAssociation返回参数结构体
|
|
5
3
|
*/
|
|
6
|
-
export interface
|
|
4
|
+
export interface DescribeApmAssociationResponse {
|
|
7
5
|
/**
|
|
8
|
-
*
|
|
6
|
+
* 关联的产品实例ID
|
|
9
7
|
*/
|
|
10
|
-
|
|
8
|
+
ApmAssociation?: ApmAssociation;
|
|
11
9
|
/**
|
|
12
|
-
*
|
|
10
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13
11
|
*/
|
|
14
|
-
|
|
12
|
+
RequestId?: string;
|
|
15
13
|
}
|
|
16
14
|
/**
|
|
17
15
|
* ModifyApmInstance请求参数结构体
|
|
@@ -526,17 +524,29 @@ export interface DescribeApmServiceMetricRequest {
|
|
|
526
524
|
Filters?: Array<Filter>;
|
|
527
525
|
}
|
|
528
526
|
/**
|
|
529
|
-
*
|
|
527
|
+
* CreateApmPrometheusRule请求参数结构体
|
|
530
528
|
*/
|
|
531
|
-
export interface
|
|
529
|
+
export interface CreateApmPrometheusRuleRequest {
|
|
532
530
|
/**
|
|
533
|
-
*
|
|
531
|
+
* 指标匹配规则名
|
|
534
532
|
*/
|
|
535
|
-
|
|
533
|
+
Name: string;
|
|
536
534
|
/**
|
|
537
|
-
*
|
|
535
|
+
* 规则生效的应用。作用全部应用就传空字符串
|
|
538
536
|
*/
|
|
539
|
-
|
|
537
|
+
ServiceName: string;
|
|
538
|
+
/**
|
|
539
|
+
* 指标匹配类型:0精准匹配,1前缀匹配,2后缀匹配
|
|
540
|
+
*/
|
|
541
|
+
MetricMatchType: number;
|
|
542
|
+
/**
|
|
543
|
+
* 客户定义的命中指标名规则。
|
|
544
|
+
*/
|
|
545
|
+
MetricNameRule: string;
|
|
546
|
+
/**
|
|
547
|
+
* 业务系统ID
|
|
548
|
+
*/
|
|
549
|
+
InstanceId: string;
|
|
540
550
|
}
|
|
541
551
|
/**
|
|
542
552
|
* 查询
|
|
@@ -556,62 +566,50 @@ export interface QueryMetricItem {
|
|
|
556
566
|
Compare?: string;
|
|
557
567
|
}
|
|
558
568
|
/**
|
|
559
|
-
*
|
|
569
|
+
* ModifyApmPrometheusRule请求参数结构体
|
|
560
570
|
*/
|
|
561
|
-
export interface
|
|
571
|
+
export interface ModifyApmPrometheusRuleRequest {
|
|
562
572
|
/**
|
|
563
|
-
*
|
|
564
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
573
|
+
* 规则ID
|
|
565
574
|
*/
|
|
566
|
-
|
|
575
|
+
Id: number;
|
|
567
576
|
/**
|
|
568
577
|
* 业务系统ID
|
|
569
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
570
578
|
*/
|
|
571
|
-
|
|
579
|
+
InstanceId: string;
|
|
572
580
|
/**
|
|
573
|
-
*
|
|
574
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
581
|
+
* 所要修改的规则名
|
|
575
582
|
*/
|
|
576
|
-
|
|
583
|
+
Name?: string;
|
|
577
584
|
/**
|
|
578
|
-
*
|
|
579
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
585
|
+
* 规则状态:1(启用)、2(不启用)、3(删除)
|
|
580
586
|
*/
|
|
581
|
-
|
|
587
|
+
Status?: number;
|
|
582
588
|
/**
|
|
583
|
-
*
|
|
584
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
589
|
+
* 规则生效的应用。生效于全部应用就传空(这个如果不修改也要传旧的规则)
|
|
585
590
|
*/
|
|
586
591
|
ServiceName?: string;
|
|
587
592
|
/**
|
|
588
|
-
*
|
|
589
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
590
|
-
*/
|
|
591
|
-
ServiceDescription?: string;
|
|
592
|
-
/**
|
|
593
|
-
* 地域
|
|
594
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
595
|
-
*/
|
|
596
|
-
Region?: string;
|
|
597
|
-
/**
|
|
598
|
-
* 标签
|
|
599
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
593
|
+
* 匹配类型:0精准匹配,1前缀匹配,2后缀匹配(这个如果不修改也要传旧的规则)
|
|
600
594
|
*/
|
|
601
|
-
|
|
595
|
+
MetricMatchType?: number;
|
|
602
596
|
/**
|
|
603
|
-
*
|
|
597
|
+
* 客户定义的命中指标名规则。
|
|
604
598
|
*/
|
|
605
|
-
|
|
599
|
+
MetricNameRule?: string;
|
|
606
600
|
}
|
|
607
601
|
/**
|
|
608
|
-
*
|
|
602
|
+
* ModifyGeneralApmApplicationConfig返回参数结构体
|
|
609
603
|
*/
|
|
610
|
-
export interface
|
|
604
|
+
export interface ModifyGeneralApmApplicationConfigResponse {
|
|
611
605
|
/**
|
|
612
|
-
*
|
|
606
|
+
* 返回值描述
|
|
613
607
|
*/
|
|
614
|
-
|
|
608
|
+
Message?: string;
|
|
609
|
+
/**
|
|
610
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
611
|
+
*/
|
|
612
|
+
RequestId?: string;
|
|
615
613
|
}
|
|
616
614
|
/**
|
|
617
615
|
* DescribeApmInstances返回参数结构体
|
|
@@ -626,6 +624,26 @@ export interface DescribeApmInstancesResponse {
|
|
|
626
624
|
*/
|
|
627
625
|
RequestId?: string;
|
|
628
626
|
}
|
|
627
|
+
/**
|
|
628
|
+
* 探针有关接口的相关配置
|
|
629
|
+
*/
|
|
630
|
+
export interface AgentOperationConfigView {
|
|
631
|
+
/**
|
|
632
|
+
* 当前接口配置是否开启了接口白名单配置
|
|
633
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
634
|
+
*/
|
|
635
|
+
RetentionValid?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* RetentionValid为false时生效,接口配置中的黑名单配置,配置中的接口不采集
|
|
638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
639
|
+
*/
|
|
640
|
+
IgnoreOperation?: string;
|
|
641
|
+
/**
|
|
642
|
+
* RetentionValid为true时生效,接口配置中的白名单配置,仅采集配置中的接口
|
|
643
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
644
|
+
*/
|
|
645
|
+
RetentionOperation?: string;
|
|
646
|
+
}
|
|
629
647
|
/**
|
|
630
648
|
* 组件
|
|
631
649
|
*/
|
|
@@ -652,6 +670,101 @@ export interface DescribeTagValuesResponse {
|
|
|
652
670
|
*/
|
|
653
671
|
RequestId?: string;
|
|
654
672
|
}
|
|
673
|
+
/**
|
|
674
|
+
* DescribeTagValues请求参数结构体
|
|
675
|
+
*/
|
|
676
|
+
export interface DescribeTagValuesRequest {
|
|
677
|
+
/**
|
|
678
|
+
* 业务系统 ID
|
|
679
|
+
*/
|
|
680
|
+
InstanceId: string;
|
|
681
|
+
/**
|
|
682
|
+
* 维度名
|
|
683
|
+
*/
|
|
684
|
+
TagKey: string;
|
|
685
|
+
/**
|
|
686
|
+
* 开始时间(单位为秒)
|
|
687
|
+
*/
|
|
688
|
+
StartTime: number;
|
|
689
|
+
/**
|
|
690
|
+
* 结束时间(单位为秒)
|
|
691
|
+
*/
|
|
692
|
+
EndTime: number;
|
|
693
|
+
/**
|
|
694
|
+
* 过滤条件
|
|
695
|
+
*/
|
|
696
|
+
Filters?: Array<Filter>;
|
|
697
|
+
/**
|
|
698
|
+
* Or 过滤条件
|
|
699
|
+
*/
|
|
700
|
+
OrFilters?: Array<Filter>;
|
|
701
|
+
/**
|
|
702
|
+
* 使用类型
|
|
703
|
+
*/
|
|
704
|
+
Type?: string;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* DescribeApmPrometheusRule返回参数结构体
|
|
708
|
+
*/
|
|
709
|
+
export interface DescribeApmPrometheusRuleResponse {
|
|
710
|
+
/**
|
|
711
|
+
* 指标匹配规则
|
|
712
|
+
*/
|
|
713
|
+
ApmPrometheusRules?: Array<ApmPrometheusRules>;
|
|
714
|
+
/**
|
|
715
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
716
|
+
*/
|
|
717
|
+
RequestId?: string;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* 应用详细信息
|
|
721
|
+
*/
|
|
722
|
+
export interface ServiceDetail {
|
|
723
|
+
/**
|
|
724
|
+
* 应用ID
|
|
725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
726
|
+
*/
|
|
727
|
+
ServiceID?: string;
|
|
728
|
+
/**
|
|
729
|
+
* 业务系统ID
|
|
730
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
731
|
+
*/
|
|
732
|
+
InstanceKey?: string;
|
|
733
|
+
/**
|
|
734
|
+
* 用户appid
|
|
735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
736
|
+
*/
|
|
737
|
+
AppID?: number;
|
|
738
|
+
/**
|
|
739
|
+
* 主账号uin
|
|
740
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
741
|
+
*/
|
|
742
|
+
CreateUIN?: string;
|
|
743
|
+
/**
|
|
744
|
+
* 应用名
|
|
745
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
746
|
+
*/
|
|
747
|
+
ServiceName?: string;
|
|
748
|
+
/**
|
|
749
|
+
* 应用描述
|
|
750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
751
|
+
*/
|
|
752
|
+
ServiceDescription?: string;
|
|
753
|
+
/**
|
|
754
|
+
* 地域
|
|
755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
756
|
+
*/
|
|
757
|
+
Region?: string;
|
|
758
|
+
/**
|
|
759
|
+
* 标签
|
|
760
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
761
|
+
*/
|
|
762
|
+
Tags?: Array<ApmTag>;
|
|
763
|
+
/**
|
|
764
|
+
* 业务系统名称
|
|
765
|
+
*/
|
|
766
|
+
InstanceName?: string;
|
|
767
|
+
}
|
|
655
768
|
/**
|
|
656
769
|
* Span 对象
|
|
657
770
|
*/
|
|
@@ -734,6 +847,15 @@ export interface ApmAgentInfo {
|
|
|
734
847
|
*/
|
|
735
848
|
PrivateLinkCollectorURL?: string;
|
|
736
849
|
}
|
|
850
|
+
/**
|
|
851
|
+
* TerminateApmInstance请求参数结构体
|
|
852
|
+
*/
|
|
853
|
+
export interface TerminateApmInstanceRequest {
|
|
854
|
+
/**
|
|
855
|
+
* 业务系统ID
|
|
856
|
+
*/
|
|
857
|
+
InstanceId: string;
|
|
858
|
+
}
|
|
737
859
|
/**
|
|
738
860
|
* 应用相关的配置列表项
|
|
739
861
|
*/
|
|
@@ -880,6 +1002,20 @@ export interface DescribeServiceOverviewRequest {
|
|
|
880
1002
|
*/
|
|
881
1003
|
Offset?: number;
|
|
882
1004
|
}
|
|
1005
|
+
/**
|
|
1006
|
+
* DescribeApmSampleConfig返回参数结构体
|
|
1007
|
+
*/
|
|
1008
|
+
export interface DescribeApmSampleConfigResponse {
|
|
1009
|
+
/**
|
|
1010
|
+
* 采样配置列表
|
|
1011
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1012
|
+
*/
|
|
1013
|
+
ApmSampleConfigs?: Array<ApmSampleConfig>;
|
|
1014
|
+
/**
|
|
1015
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1016
|
+
*/
|
|
1017
|
+
RequestId?: string;
|
|
1018
|
+
}
|
|
883
1019
|
/**
|
|
884
1020
|
* DescribeApmAgent返回参数结构体
|
|
885
1021
|
*/
|
|
@@ -894,37 +1030,74 @@ export interface DescribeApmAgentResponse {
|
|
|
894
1030
|
RequestId?: string;
|
|
895
1031
|
}
|
|
896
1032
|
/**
|
|
897
|
-
*
|
|
1033
|
+
* CreateApmSampleConfig请求参数结构体
|
|
898
1034
|
*/
|
|
899
|
-
export interface
|
|
1035
|
+
export interface CreateApmSampleConfigRequest {
|
|
900
1036
|
/**
|
|
901
|
-
* 业务系统
|
|
1037
|
+
* 业务系统ID
|
|
902
1038
|
*/
|
|
903
1039
|
InstanceId: string;
|
|
904
1040
|
/**
|
|
905
|
-
*
|
|
1041
|
+
* 采样率
|
|
906
1042
|
*/
|
|
907
|
-
|
|
1043
|
+
SampleRate: number;
|
|
908
1044
|
/**
|
|
909
|
-
*
|
|
1045
|
+
* 应用名
|
|
910
1046
|
*/
|
|
911
|
-
|
|
1047
|
+
ServiceName: string;
|
|
912
1048
|
/**
|
|
913
|
-
*
|
|
1049
|
+
* 采样规则名
|
|
914
1050
|
*/
|
|
915
|
-
|
|
1051
|
+
SampleName: string;
|
|
916
1052
|
/**
|
|
917
|
-
*
|
|
1053
|
+
* 采样Tags
|
|
918
1054
|
*/
|
|
919
|
-
|
|
1055
|
+
Tags?: Array<APMKVItem>;
|
|
920
1056
|
/**
|
|
921
|
-
*
|
|
1057
|
+
* 接口名
|
|
922
1058
|
*/
|
|
923
|
-
|
|
1059
|
+
OperationName?: string;
|
|
924
1060
|
/**
|
|
925
|
-
*
|
|
1061
|
+
* 0=精确匹配(默认);1=前缀匹配;2=后缀匹配
|
|
926
1062
|
*/
|
|
927
|
-
|
|
1063
|
+
OperationType?: number;
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* DescribeApmSampleConfig请求参数结构体
|
|
1067
|
+
*/
|
|
1068
|
+
export interface DescribeApmSampleConfigRequest {
|
|
1069
|
+
/**
|
|
1070
|
+
* 业务系统ID
|
|
1071
|
+
*/
|
|
1072
|
+
InstanceId: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* 采样规则名
|
|
1075
|
+
*/
|
|
1076
|
+
SampleName?: string;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* ModifyApmInstance返回参数结构体
|
|
1080
|
+
*/
|
|
1081
|
+
export interface ModifyApmInstanceResponse {
|
|
1082
|
+
/**
|
|
1083
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1084
|
+
*/
|
|
1085
|
+
RequestId?: string;
|
|
1086
|
+
}
|
|
1087
|
+
/**
|
|
1088
|
+
* Span日志部分
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
*/
|
|
1092
|
+
export interface SpanLog {
|
|
1093
|
+
/**
|
|
1094
|
+
* 日志时间戳
|
|
1095
|
+
*/
|
|
1096
|
+
Timestamp: number;
|
|
1097
|
+
/**
|
|
1098
|
+
* 标签
|
|
1099
|
+
*/
|
|
1100
|
+
Fields: Array<SpanTag>;
|
|
928
1101
|
}
|
|
929
1102
|
/**
|
|
930
1103
|
* apm应用指标信息
|
|
@@ -947,17 +1120,305 @@ export interface ApmServiceMetric {
|
|
|
947
1120
|
ServiceDetail?: ServiceDetail;
|
|
948
1121
|
}
|
|
949
1122
|
/**
|
|
950
|
-
*
|
|
1123
|
+
* ModifyApmSampleConfig返回参数结构体
|
|
951
1124
|
*/
|
|
952
|
-
export interface
|
|
1125
|
+
export interface ModifyApmSampleConfigResponse {
|
|
953
1126
|
/**
|
|
954
|
-
*
|
|
1127
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
955
1128
|
*/
|
|
956
|
-
|
|
1129
|
+
RequestId?: string;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* 查询应用配置返回参数
|
|
1133
|
+
*/
|
|
1134
|
+
export interface ApmAppConfig {
|
|
957
1135
|
/**
|
|
958
|
-
*
|
|
1136
|
+
* 实例ID
|
|
959
1137
|
*/
|
|
960
|
-
|
|
1138
|
+
InstanceKey?: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* 服务名
|
|
1141
|
+
*/
|
|
1142
|
+
ServiceName?: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* URL收敛开关
|
|
1145
|
+
*/
|
|
1146
|
+
UrlConvergenceSwitch?: number;
|
|
1147
|
+
/**
|
|
1148
|
+
* URL收敛阈值
|
|
1149
|
+
*/
|
|
1150
|
+
UrlConvergenceThreshold?: number;
|
|
1151
|
+
/**
|
|
1152
|
+
* URL收敛正则
|
|
1153
|
+
*/
|
|
1154
|
+
UrlConvergence?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* 异常过滤正则
|
|
1157
|
+
*/
|
|
1158
|
+
ExceptionFilter?: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* 错误码过滤
|
|
1161
|
+
*/
|
|
1162
|
+
ErrorCodeFilter?: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* 服务组件类型
|
|
1165
|
+
*/
|
|
1166
|
+
Components?: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* URL排除正则
|
|
1169
|
+
*/
|
|
1170
|
+
UrlExclude?: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* 日志来源
|
|
1173
|
+
*/
|
|
1174
|
+
LogSource?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* 日志所在地域
|
|
1177
|
+
*/
|
|
1178
|
+
LogRegion?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* 是否开启日志 0 关 1 开
|
|
1181
|
+
*/
|
|
1182
|
+
IsRelatedLog?: number;
|
|
1183
|
+
/**
|
|
1184
|
+
* 日志主题ID
|
|
1185
|
+
*/
|
|
1186
|
+
LogTopicID?: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* 需过滤的接口名
|
|
1189
|
+
*/
|
|
1190
|
+
IgnoreOperationName?: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* CLS日志集 | ES集群ID
|
|
1193
|
+
*/
|
|
1194
|
+
LogSet?: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* 探针每秒上报trace数
|
|
1197
|
+
*/
|
|
1198
|
+
TraceRateLimit?: number;
|
|
1199
|
+
/**
|
|
1200
|
+
* 是否开启线程剖析
|
|
1201
|
+
*/
|
|
1202
|
+
EnableSnapshot?: boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* 线程剖析超时阈值
|
|
1205
|
+
*/
|
|
1206
|
+
SnapshotTimeout?: number;
|
|
1207
|
+
/**
|
|
1208
|
+
* 是否开启agent
|
|
1209
|
+
*/
|
|
1210
|
+
AgentEnable?: boolean;
|
|
1211
|
+
/**
|
|
1212
|
+
* 组件列表
|
|
1213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1214
|
+
*/
|
|
1215
|
+
InstrumentList?: Array<Instrument>;
|
|
1216
|
+
/**
|
|
1217
|
+
* 是否开启链路压缩
|
|
1218
|
+
*/
|
|
1219
|
+
TraceSquash?: boolean;
|
|
1220
|
+
/**
|
|
1221
|
+
* 是否开启应用诊断开关
|
|
1222
|
+
*/
|
|
1223
|
+
EventEnable?: boolean;
|
|
1224
|
+
/**
|
|
1225
|
+
* 探针接口相关配置
|
|
1226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1227
|
+
*/
|
|
1228
|
+
AgentOperationConfigView?: AgentOperationConfigView;
|
|
1229
|
+
/**
|
|
1230
|
+
* 是否开启应用日志配置
|
|
1231
|
+
*/
|
|
1232
|
+
EnableLogConfig?: boolean;
|
|
1233
|
+
/**
|
|
1234
|
+
* 应用ID
|
|
1235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1236
|
+
*/
|
|
1237
|
+
ServiceID?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* 应用是否开启dashboard配置: false 关(与业务系统保持一致)/true 开(应用级配置)
|
|
1240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1241
|
+
*/
|
|
1242
|
+
EnableDashboardConfig?: boolean;
|
|
1243
|
+
/**
|
|
1244
|
+
* 是否关联dashboard: 0 关 1 开
|
|
1245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1246
|
+
*/
|
|
1247
|
+
IsRelatedDashboard?: number;
|
|
1248
|
+
/**
|
|
1249
|
+
* dashboard ID
|
|
1250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1251
|
+
*/
|
|
1252
|
+
DashboardTopicID?: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* 是否开启应用级别配置
|
|
1255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1256
|
+
*/
|
|
1257
|
+
EnableSecurityConfig?: boolean;
|
|
1258
|
+
/**
|
|
1259
|
+
* 是否开启组件漏洞检测
|
|
1260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1261
|
+
*/
|
|
1262
|
+
IsInstrumentationVulnerabilityScan?: number;
|
|
1263
|
+
/**
|
|
1264
|
+
* 是否开启SQL注入分析
|
|
1265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1266
|
+
*/
|
|
1267
|
+
IsSqlInjectionAnalysis?: number;
|
|
1268
|
+
/**
|
|
1269
|
+
* 是否开启远程命令执行分析
|
|
1270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1271
|
+
*/
|
|
1272
|
+
IsRemoteCommandExecutionAnalysis?: number;
|
|
1273
|
+
/**
|
|
1274
|
+
* 是否开启内存马检测分析
|
|
1275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1276
|
+
*/
|
|
1277
|
+
IsMemoryHijackingAnalysis?: number;
|
|
1278
|
+
/**
|
|
1279
|
+
* CLS索引类型(0=全文索引,1=键值索引)
|
|
1280
|
+
*/
|
|
1281
|
+
LogIndexType?: number;
|
|
1282
|
+
/**
|
|
1283
|
+
* traceId的索引key: 当CLS索引类型为键值索引时生效
|
|
1284
|
+
*/
|
|
1285
|
+
LogTraceIdKey?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* 是否开启删除任意文件检测(0-关闭,1-开启)
|
|
1288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1289
|
+
*/
|
|
1290
|
+
IsDeleteAnyFileAnalysis?: number;
|
|
1291
|
+
/**
|
|
1292
|
+
* 是否开启读取任意文件检测(0-关闭,1-开启)
|
|
1293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1294
|
+
*/
|
|
1295
|
+
IsReadAnyFileAnalysis?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* 是否开启上传任意文件检测(0-关闭,1-开启)
|
|
1298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1299
|
+
*/
|
|
1300
|
+
IsUploadAnyFileAnalysis?: number;
|
|
1301
|
+
/**
|
|
1302
|
+
* 是否开启包含任意文件检测(0-关闭,1-开启)
|
|
1303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1304
|
+
*/
|
|
1305
|
+
IsIncludeAnyFileAnalysis?: number;
|
|
1306
|
+
/**
|
|
1307
|
+
* 是否开启目录遍历检测(0-关闭,1-开启)
|
|
1308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1309
|
+
*/
|
|
1310
|
+
IsDirectoryTraversalAnalysis?: number;
|
|
1311
|
+
/**
|
|
1312
|
+
* 是否开启模板引擎注入检测(0-关闭,1-开启)
|
|
1313
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1314
|
+
*/
|
|
1315
|
+
IsTemplateEngineInjectionAnalysis?: number;
|
|
1316
|
+
/**
|
|
1317
|
+
* 是否开启脚本引擎注入检测(0-关闭,1-开启)
|
|
1318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1319
|
+
*/
|
|
1320
|
+
IsScriptEngineInjectionAnalysis?: number;
|
|
1321
|
+
/**
|
|
1322
|
+
* 是否开启表达式注入检测(0-关闭,1-开启)
|
|
1323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1324
|
+
*/
|
|
1325
|
+
IsExpressionInjectionAnalysis?: number;
|
|
1326
|
+
/**
|
|
1327
|
+
* 是否开启JNDI注入检测(0-关闭,1-开启)
|
|
1328
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1329
|
+
*/
|
|
1330
|
+
IsJNDIInjectionAnalysis?: number;
|
|
1331
|
+
/**
|
|
1332
|
+
* 是否开启JNI注入检测(0-关闭,1-开启)
|
|
1333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1334
|
+
*/
|
|
1335
|
+
IsJNIInjectionAnalysis?: number;
|
|
1336
|
+
/**
|
|
1337
|
+
* 是否开启Webshell后门检测(0-关闭,1-开启)
|
|
1338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1339
|
+
*/
|
|
1340
|
+
IsWebshellBackdoorAnalysis?: number;
|
|
1341
|
+
/**
|
|
1342
|
+
* 是否开启反序列化检测(0-关闭,1-开启)
|
|
1343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1344
|
+
*/
|
|
1345
|
+
IsDeserializationAnalysis?: number;
|
|
1346
|
+
/**
|
|
1347
|
+
* 接口名称自动收敛开关(0-关闭,1-开启)
|
|
1348
|
+
*/
|
|
1349
|
+
UrlAutoConvergenceEnable?: boolean;
|
|
1350
|
+
/**
|
|
1351
|
+
* URL长分段收敛阈值
|
|
1352
|
+
*/
|
|
1353
|
+
UrlLongSegmentThreshold?: number;
|
|
1354
|
+
/**
|
|
1355
|
+
* URL数字分段收敛阈值
|
|
1356
|
+
*/
|
|
1357
|
+
UrlNumberSegmentThreshold?: number;
|
|
1358
|
+
/**
|
|
1359
|
+
* 探针熔断内存阈值
|
|
1360
|
+
*/
|
|
1361
|
+
DisableMemoryUsed?: number;
|
|
1362
|
+
/**
|
|
1363
|
+
* 探针熔断CPU阈值
|
|
1364
|
+
*/
|
|
1365
|
+
DisableCpuUsed?: number;
|
|
1366
|
+
}
|
|
1367
|
+
/**
|
|
1368
|
+
* CreateApmSampleConfig返回参数结构体
|
|
1369
|
+
*/
|
|
1370
|
+
export interface CreateApmSampleConfigResponse {
|
|
1371
|
+
/**
|
|
1372
|
+
* 采样配置参数
|
|
1373
|
+
*/
|
|
1374
|
+
ApmSampleConfig?: ApmSampleConfig;
|
|
1375
|
+
/**
|
|
1376
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1377
|
+
*/
|
|
1378
|
+
RequestId?: string;
|
|
1379
|
+
}
|
|
1380
|
+
/**
|
|
1381
|
+
* DescribeApmApplicationConfig请求参数结构体
|
|
1382
|
+
*/
|
|
1383
|
+
export interface DescribeApmApplicationConfigRequest {
|
|
1384
|
+
/**
|
|
1385
|
+
* 实例ID
|
|
1386
|
+
*/
|
|
1387
|
+
InstanceId: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* 服务名称
|
|
1390
|
+
*/
|
|
1391
|
+
ServiceName: string;
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* 查询过滤参数
|
|
1395
|
+
*/
|
|
1396
|
+
export interface Filter {
|
|
1397
|
+
/**
|
|
1398
|
+
* 过滤方式(=, !=, in)
|
|
1399
|
+
*/
|
|
1400
|
+
Type: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* 过滤维度名
|
|
1403
|
+
*/
|
|
1404
|
+
Key: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* 过滤值,in过滤方式用逗号分割多个值
|
|
1407
|
+
*/
|
|
1408
|
+
Value: string;
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1411
|
+
* 指标维度信息
|
|
1412
|
+
*/
|
|
1413
|
+
export interface ApmField {
|
|
1414
|
+
/**
|
|
1415
|
+
* 指标名
|
|
1416
|
+
*/
|
|
1417
|
+
Key?: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* 指标数值
|
|
1420
|
+
*/
|
|
1421
|
+
Value?: number;
|
|
961
1422
|
/**
|
|
962
1423
|
* 指标所对应的单位
|
|
963
1424
|
*/
|
|
@@ -1092,139 +1553,396 @@ export interface DescribeGeneralSpanListRequest {
|
|
|
1092
1553
|
Offset?: number;
|
|
1093
1554
|
}
|
|
1094
1555
|
/**
|
|
1095
|
-
*
|
|
1556
|
+
* ModifyApmPrometheusRule返回参数结构体
|
|
1096
1557
|
*/
|
|
1097
|
-
export interface
|
|
1558
|
+
export interface ModifyApmPrometheusRuleResponse {
|
|
1559
|
+
/**
|
|
1560
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1561
|
+
*/
|
|
1562
|
+
RequestId?: string;
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* 展示apm业务系统与其他云产品关联关系返回体
|
|
1566
|
+
*/
|
|
1567
|
+
export interface ApmAssociation {
|
|
1568
|
+
/**
|
|
1569
|
+
* 关联产品的实例ID
|
|
1570
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1571
|
+
*/
|
|
1572
|
+
PeerId?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* 关联关系状态:1(启用)、2(不启用)、3(已失效)
|
|
1575
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1576
|
+
*/
|
|
1577
|
+
Status?: number;
|
|
1578
|
+
/**
|
|
1579
|
+
* CKafka消息主题
|
|
1580
|
+
*/
|
|
1581
|
+
Topic?: string;
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* 排序字段
|
|
1585
|
+
*/
|
|
1586
|
+
export interface OrderBy {
|
|
1587
|
+
/**
|
|
1588
|
+
* 需要排序的字段,现支持 startTIme, endTime, duration
|
|
1589
|
+
*/
|
|
1590
|
+
Key: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* asc 顺序排序 / desc 倒序排序
|
|
1593
|
+
*/
|
|
1594
|
+
Value: string;
|
|
1595
|
+
}
|
|
1596
|
+
/**
|
|
1597
|
+
* DescribeServiceOverview返回参数结构体
|
|
1598
|
+
*/
|
|
1599
|
+
export interface DescribeServiceOverviewResponse {
|
|
1600
|
+
/**
|
|
1601
|
+
* 指标结果集
|
|
1602
|
+
*/
|
|
1603
|
+
Records?: Array<ApmMetricRecord>;
|
|
1604
|
+
/**
|
|
1605
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1606
|
+
*/
|
|
1607
|
+
RequestId?: string;
|
|
1608
|
+
}
|
|
1609
|
+
/**
|
|
1610
|
+
* DescribeApmServiceMetric返回参数结构体
|
|
1611
|
+
*/
|
|
1612
|
+
export interface DescribeApmServiceMetricResponse {
|
|
1613
|
+
/**
|
|
1614
|
+
* 应用指标列表
|
|
1615
|
+
*/
|
|
1616
|
+
ServiceMetricList?: Array<ApmServiceMetric>;
|
|
1617
|
+
/**
|
|
1618
|
+
* 符合筛选条件的应用数
|
|
1619
|
+
*/
|
|
1620
|
+
TotalCount?: number;
|
|
1621
|
+
/**
|
|
1622
|
+
* 警示异常应用数
|
|
1623
|
+
*/
|
|
1624
|
+
WarningErrorCount?: number;
|
|
1625
|
+
/**
|
|
1626
|
+
* 应用总数
|
|
1627
|
+
*/
|
|
1628
|
+
ApplicationCount?: number;
|
|
1629
|
+
/**
|
|
1630
|
+
* 页码
|
|
1631
|
+
*/
|
|
1632
|
+
Page?: number;
|
|
1633
|
+
/**
|
|
1634
|
+
* 页大小
|
|
1635
|
+
*/
|
|
1636
|
+
PageSize?: number;
|
|
1637
|
+
/**
|
|
1638
|
+
* 异常应用数
|
|
1639
|
+
*/
|
|
1640
|
+
ErrorCount?: number;
|
|
1641
|
+
/**
|
|
1642
|
+
* 警示应用数
|
|
1643
|
+
*/
|
|
1644
|
+
WarningCount?: number;
|
|
1645
|
+
/**
|
|
1646
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1647
|
+
*/
|
|
1648
|
+
RequestId?: string;
|
|
1649
|
+
}
|
|
1650
|
+
/**
|
|
1651
|
+
* ModifyApmAssociation返回参数结构体
|
|
1652
|
+
*/
|
|
1653
|
+
export interface ModifyApmAssociationResponse {
|
|
1654
|
+
/**
|
|
1655
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1656
|
+
*/
|
|
1657
|
+
RequestId?: string;
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* DescribeMetricRecords返回参数结构体
|
|
1661
|
+
*/
|
|
1662
|
+
export interface DescribeMetricRecordsResponse {
|
|
1663
|
+
/**
|
|
1664
|
+
* 指标结果集
|
|
1665
|
+
*/
|
|
1666
|
+
Records?: Array<ApmMetricRecord>;
|
|
1667
|
+
/**
|
|
1668
|
+
* 查询指标结果集条数
|
|
1669
|
+
*/
|
|
1670
|
+
TotalCount?: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1673
|
+
*/
|
|
1674
|
+
RequestId?: string;
|
|
1675
|
+
}
|
|
1676
|
+
/**
|
|
1677
|
+
* DescribeGeneralOTSpanList返回参数结构体
|
|
1678
|
+
*/
|
|
1679
|
+
export interface DescribeGeneralOTSpanListResponse {
|
|
1680
|
+
/**
|
|
1681
|
+
* 总数量
|
|
1682
|
+
*/
|
|
1683
|
+
TotalCount?: number;
|
|
1684
|
+
/**
|
|
1685
|
+
* Spans字段中包含了链路数据的全部内容,由于数据经过了压缩,需要对结果进行如下三步转换,以还原始的文本。
|
|
1686
|
+
1. 将Spans字段中的文本进行 Base64 解码,得到经过压缩后字节数组。
|
|
1687
|
+
2. 使用 gzip 对压缩后的字节数组进行解压,得到压缩前的字节数组。
|
|
1688
|
+
3. 使用 UTF-8 字符集,将压缩前的字节数组转换为文本。
|
|
1689
|
+
|
|
1690
|
+
*/
|
|
1691
|
+
Spans?: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1694
|
+
*/
|
|
1695
|
+
RequestId?: string;
|
|
1696
|
+
}
|
|
1697
|
+
/**
|
|
1698
|
+
* 维度(标签)对象
|
|
1699
|
+
*/
|
|
1700
|
+
export interface ApmTag {
|
|
1701
|
+
/**
|
|
1702
|
+
* 维度Key(列名,标签Key)
|
|
1703
|
+
*/
|
|
1704
|
+
Key: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* 维度值(标签值)
|
|
1707
|
+
*/
|
|
1708
|
+
Value: string;
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* ModifyApmApplicationConfig返回参数结构体
|
|
1712
|
+
*/
|
|
1713
|
+
export interface ModifyApmApplicationConfigResponse {
|
|
1714
|
+
/**
|
|
1715
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1716
|
+
*/
|
|
1717
|
+
RequestId?: string;
|
|
1718
|
+
}
|
|
1719
|
+
/**
|
|
1720
|
+
* DescribeApmApplicationConfig返回参数结构体
|
|
1721
|
+
*/
|
|
1722
|
+
export interface DescribeApmApplicationConfigResponse {
|
|
1723
|
+
/**
|
|
1724
|
+
* Apm应用配置
|
|
1725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1726
|
+
*/
|
|
1727
|
+
ApmAppConfig: ApmAppConfig;
|
|
1728
|
+
/**
|
|
1729
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1730
|
+
*/
|
|
1731
|
+
RequestId?: string;
|
|
1732
|
+
}
|
|
1733
|
+
/**
|
|
1734
|
+
* DescribeApmAssociation请求参数结构体
|
|
1735
|
+
*/
|
|
1736
|
+
export interface DescribeApmAssociationRequest {
|
|
1737
|
+
/**
|
|
1738
|
+
* 关联的产品名,当前只支持Prometheus
|
|
1739
|
+
*/
|
|
1740
|
+
ProductName: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* 业务系统名
|
|
1743
|
+
*/
|
|
1744
|
+
InstanceId: string;
|
|
1745
|
+
}
|
|
1746
|
+
/**
|
|
1747
|
+
* ModifyApmApplicationConfig请求参数结构体
|
|
1748
|
+
*/
|
|
1749
|
+
export interface ModifyApmApplicationConfigRequest {
|
|
1750
|
+
/**
|
|
1751
|
+
* 业务系统 ID
|
|
1752
|
+
*/
|
|
1753
|
+
InstanceId: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* 应用名
|
|
1756
|
+
*/
|
|
1757
|
+
ServiceName: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* URL收敛开关,0 关 | 1 开
|
|
1760
|
+
*/
|
|
1761
|
+
UrlConvergenceSwitch: number;
|
|
1762
|
+
/**
|
|
1763
|
+
* URL收敛阈值
|
|
1764
|
+
*/
|
|
1765
|
+
UrlConvergenceThreshold?: number;
|
|
1766
|
+
/**
|
|
1767
|
+
* 异常过滤正则规则,逗号分隔
|
|
1768
|
+
*/
|
|
1769
|
+
ExceptionFilter?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
* URL收敛正则规则,逗号分隔
|
|
1772
|
+
*/
|
|
1773
|
+
UrlConvergence?: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* 错误码过滤,逗号分隔
|
|
1776
|
+
*/
|
|
1777
|
+
ErrorCodeFilter?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* URL排除正则规则,逗号分隔
|
|
1780
|
+
*/
|
|
1781
|
+
UrlExclude?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
* 日志开关 0 关 1 开
|
|
1784
|
+
*/
|
|
1785
|
+
IsRelatedLog?: number;
|
|
1786
|
+
/**
|
|
1787
|
+
* 日志地域
|
|
1788
|
+
*/
|
|
1789
|
+
LogRegion?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* 日志主题ID
|
|
1792
|
+
*/
|
|
1793
|
+
LogTopicID?: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* CLS 日志集 | ES 集群ID
|
|
1796
|
+
*/
|
|
1797
|
+
LogSet?: string;
|
|
1798
|
+
/**
|
|
1799
|
+
* 日志来源 CLS | ES
|
|
1800
|
+
*/
|
|
1801
|
+
LogSource?: string;
|
|
1802
|
+
/**
|
|
1803
|
+
* 需过滤的接口
|
|
1804
|
+
*/
|
|
1805
|
+
IgnoreOperationName?: string;
|
|
1806
|
+
/**
|
|
1807
|
+
* 是否开启线程剖析
|
|
1808
|
+
*/
|
|
1809
|
+
EnableSnapshot?: boolean;
|
|
1810
|
+
/**
|
|
1811
|
+
* 线程剖析超时阈值
|
|
1812
|
+
*/
|
|
1813
|
+
SnapshotTimeout?: number;
|
|
1814
|
+
/**
|
|
1815
|
+
* 是否开启agent
|
|
1816
|
+
*/
|
|
1817
|
+
AgentEnable?: boolean;
|
|
1818
|
+
/**
|
|
1819
|
+
* 是否开启链路压缩
|
|
1820
|
+
*/
|
|
1821
|
+
TraceSquash?: boolean;
|
|
1822
|
+
/**
|
|
1823
|
+
* 是否开启应用诊断的开关
|
|
1824
|
+
*/
|
|
1825
|
+
EventEnable?: boolean;
|
|
1826
|
+
/**
|
|
1827
|
+
* 组件列表
|
|
1828
|
+
*/
|
|
1829
|
+
InstrumentList?: Array<Instrument>;
|
|
1830
|
+
/**
|
|
1831
|
+
* 探针接口相关配置
|
|
1832
|
+
*/
|
|
1833
|
+
AgentOperationConfigView?: AgentOperationConfigView;
|
|
1834
|
+
/**
|
|
1835
|
+
* 是否开启应用日志配置
|
|
1836
|
+
*/
|
|
1837
|
+
EnableLogConfig?: boolean;
|
|
1838
|
+
/**
|
|
1839
|
+
* 应用是否开启dashboard配置: false 关(与业务系统保持一致)/true 开(应用级配置)
|
|
1840
|
+
*/
|
|
1841
|
+
EnableDashboardConfig?: boolean;
|
|
1842
|
+
/**
|
|
1843
|
+
* 是否关联dashboard: 0 关 1 开
|
|
1844
|
+
*/
|
|
1845
|
+
IsRelatedDashboard?: number;
|
|
1846
|
+
/**
|
|
1847
|
+
* dashboard ID
|
|
1848
|
+
*/
|
|
1849
|
+
DashboardTopicID?: string;
|
|
1098
1850
|
/**
|
|
1099
|
-
*
|
|
1851
|
+
* CLS索引类型(0=全文索引,1=键值索引)
|
|
1100
1852
|
*/
|
|
1101
|
-
|
|
1853
|
+
LogIndexType?: number;
|
|
1102
1854
|
/**
|
|
1103
|
-
*
|
|
1855
|
+
* traceId的索引key: 当CLS索引类型为键值索引时生效
|
|
1104
1856
|
*/
|
|
1105
|
-
|
|
1106
|
-
}
|
|
1107
|
-
/**
|
|
1108
|
-
* 排序字段
|
|
1109
|
-
*/
|
|
1110
|
-
export interface OrderBy {
|
|
1857
|
+
LogTraceIdKey?: string;
|
|
1111
1858
|
/**
|
|
1112
|
-
*
|
|
1859
|
+
* 是否开启应用安全配置
|
|
1113
1860
|
*/
|
|
1114
|
-
|
|
1861
|
+
EnableSecurityConfig?: boolean;
|
|
1115
1862
|
/**
|
|
1116
|
-
*
|
|
1863
|
+
* 是否开启SQL注入分析
|
|
1117
1864
|
*/
|
|
1118
|
-
|
|
1119
|
-
}
|
|
1120
|
-
/**
|
|
1121
|
-
* DescribeApmServiceMetric返回参数结构体
|
|
1122
|
-
*/
|
|
1123
|
-
export interface DescribeApmServiceMetricResponse {
|
|
1865
|
+
IsSqlInjectionAnalysis?: number;
|
|
1124
1866
|
/**
|
|
1125
|
-
*
|
|
1867
|
+
* 是否开启组件漏洞检测
|
|
1126
1868
|
*/
|
|
1127
|
-
|
|
1869
|
+
IsInstrumentationVulnerabilityScan?: number;
|
|
1128
1870
|
/**
|
|
1129
|
-
*
|
|
1871
|
+
* 是否开启远程命令检测
|
|
1130
1872
|
*/
|
|
1131
|
-
|
|
1873
|
+
IsRemoteCommandExecutionAnalysis?: number;
|
|
1132
1874
|
/**
|
|
1133
|
-
*
|
|
1875
|
+
* 是否开启内存马检测
|
|
1134
1876
|
*/
|
|
1135
|
-
|
|
1877
|
+
IsMemoryHijackingAnalysis?: number;
|
|
1136
1878
|
/**
|
|
1137
|
-
*
|
|
1879
|
+
* 是否开启删除任意文件检测(0-关闭,1-开启)
|
|
1138
1880
|
*/
|
|
1139
|
-
|
|
1881
|
+
IsDeleteAnyFileAnalysis?: number;
|
|
1140
1882
|
/**
|
|
1141
|
-
*
|
|
1883
|
+
* 是否开启读取任意文件检测(0-关闭,1-开启)
|
|
1142
1884
|
*/
|
|
1143
|
-
|
|
1885
|
+
IsReadAnyFileAnalysis?: number;
|
|
1144
1886
|
/**
|
|
1145
|
-
*
|
|
1887
|
+
* 是否开启上传任意文件检测(0-关闭,1-开启)
|
|
1146
1888
|
*/
|
|
1147
|
-
|
|
1889
|
+
IsUploadAnyFileAnalysis?: number;
|
|
1148
1890
|
/**
|
|
1149
|
-
*
|
|
1891
|
+
* 是否开启包含任意文件检测(0-关闭,1-开启)
|
|
1150
1892
|
*/
|
|
1151
|
-
|
|
1893
|
+
IsIncludeAnyFileAnalysis?: number;
|
|
1152
1894
|
/**
|
|
1153
|
-
*
|
|
1895
|
+
* 是否开启目录遍历检测(0-关闭,1-开启)
|
|
1154
1896
|
*/
|
|
1155
|
-
|
|
1897
|
+
IsDirectoryTraversalAnalysis?: number;
|
|
1156
1898
|
/**
|
|
1157
|
-
*
|
|
1899
|
+
* 是否开启模板引擎注入检测(0-关闭,1-开启)
|
|
1158
1900
|
*/
|
|
1159
|
-
|
|
1160
|
-
}
|
|
1161
|
-
/**
|
|
1162
|
-
* DescribeMetricRecords返回参数结构体
|
|
1163
|
-
*/
|
|
1164
|
-
export interface DescribeMetricRecordsResponse {
|
|
1901
|
+
IsTemplateEngineInjectionAnalysis?: number;
|
|
1165
1902
|
/**
|
|
1166
|
-
*
|
|
1903
|
+
* 是否开启脚本引擎注入检测(0-关闭,1-开启)
|
|
1167
1904
|
*/
|
|
1168
|
-
|
|
1905
|
+
IsScriptEngineInjectionAnalysis?: number;
|
|
1169
1906
|
/**
|
|
1170
|
-
*
|
|
1907
|
+
* 是否开启表达式注入检测(0-关闭,1-开启)
|
|
1171
1908
|
*/
|
|
1172
|
-
|
|
1909
|
+
IsExpressionInjectionAnalysis?: number;
|
|
1173
1910
|
/**
|
|
1174
|
-
*
|
|
1911
|
+
* 是否开启JNDI注入检测(0-关闭,1-开启)
|
|
1175
1912
|
*/
|
|
1176
|
-
|
|
1177
|
-
}
|
|
1178
|
-
/**
|
|
1179
|
-
* DescribeGeneralOTSpanList返回参数结构体
|
|
1180
|
-
*/
|
|
1181
|
-
export interface DescribeGeneralOTSpanListResponse {
|
|
1913
|
+
IsJNDIInjectionAnalysis?: number;
|
|
1182
1914
|
/**
|
|
1183
|
-
*
|
|
1915
|
+
* 是否开启JNI注入检测(0-关闭,1-开启)
|
|
1184
1916
|
*/
|
|
1185
|
-
|
|
1917
|
+
IsJNIInjectionAnalysis?: number;
|
|
1186
1918
|
/**
|
|
1187
|
-
*
|
|
1188
|
-
1. 将Spans字段中的文本进行 Base64 解码,得到经过压缩后字节数组。
|
|
1189
|
-
2. 使用 gzip 对压缩后的字节数组进行解压,得到压缩前的字节数组。
|
|
1190
|
-
3. 使用 UTF-8 字符集,将压缩前的字节数组转换为文本。
|
|
1191
|
-
|
|
1919
|
+
* 是否开启Webshell后门检测(0-关闭,1-开启)
|
|
1192
1920
|
*/
|
|
1193
|
-
|
|
1921
|
+
IsWebshellBackdoorAnalysis?: number;
|
|
1194
1922
|
/**
|
|
1195
|
-
*
|
|
1923
|
+
* 是否开启反序列化检测(0-关闭,1-开启)
|
|
1196
1924
|
*/
|
|
1197
|
-
|
|
1198
|
-
}
|
|
1199
|
-
/**
|
|
1200
|
-
* 维度(标签)对象
|
|
1201
|
-
*/
|
|
1202
|
-
export interface ApmTag {
|
|
1925
|
+
IsDeserializationAnalysis?: number;
|
|
1203
1926
|
/**
|
|
1204
|
-
*
|
|
1927
|
+
* 接口自动收敛开关,0 关 | 1 开
|
|
1205
1928
|
*/
|
|
1206
|
-
|
|
1929
|
+
UrlAutoConvergenceEnable?: boolean;
|
|
1207
1930
|
/**
|
|
1208
|
-
*
|
|
1931
|
+
* URL长分段收敛阈值
|
|
1209
1932
|
*/
|
|
1210
|
-
|
|
1211
|
-
}
|
|
1212
|
-
/**
|
|
1213
|
-
* 查询过滤参数
|
|
1214
|
-
*/
|
|
1215
|
-
export interface Filter {
|
|
1933
|
+
UrlLongSegmentThreshold?: number;
|
|
1216
1934
|
/**
|
|
1217
|
-
*
|
|
1935
|
+
* URL数字分段收敛阈值
|
|
1218
1936
|
*/
|
|
1219
|
-
|
|
1937
|
+
UrlNumberSegmentThreshold?: number;
|
|
1220
1938
|
/**
|
|
1221
|
-
*
|
|
1939
|
+
* 探针熔断内存阈值
|
|
1222
1940
|
*/
|
|
1223
|
-
|
|
1941
|
+
DisableMemoryUsed?: number;
|
|
1224
1942
|
/**
|
|
1225
|
-
*
|
|
1943
|
+
* 探针熔断CPU阈值
|
|
1226
1944
|
*/
|
|
1227
|
-
|
|
1945
|
+
DisableCpuUsed?: number;
|
|
1228
1946
|
}
|
|
1229
1947
|
/**
|
|
1230
1948
|
* APM 浮点数类型键值对
|
|
@@ -1449,6 +2167,15 @@ export interface DescribeGeneralMetricDataRequest {
|
|
|
1449
2167
|
*/
|
|
1450
2168
|
PageSize?: number;
|
|
1451
2169
|
}
|
|
2170
|
+
/**
|
|
2171
|
+
* DescribeApmPrometheusRule请求参数结构体
|
|
2172
|
+
*/
|
|
2173
|
+
export interface DescribeApmPrometheusRuleRequest {
|
|
2174
|
+
/**
|
|
2175
|
+
* 业务系统ID
|
|
2176
|
+
*/
|
|
2177
|
+
InstanceId: string;
|
|
2178
|
+
}
|
|
1452
2179
|
/**
|
|
1453
2180
|
* CreateApmInstance返回参数结构体
|
|
1454
2181
|
*/
|
|
@@ -1529,6 +2256,115 @@ export interface SpanProcess {
|
|
|
1529
2256
|
*/
|
|
1530
2257
|
Tags: Array<SpanTag>;
|
|
1531
2258
|
}
|
|
2259
|
+
/**
|
|
2260
|
+
* DeleteApmSampleConfig返回参数结构体
|
|
2261
|
+
*/
|
|
2262
|
+
export interface DeleteApmSampleConfigResponse {
|
|
2263
|
+
/**
|
|
2264
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2265
|
+
*/
|
|
2266
|
+
RequestId?: string;
|
|
2267
|
+
}
|
|
2268
|
+
/**
|
|
2269
|
+
* ModifyApmAssociation请求参数结构体
|
|
2270
|
+
*/
|
|
2271
|
+
export interface ModifyApmAssociationRequest {
|
|
2272
|
+
/**
|
|
2273
|
+
* 关联的产品名,当前只支持Prometheus
|
|
2274
|
+
*/
|
|
2275
|
+
ProductName: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* 关联关系的状态:// 关联关系状态:1(启用)、2(不启用)、4(已删除)
|
|
2278
|
+
*/
|
|
2279
|
+
Status: number;
|
|
2280
|
+
/**
|
|
2281
|
+
* 业务系统ID
|
|
2282
|
+
*/
|
|
2283
|
+
InstanceId: string;
|
|
2284
|
+
/**
|
|
2285
|
+
* 关联的产品实例ID
|
|
2286
|
+
*/
|
|
2287
|
+
PeerId?: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* CKafka消息主题
|
|
2290
|
+
*/
|
|
2291
|
+
Topic?: string;
|
|
2292
|
+
}
|
|
2293
|
+
/**
|
|
2294
|
+
* 展示apm业务系统关联prometheus关系返回体
|
|
2295
|
+
*/
|
|
2296
|
+
export interface ApmPrometheusRules {
|
|
2297
|
+
/**
|
|
2298
|
+
* 指标匹配规则ID
|
|
2299
|
+
*/
|
|
2300
|
+
Id?: number;
|
|
2301
|
+
/**
|
|
2302
|
+
* 指标匹配规则名
|
|
2303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2304
|
+
*/
|
|
2305
|
+
Name?: string;
|
|
2306
|
+
/**
|
|
2307
|
+
* 规则生效的应用。生效于全部应用就传空字符串
|
|
2308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2309
|
+
*/
|
|
2310
|
+
ServiceName?: string;
|
|
2311
|
+
/**
|
|
2312
|
+
* 指标匹配规则状态:1(启用)、2(不启用)
|
|
2313
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2314
|
+
*/
|
|
2315
|
+
Status?: number;
|
|
2316
|
+
/**
|
|
2317
|
+
* 指标匹配规则
|
|
2318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2319
|
+
*/
|
|
2320
|
+
MetricNameRule?: string;
|
|
2321
|
+
/**
|
|
2322
|
+
* 匹配类型:0精准匹配,1前缀匹配,2后缀匹配
|
|
2323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2324
|
+
*/
|
|
2325
|
+
MetricMatchType?: number;
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2328
|
+
* ModifyApmSampleConfig请求参数结构体
|
|
2329
|
+
*/
|
|
2330
|
+
export interface ModifyApmSampleConfigRequest {
|
|
2331
|
+
/**
|
|
2332
|
+
* 业务系统ID
|
|
2333
|
+
*/
|
|
2334
|
+
InstanceId: string;
|
|
2335
|
+
/**
|
|
2336
|
+
* 采样规则名
|
|
2337
|
+
*/
|
|
2338
|
+
SampleName: string;
|
|
2339
|
+
/**
|
|
2340
|
+
* 采样率
|
|
2341
|
+
*/
|
|
2342
|
+
SampleRate: number;
|
|
2343
|
+
/**
|
|
2344
|
+
* 应用名,生效于所有应用则填空
|
|
2345
|
+
*/
|
|
2346
|
+
ServiceName?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* 接口名
|
|
2349
|
+
*/
|
|
2350
|
+
OperationName?: string;
|
|
2351
|
+
/**
|
|
2352
|
+
* 采样tag
|
|
2353
|
+
*/
|
|
2354
|
+
Tags?: Array<APMKVItem>;
|
|
2355
|
+
/**
|
|
2356
|
+
* 采样开关 0关 1开 2删除
|
|
2357
|
+
*/
|
|
2358
|
+
Status?: number;
|
|
2359
|
+
/**
|
|
2360
|
+
* 配置Id
|
|
2361
|
+
*/
|
|
2362
|
+
Id?: number;
|
|
2363
|
+
/**
|
|
2364
|
+
* 0=精确匹配(默认);1=前缀匹配;2=后缀匹配
|
|
2365
|
+
*/
|
|
2366
|
+
OperationType?: number;
|
|
2367
|
+
}
|
|
1532
2368
|
/**
|
|
1533
2369
|
* DescribeGeneralApmApplicationConfig请求参数结构体
|
|
1534
2370
|
*/
|
|
@@ -1543,13 +2379,52 @@ export interface DescribeGeneralApmApplicationConfigRequest {
|
|
|
1543
2379
|
InstanceId: string;
|
|
1544
2380
|
}
|
|
1545
2381
|
/**
|
|
1546
|
-
*
|
|
2382
|
+
* 采样配置信息
|
|
1547
2383
|
*/
|
|
1548
|
-
export interface
|
|
2384
|
+
export interface ApmSampleConfig {
|
|
1549
2385
|
/**
|
|
1550
|
-
*
|
|
2386
|
+
* 实例ID
|
|
1551
2387
|
*/
|
|
1552
|
-
|
|
2388
|
+
InstanceKey?: string;
|
|
2389
|
+
/**
|
|
2390
|
+
* 服务名
|
|
2391
|
+
*/
|
|
2392
|
+
ServiceName?: string;
|
|
2393
|
+
/**
|
|
2394
|
+
* 采样名字
|
|
2395
|
+
*/
|
|
2396
|
+
SampleName?: string;
|
|
2397
|
+
/**
|
|
2398
|
+
* 接口名
|
|
2399
|
+
*/
|
|
2400
|
+
OperationName?: string;
|
|
2401
|
+
/**
|
|
2402
|
+
* 采样的span数
|
|
2403
|
+
*/
|
|
2404
|
+
SpanNum?: number;
|
|
2405
|
+
/**
|
|
2406
|
+
* 采样配置开关 0 关 1 开
|
|
2407
|
+
*/
|
|
2408
|
+
Status?: number;
|
|
2409
|
+
/**
|
|
2410
|
+
* tags数组
|
|
2411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2412
|
+
*/
|
|
2413
|
+
Tags?: Array<APMKVItem>;
|
|
2414
|
+
/**
|
|
2415
|
+
* 采样率
|
|
2416
|
+
*/
|
|
2417
|
+
SampleRate?: number;
|
|
2418
|
+
/**
|
|
2419
|
+
* 0=精确匹配(默认);1=前缀匹配;2=后缀匹配
|
|
2420
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2421
|
+
*/
|
|
2422
|
+
OperationType?: number;
|
|
2423
|
+
/**
|
|
2424
|
+
* 配置Id
|
|
2425
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2426
|
+
*/
|
|
2427
|
+
Id?: number;
|
|
1553
2428
|
}
|
|
1554
2429
|
/**
|
|
1555
2430
|
* 查询过滤参数
|
|
@@ -1626,13 +2501,35 @@ export interface DescribeGeneralMetricDataResponse {
|
|
|
1626
2501
|
RequestId?: string;
|
|
1627
2502
|
}
|
|
1628
2503
|
/**
|
|
1629
|
-
*
|
|
2504
|
+
* DeleteApmSampleConfig请求参数结构体
|
|
1630
2505
|
*/
|
|
1631
|
-
export interface
|
|
2506
|
+
export interface DeleteApmSampleConfigRequest {
|
|
1632
2507
|
/**
|
|
1633
|
-
*
|
|
2508
|
+
* 业务系统ID
|
|
1634
2509
|
*/
|
|
1635
|
-
|
|
2510
|
+
InstanceId: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* 采样规则名
|
|
2513
|
+
*/
|
|
2514
|
+
SampleName: string;
|
|
2515
|
+
}
|
|
2516
|
+
/**
|
|
2517
|
+
* APM 通用 KV 结构
|
|
2518
|
+
*/
|
|
2519
|
+
export interface APMKVItem {
|
|
2520
|
+
/**
|
|
2521
|
+
* Key 值定义
|
|
2522
|
+
*/
|
|
2523
|
+
Key: string;
|
|
2524
|
+
/**
|
|
2525
|
+
* Value 值定义
|
|
2526
|
+
*/
|
|
2527
|
+
Value: string;
|
|
2528
|
+
}
|
|
2529
|
+
/**
|
|
2530
|
+
* CreateApmPrometheusRule返回参数结构体
|
|
2531
|
+
*/
|
|
2532
|
+
export interface CreateApmPrometheusRuleResponse {
|
|
1636
2533
|
/**
|
|
1637
2534
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1638
2535
|
*/
|