tencentcloud-sdk-python-apm 3.0.1290__py2.py3-none-any.whl → 3.0.1306__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python-apm might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/apm_client.py +7 -7
- tencentcloud/apm/v20210622/errorcodes.py +16 -13
- tencentcloud/apm/v20210622/models.py +674 -778
- {tencentcloud_sdk_python_apm-3.0.1290.dist-info → tencentcloud_sdk_python_apm-3.0.1306.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_apm-3.0.1306.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_apm-3.0.1290.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_apm-3.0.1290.dist-info → tencentcloud_sdk_python_apm-3.0.1306.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_apm-3.0.1290.dist-info → tencentcloud_sdk_python_apm-3.0.1306.dist-info}/top_level.txt +0 -0
|
@@ -19,17 +19,15 @@ from tencentcloud.common.abstract_model import AbstractModel
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class APMKV(AbstractModel):
|
|
22
|
-
"""APM浮点数类型键值对
|
|
22
|
+
"""APM 浮点数类型键值对
|
|
23
23
|
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param _Key: Key值定义
|
|
29
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
28
|
+
:param _Key: Key 值定义
|
|
30
29
|
:type Key: str
|
|
31
|
-
:param _Value: Value值定义
|
|
32
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
30
|
+
:param _Value: Value 值定义
|
|
33
31
|
:type Value: float
|
|
34
32
|
"""
|
|
35
33
|
self._Key = None
|
|
@@ -37,8 +35,7 @@ class APMKV(AbstractModel):
|
|
|
37
35
|
|
|
38
36
|
@property
|
|
39
37
|
def Key(self):
|
|
40
|
-
"""Key值定义
|
|
41
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
38
|
+
"""Key 值定义
|
|
42
39
|
:rtype: str
|
|
43
40
|
"""
|
|
44
41
|
return self._Key
|
|
@@ -49,8 +46,7 @@ class APMKV(AbstractModel):
|
|
|
49
46
|
|
|
50
47
|
@property
|
|
51
48
|
def Value(self):
|
|
52
|
-
"""Value值定义
|
|
53
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
49
|
+
"""Value 值定义
|
|
54
50
|
:rtype: float
|
|
55
51
|
"""
|
|
56
52
|
return self._Value
|
|
@@ -74,17 +70,15 @@ class APMKV(AbstractModel):
|
|
|
74
70
|
|
|
75
71
|
|
|
76
72
|
class APMKVItem(AbstractModel):
|
|
77
|
-
"""
|
|
73
|
+
"""APM 通用 KV 结构
|
|
78
74
|
|
|
79
75
|
"""
|
|
80
76
|
|
|
81
77
|
def __init__(self):
|
|
82
78
|
r"""
|
|
83
|
-
:param _Key: Key值定义
|
|
84
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
79
|
+
:param _Key: Key 值定义
|
|
85
80
|
:type Key: str
|
|
86
|
-
:param _Value: Value值定义
|
|
87
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
81
|
+
:param _Value: Value 值定义
|
|
88
82
|
:type Value: str
|
|
89
83
|
"""
|
|
90
84
|
self._Key = None
|
|
@@ -92,8 +86,7 @@ class APMKVItem(AbstractModel):
|
|
|
92
86
|
|
|
93
87
|
@property
|
|
94
88
|
def Key(self):
|
|
95
|
-
"""Key值定义
|
|
96
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
89
|
+
"""Key 值定义
|
|
97
90
|
:rtype: str
|
|
98
91
|
"""
|
|
99
92
|
return self._Key
|
|
@@ -104,8 +97,7 @@ class APMKVItem(AbstractModel):
|
|
|
104
97
|
|
|
105
98
|
@property
|
|
106
99
|
def Value(self):
|
|
107
|
-
"""Value值定义
|
|
108
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
100
|
+
"""Value 值定义
|
|
109
101
|
:rtype: str
|
|
110
102
|
"""
|
|
111
103
|
return self._Value
|
|
@@ -129,29 +121,23 @@ class APMKVItem(AbstractModel):
|
|
|
129
121
|
|
|
130
122
|
|
|
131
123
|
class ApmAgentInfo(AbstractModel):
|
|
132
|
-
"""
|
|
124
|
+
"""APM Agent 信息
|
|
133
125
|
|
|
134
126
|
"""
|
|
135
127
|
|
|
136
128
|
def __init__(self):
|
|
137
129
|
r"""
|
|
138
|
-
:param _AgentDownloadURL: Agent下载地址
|
|
139
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
130
|
+
:param _AgentDownloadURL: Agent 下载地址
|
|
140
131
|
:type AgentDownloadURL: str
|
|
141
|
-
:param _CollectorURL: Collector上报地址
|
|
142
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
132
|
+
:param _CollectorURL: Collector 上报地址
|
|
143
133
|
:type CollectorURL: str
|
|
144
|
-
:param _Token: Token信息
|
|
145
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
134
|
+
:param _Token: Token 信息
|
|
146
135
|
:type Token: str
|
|
147
136
|
:param _PublicCollectorURL: 外网上报地址
|
|
148
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
149
137
|
:type PublicCollectorURL: str
|
|
150
|
-
:param _InnerCollectorURL: 自研VPC上报地址
|
|
151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
138
|
+
:param _InnerCollectorURL: 自研 VPC 上报地址
|
|
152
139
|
:type InnerCollectorURL: str
|
|
153
|
-
:param _PrivateLinkCollectorURL: 内网上报地址(Private Link上报地址)
|
|
154
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
140
|
+
:param _PrivateLinkCollectorURL: 内网上报地址( Private Link 上报地址)
|
|
155
141
|
:type PrivateLinkCollectorURL: str
|
|
156
142
|
"""
|
|
157
143
|
self._AgentDownloadURL = None
|
|
@@ -163,8 +149,7 @@ class ApmAgentInfo(AbstractModel):
|
|
|
163
149
|
|
|
164
150
|
@property
|
|
165
151
|
def AgentDownloadURL(self):
|
|
166
|
-
"""Agent下载地址
|
|
167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
152
|
+
"""Agent 下载地址
|
|
168
153
|
:rtype: str
|
|
169
154
|
"""
|
|
170
155
|
return self._AgentDownloadURL
|
|
@@ -175,8 +160,7 @@ class ApmAgentInfo(AbstractModel):
|
|
|
175
160
|
|
|
176
161
|
@property
|
|
177
162
|
def CollectorURL(self):
|
|
178
|
-
"""Collector上报地址
|
|
179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
163
|
+
"""Collector 上报地址
|
|
180
164
|
:rtype: str
|
|
181
165
|
"""
|
|
182
166
|
return self._CollectorURL
|
|
@@ -187,8 +171,7 @@ class ApmAgentInfo(AbstractModel):
|
|
|
187
171
|
|
|
188
172
|
@property
|
|
189
173
|
def Token(self):
|
|
190
|
-
"""Token信息
|
|
191
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
174
|
+
"""Token 信息
|
|
192
175
|
:rtype: str
|
|
193
176
|
"""
|
|
194
177
|
return self._Token
|
|
@@ -200,7 +183,6 @@ class ApmAgentInfo(AbstractModel):
|
|
|
200
183
|
@property
|
|
201
184
|
def PublicCollectorURL(self):
|
|
202
185
|
"""外网上报地址
|
|
203
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
204
186
|
:rtype: str
|
|
205
187
|
"""
|
|
206
188
|
return self._PublicCollectorURL
|
|
@@ -211,8 +193,7 @@ class ApmAgentInfo(AbstractModel):
|
|
|
211
193
|
|
|
212
194
|
@property
|
|
213
195
|
def InnerCollectorURL(self):
|
|
214
|
-
"""自研VPC上报地址
|
|
215
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
196
|
+
"""自研 VPC 上报地址
|
|
216
197
|
:rtype: str
|
|
217
198
|
"""
|
|
218
199
|
return self._InnerCollectorURL
|
|
@@ -223,8 +204,7 @@ class ApmAgentInfo(AbstractModel):
|
|
|
223
204
|
|
|
224
205
|
@property
|
|
225
206
|
def PrivateLinkCollectorURL(self):
|
|
226
|
-
"""内网上报地址(Private Link上报地址)
|
|
227
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
207
|
+
"""内网上报地址( Private Link 上报地址)
|
|
228
208
|
:rtype: str
|
|
229
209
|
"""
|
|
230
210
|
return self._PrivateLinkCollectorURL
|
|
@@ -258,7 +238,7 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
258
238
|
|
|
259
239
|
def __init__(self):
|
|
260
240
|
r"""
|
|
261
|
-
:param _InstanceKey: 业务系统ID
|
|
241
|
+
:param _InstanceKey: 业务系统 ID
|
|
262
242
|
:type InstanceKey: str
|
|
263
243
|
:param _ServiceName: 应用名
|
|
264
244
|
:type ServiceName: str
|
|
@@ -266,23 +246,21 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
266
246
|
:type OperationNameFilter: str
|
|
267
247
|
:param _ExceptionFilter: 错误类型过滤
|
|
268
248
|
:type ExceptionFilter: str
|
|
269
|
-
:param _ErrorCodeFilter: HTTP状态码过滤
|
|
249
|
+
:param _ErrorCodeFilter: HTTP 状态码过滤
|
|
270
250
|
:type ErrorCodeFilter: str
|
|
271
251
|
:param _EventEnable: 应用诊断开关(已废弃)
|
|
272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
273
252
|
:type EventEnable: bool
|
|
274
|
-
:param _UrlConvergenceSwitch: URL收敛开关 0 关 1 开
|
|
253
|
+
:param _UrlConvergenceSwitch: URL 收敛开关 0 关 1 开
|
|
275
254
|
:type UrlConvergenceSwitch: int
|
|
276
|
-
:param _UrlConvergenceThreshold: URL收敛阈值
|
|
255
|
+
:param _UrlConvergenceThreshold: URL 收敛阈值
|
|
277
256
|
:type UrlConvergenceThreshold: int
|
|
278
|
-
:param _UrlConvergence: URL收敛规则正则
|
|
257
|
+
:param _UrlConvergence: URL 收敛规则正则
|
|
279
258
|
:type UrlConvergence: str
|
|
280
|
-
:param _UrlExclude: URL排除规则正则
|
|
259
|
+
:param _UrlExclude: URL 排除规则正则
|
|
281
260
|
:type UrlExclude: str
|
|
282
261
|
:param _IsRelatedLog: 是否开启日志 0 关 1 开
|
|
283
262
|
:type IsRelatedLog: int
|
|
284
263
|
:param _LogSource: 日志源
|
|
285
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
286
264
|
:type LogSource: str
|
|
287
265
|
:param _LogSet: 日志集
|
|
288
266
|
:type LogSet: str
|
|
@@ -295,7 +273,6 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
295
273
|
:param _AgentEnable: 探针总开关
|
|
296
274
|
:type AgentEnable: bool
|
|
297
275
|
:param _InstrumentList: 组件列表开关(已废弃)
|
|
298
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
299
276
|
:type InstrumentList: list of Instrument
|
|
300
277
|
:param _TraceSquash: 链路压缩开关(已废弃)
|
|
301
278
|
:type TraceSquash: bool
|
|
@@ -322,7 +299,7 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
322
299
|
|
|
323
300
|
@property
|
|
324
301
|
def InstanceKey(self):
|
|
325
|
-
"""业务系统ID
|
|
302
|
+
"""业务系统 ID
|
|
326
303
|
:rtype: str
|
|
327
304
|
"""
|
|
328
305
|
return self._InstanceKey
|
|
@@ -366,7 +343,7 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
366
343
|
|
|
367
344
|
@property
|
|
368
345
|
def ErrorCodeFilter(self):
|
|
369
|
-
"""HTTP状态码过滤
|
|
346
|
+
"""HTTP 状态码过滤
|
|
370
347
|
:rtype: str
|
|
371
348
|
"""
|
|
372
349
|
return self._ErrorCodeFilter
|
|
@@ -378,7 +355,6 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
378
355
|
@property
|
|
379
356
|
def EventEnable(self):
|
|
380
357
|
"""应用诊断开关(已废弃)
|
|
381
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
382
358
|
:rtype: bool
|
|
383
359
|
"""
|
|
384
360
|
return self._EventEnable
|
|
@@ -389,7 +365,7 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
389
365
|
|
|
390
366
|
@property
|
|
391
367
|
def UrlConvergenceSwitch(self):
|
|
392
|
-
"""URL收敛开关 0 关 1 开
|
|
368
|
+
"""URL 收敛开关 0 关 1 开
|
|
393
369
|
:rtype: int
|
|
394
370
|
"""
|
|
395
371
|
return self._UrlConvergenceSwitch
|
|
@@ -400,7 +376,7 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
400
376
|
|
|
401
377
|
@property
|
|
402
378
|
def UrlConvergenceThreshold(self):
|
|
403
|
-
"""URL收敛阈值
|
|
379
|
+
"""URL 收敛阈值
|
|
404
380
|
:rtype: int
|
|
405
381
|
"""
|
|
406
382
|
return self._UrlConvergenceThreshold
|
|
@@ -411,7 +387,7 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
411
387
|
|
|
412
388
|
@property
|
|
413
389
|
def UrlConvergence(self):
|
|
414
|
-
"""URL收敛规则正则
|
|
390
|
+
"""URL 收敛规则正则
|
|
415
391
|
:rtype: str
|
|
416
392
|
"""
|
|
417
393
|
return self._UrlConvergence
|
|
@@ -422,7 +398,7 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
422
398
|
|
|
423
399
|
@property
|
|
424
400
|
def UrlExclude(self):
|
|
425
|
-
"""URL排除规则正则
|
|
401
|
+
"""URL 排除规则正则
|
|
426
402
|
:rtype: str
|
|
427
403
|
"""
|
|
428
404
|
return self._UrlExclude
|
|
@@ -445,7 +421,6 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
445
421
|
@property
|
|
446
422
|
def LogSource(self):
|
|
447
423
|
"""日志源
|
|
448
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
449
424
|
:rtype: str
|
|
450
425
|
"""
|
|
451
426
|
return self._LogSource
|
|
@@ -512,7 +487,6 @@ class ApmApplicationConfigView(AbstractModel):
|
|
|
512
487
|
@property
|
|
513
488
|
def InstrumentList(self):
|
|
514
489
|
"""组件列表开关(已废弃)
|
|
515
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
516
490
|
:rtype: list of Instrument
|
|
517
491
|
"""
|
|
518
492
|
return self._InstrumentList
|
|
@@ -575,59 +549,42 @@ class ApmField(AbstractModel):
|
|
|
575
549
|
|
|
576
550
|
def __init__(self):
|
|
577
551
|
r"""
|
|
578
|
-
:param
|
|
579
|
-
|
|
580
|
-
:
|
|
581
|
-
:param _CompareVals: Compare值结果数组,推荐使用
|
|
582
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
583
|
-
:type CompareVals: list of APMKVItem
|
|
584
|
-
:param _Value: 指标值
|
|
585
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
552
|
+
:param _Key: 指标名
|
|
553
|
+
:type Key: str
|
|
554
|
+
:param _Value: 指标数值
|
|
586
555
|
:type Value: float
|
|
587
556
|
:param _Unit: 指标所对应的单位
|
|
588
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
589
557
|
:type Unit: str
|
|
590
|
-
:param
|
|
591
|
-
|
|
592
|
-
:
|
|
558
|
+
:param _CompareVals: 同比结果数组,推荐使用
|
|
559
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
560
|
+
:type CompareVals: list of APMKVItem
|
|
561
|
+
:param _LastPeriodValue: 同比上一个周期的具体指标数值
|
|
593
562
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
594
563
|
:type LastPeriodValue: list of APMKV
|
|
564
|
+
:param _CompareVal: 同比指标值,已弃用,不建议使用
|
|
565
|
+
:type CompareVal: str
|
|
595
566
|
"""
|
|
596
|
-
self.
|
|
597
|
-
self._CompareVals = None
|
|
567
|
+
self._Key = None
|
|
598
568
|
self._Value = None
|
|
599
569
|
self._Unit = None
|
|
600
|
-
self.
|
|
570
|
+
self._CompareVals = None
|
|
601
571
|
self._LastPeriodValue = None
|
|
572
|
+
self._CompareVal = None
|
|
602
573
|
|
|
603
574
|
@property
|
|
604
|
-
def
|
|
605
|
-
"""
|
|
606
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
575
|
+
def Key(self):
|
|
576
|
+
"""指标名
|
|
607
577
|
:rtype: str
|
|
608
578
|
"""
|
|
609
|
-
return self.
|
|
610
|
-
|
|
611
|
-
@CompareVal.setter
|
|
612
|
-
def CompareVal(self, CompareVal):
|
|
613
|
-
self._CompareVal = CompareVal
|
|
614
|
-
|
|
615
|
-
@property
|
|
616
|
-
def CompareVals(self):
|
|
617
|
-
"""Compare值结果数组,推荐使用
|
|
618
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
619
|
-
:rtype: list of APMKVItem
|
|
620
|
-
"""
|
|
621
|
-
return self._CompareVals
|
|
579
|
+
return self._Key
|
|
622
580
|
|
|
623
|
-
@
|
|
624
|
-
def
|
|
625
|
-
self.
|
|
581
|
+
@Key.setter
|
|
582
|
+
def Key(self, Key):
|
|
583
|
+
self._Key = Key
|
|
626
584
|
|
|
627
585
|
@property
|
|
628
586
|
def Value(self):
|
|
629
|
-
"""
|
|
630
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
587
|
+
"""指标数值
|
|
631
588
|
:rtype: float
|
|
632
589
|
"""
|
|
633
590
|
return self._Value
|
|
@@ -639,7 +596,6 @@ class ApmField(AbstractModel):
|
|
|
639
596
|
@property
|
|
640
597
|
def Unit(self):
|
|
641
598
|
"""指标所对应的单位
|
|
642
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
643
599
|
:rtype: str
|
|
644
600
|
"""
|
|
645
601
|
return self._Unit
|
|
@@ -649,19 +605,20 @@ class ApmField(AbstractModel):
|
|
|
649
605
|
self._Unit = Unit
|
|
650
606
|
|
|
651
607
|
@property
|
|
652
|
-
def
|
|
653
|
-
"""
|
|
654
|
-
|
|
608
|
+
def CompareVals(self):
|
|
609
|
+
"""同比结果数组,推荐使用
|
|
610
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
611
|
+
:rtype: list of APMKVItem
|
|
655
612
|
"""
|
|
656
|
-
return self.
|
|
613
|
+
return self._CompareVals
|
|
657
614
|
|
|
658
|
-
@
|
|
659
|
-
def
|
|
660
|
-
self.
|
|
615
|
+
@CompareVals.setter
|
|
616
|
+
def CompareVals(self, CompareVals):
|
|
617
|
+
self._CompareVals = CompareVals
|
|
661
618
|
|
|
662
619
|
@property
|
|
663
620
|
def LastPeriodValue(self):
|
|
664
|
-
"""
|
|
621
|
+
"""同比上一个周期的具体指标数值
|
|
665
622
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
666
623
|
:rtype: list of APMKV
|
|
667
624
|
"""
|
|
@@ -671,24 +628,35 @@ class ApmField(AbstractModel):
|
|
|
671
628
|
def LastPeriodValue(self, LastPeriodValue):
|
|
672
629
|
self._LastPeriodValue = LastPeriodValue
|
|
673
630
|
|
|
631
|
+
@property
|
|
632
|
+
def CompareVal(self):
|
|
633
|
+
"""同比指标值,已弃用,不建议使用
|
|
634
|
+
:rtype: str
|
|
635
|
+
"""
|
|
636
|
+
return self._CompareVal
|
|
637
|
+
|
|
638
|
+
@CompareVal.setter
|
|
639
|
+
def CompareVal(self, CompareVal):
|
|
640
|
+
self._CompareVal = CompareVal
|
|
641
|
+
|
|
674
642
|
|
|
675
643
|
def _deserialize(self, params):
|
|
676
|
-
self.
|
|
644
|
+
self._Key = params.get("Key")
|
|
645
|
+
self._Value = params.get("Value")
|
|
646
|
+
self._Unit = params.get("Unit")
|
|
677
647
|
if params.get("CompareVals") is not None:
|
|
678
648
|
self._CompareVals = []
|
|
679
649
|
for item in params.get("CompareVals"):
|
|
680
650
|
obj = APMKVItem()
|
|
681
651
|
obj._deserialize(item)
|
|
682
652
|
self._CompareVals.append(obj)
|
|
683
|
-
self._Value = params.get("Value")
|
|
684
|
-
self._Unit = params.get("Unit")
|
|
685
|
-
self._Key = params.get("Key")
|
|
686
653
|
if params.get("LastPeriodValue") is not None:
|
|
687
654
|
self._LastPeriodValue = []
|
|
688
655
|
for item in params.get("LastPeriodValue"):
|
|
689
656
|
obj = APMKV()
|
|
690
657
|
obj._deserialize(item)
|
|
691
658
|
self._LastPeriodValue.append(obj)
|
|
659
|
+
self._CompareVal = params.get("CompareVal")
|
|
692
660
|
memeber_set = set(params.keys())
|
|
693
661
|
for name, value in vars(self).items():
|
|
694
662
|
property_name = name[1:]
|
|
@@ -700,133 +668,97 @@ class ApmField(AbstractModel):
|
|
|
700
668
|
|
|
701
669
|
|
|
702
670
|
class ApmInstanceDetail(AbstractModel):
|
|
703
|
-
"""
|
|
671
|
+
"""APM 业务系统信息
|
|
704
672
|
|
|
705
673
|
"""
|
|
706
674
|
|
|
707
675
|
def __init__(self):
|
|
708
676
|
r"""
|
|
709
|
-
:param
|
|
710
|
-
|
|
711
|
-
:
|
|
712
|
-
:param _Name: 实例名
|
|
713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
677
|
+
:param _InstanceId: 业务系统 ID
|
|
678
|
+
:type InstanceId: str
|
|
679
|
+
:param _Name: 业务系统名
|
|
714
680
|
:type Name: str
|
|
715
|
-
:param
|
|
716
|
-
|
|
681
|
+
:param _Description: 业务系统描述信息
|
|
682
|
+
:type Description: str
|
|
683
|
+
:param _Status: 业务系统状态
|
|
684
|
+
:type Status: int
|
|
685
|
+
:param _Region: 业务系统所属地域
|
|
686
|
+
:type Region: str
|
|
687
|
+
:param _Tags: 业务系统 Tag 列表
|
|
717
688
|
:type Tags: list of ApmTag
|
|
718
|
-
:param
|
|
719
|
-
:type
|
|
720
|
-
:param _CreateUin: 创建人Uin
|
|
721
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
689
|
+
:param _AppId: AppID 信息
|
|
690
|
+
:type AppId: int
|
|
691
|
+
:param _CreateUin: 创建人 Uin
|
|
722
692
|
:type CreateUin: str
|
|
723
|
-
:param
|
|
724
|
-
|
|
693
|
+
:param _AmountOfUsedStorage: 存储使用量(单位:MB)
|
|
694
|
+
:type AmountOfUsedStorage: float
|
|
695
|
+
:param _ServiceCount: 该业务系统服务端应用数量
|
|
725
696
|
:type ServiceCount: int
|
|
726
|
-
:param _CountOfReportSpanPerDay: 日均上报Span数
|
|
727
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
697
|
+
:param _CountOfReportSpanPerDay: 日均上报 Span 数
|
|
728
698
|
:type CountOfReportSpanPerDay: int
|
|
729
|
-
:param
|
|
730
|
-
:type AppId: int
|
|
731
|
-
:param _TraceDuration: Trace数据保存时长
|
|
732
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
699
|
+
:param _TraceDuration: Trace 数据保存时长(单位:天)
|
|
733
700
|
:type TraceDuration: int
|
|
734
|
-
:param
|
|
735
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
736
|
-
:type Description: str
|
|
737
|
-
:param _Status: 实例状态
|
|
738
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
739
|
-
:type Status: int
|
|
740
|
-
:param _Region: 实例所属地域
|
|
741
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
742
|
-
:type Region: str
|
|
743
|
-
:param _SpanDailyCounters: 实例上报额度
|
|
744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
701
|
+
:param _SpanDailyCounters: 业务系统上报额度
|
|
745
702
|
:type SpanDailyCounters: int
|
|
746
|
-
:param _BillingInstance:
|
|
747
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
703
|
+
:param _BillingInstance: 业务系统是否已开通计费(0=未开通,1=已开通)
|
|
748
704
|
:type BillingInstance: int
|
|
749
|
-
:param _ErrRateThreshold:
|
|
750
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
705
|
+
:param _ErrRateThreshold: 错误警示线(单位:%)
|
|
751
706
|
:type ErrRateThreshold: int
|
|
752
|
-
:param _SampleRate:
|
|
753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
707
|
+
:param _SampleRate: 采样率(单位:%)
|
|
754
708
|
:type SampleRate: int
|
|
755
|
-
:param _ErrorSample:
|
|
756
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
709
|
+
:param _ErrorSample: 是否开启错误采样(0=关, 1=开)
|
|
757
710
|
:type ErrorSample: int
|
|
758
|
-
:param _SlowRequestSavedThreshold:
|
|
759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
711
|
+
:param _SlowRequestSavedThreshold: 采样慢调用保存阈值(单位:ms)
|
|
760
712
|
:type SlowRequestSavedThreshold: int
|
|
761
|
-
:param _LogRegion:
|
|
762
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
713
|
+
:param _LogRegion: CLS 日志所在地域
|
|
763
714
|
:type LogRegion: str
|
|
764
|
-
:param _LogSource:
|
|
765
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
715
|
+
:param _LogSource: 日志源
|
|
766
716
|
:type LogSource: str
|
|
767
|
-
:param _IsRelatedLog:
|
|
768
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
717
|
+
:param _IsRelatedLog: 日志功能开关(0=关, 1=开)
|
|
769
718
|
:type IsRelatedLog: int
|
|
770
|
-
:param _LogTopicID: 日志主题ID
|
|
771
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
719
|
+
:param _LogTopicID: 日志主题 ID
|
|
772
720
|
:type LogTopicID: str
|
|
773
|
-
:param _ClientCount:
|
|
774
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
721
|
+
:param _ClientCount: 该业务系统客户端应用数量
|
|
775
722
|
:type ClientCount: int
|
|
776
|
-
:param _TotalCount:
|
|
777
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
723
|
+
:param _TotalCount: 该业务系统最近2天活跃应用数量
|
|
778
724
|
:type TotalCount: int
|
|
779
|
-
:param _LogSet: CLS日志集
|
|
780
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
725
|
+
:param _LogSet: CLS 日志集
|
|
781
726
|
:type LogSet: str
|
|
782
|
-
:param _MetricDuration: Metric
|
|
783
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
727
|
+
:param _MetricDuration: Metric 数据保存时长(单位:天)
|
|
784
728
|
:type MetricDuration: int
|
|
785
729
|
:param _CustomShowTags: 用户自定义展示标签列表
|
|
786
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
787
730
|
:type CustomShowTags: list of str
|
|
788
|
-
:param _PayMode:
|
|
789
|
-
1为预付费
|
|
790
|
-
0为按量付费
|
|
791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
731
|
+
:param _PayMode: 业务系统计费模式(1为预付费,0为按量付费)
|
|
792
732
|
:type PayMode: int
|
|
793
|
-
:param _PayModeEffective:
|
|
794
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
733
|
+
:param _PayModeEffective: 业务系统计费模式是否生效
|
|
795
734
|
:type PayModeEffective: bool
|
|
796
|
-
:param _ResponseDurationWarningThreshold:
|
|
797
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
735
|
+
:param _ResponseDurationWarningThreshold: 响应时间警示线(单位:ms)
|
|
798
736
|
:type ResponseDurationWarningThreshold: int
|
|
799
737
|
:param _Free: 是否免费(0=否,1=限额免费,2=完全免费),默认0
|
|
800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
801
738
|
:type Free: int
|
|
802
|
-
:param _DefaultTSF: 是否
|
|
803
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
739
|
+
:param _DefaultTSF: 是否 TSF 默认业务系统(0=否,1=是)
|
|
804
740
|
:type DefaultTSF: int
|
|
805
|
-
:param _IsRelatedDashboard: 是否关联
|
|
806
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
741
|
+
:param _IsRelatedDashboard: 是否关联 Dashboard(0=关, 1=开)
|
|
807
742
|
:type IsRelatedDashboard: int
|
|
808
|
-
:param _DashboardTopicID:
|
|
809
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
743
|
+
:param _DashboardTopicID: 关联的 Dashboard ID
|
|
810
744
|
:type DashboardTopicID: str
|
|
811
|
-
:param _IsInstrumentationVulnerabilityScan:
|
|
812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
745
|
+
:param _IsInstrumentationVulnerabilityScan: 是否开启组件漏洞检测(0=关, 1=开)
|
|
813
746
|
:type IsInstrumentationVulnerabilityScan: int
|
|
814
|
-
:param _IsSqlInjectionAnalysis: 是否开启SQL
|
|
815
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
747
|
+
:param _IsSqlInjectionAnalysis: 是否开启 SQL 注入分析(0=关, 1=开)
|
|
816
748
|
:type IsSqlInjectionAnalysis: int
|
|
817
749
|
"""
|
|
818
|
-
self.
|
|
750
|
+
self._InstanceId = None
|
|
819
751
|
self._Name = None
|
|
752
|
+
self._Description = None
|
|
753
|
+
self._Status = None
|
|
754
|
+
self._Region = None
|
|
820
755
|
self._Tags = None
|
|
821
|
-
self.
|
|
756
|
+
self._AppId = None
|
|
822
757
|
self._CreateUin = None
|
|
758
|
+
self._AmountOfUsedStorage = None
|
|
823
759
|
self._ServiceCount = None
|
|
824
760
|
self._CountOfReportSpanPerDay = None
|
|
825
|
-
self._AppId = None
|
|
826
761
|
self._TraceDuration = None
|
|
827
|
-
self._Description = None
|
|
828
|
-
self._Status = None
|
|
829
|
-
self._Region = None
|
|
830
762
|
self._SpanDailyCounters = None
|
|
831
763
|
self._BillingInstance = None
|
|
832
764
|
self._ErrRateThreshold = None
|
|
@@ -853,21 +785,19 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
853
785
|
self._IsSqlInjectionAnalysis = None
|
|
854
786
|
|
|
855
787
|
@property
|
|
856
|
-
def
|
|
857
|
-
"""
|
|
858
|
-
|
|
859
|
-
:rtype: float
|
|
788
|
+
def InstanceId(self):
|
|
789
|
+
"""业务系统 ID
|
|
790
|
+
:rtype: str
|
|
860
791
|
"""
|
|
861
|
-
return self.
|
|
792
|
+
return self._InstanceId
|
|
862
793
|
|
|
863
|
-
@
|
|
864
|
-
def
|
|
865
|
-
self.
|
|
794
|
+
@InstanceId.setter
|
|
795
|
+
def InstanceId(self, InstanceId):
|
|
796
|
+
self._InstanceId = InstanceId
|
|
866
797
|
|
|
867
798
|
@property
|
|
868
799
|
def Name(self):
|
|
869
|
-
"""
|
|
870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
800
|
+
"""业务系统名
|
|
871
801
|
:rtype: str
|
|
872
802
|
"""
|
|
873
803
|
return self._Name
|
|
@@ -876,10 +806,42 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
876
806
|
def Name(self, Name):
|
|
877
807
|
self._Name = Name
|
|
878
808
|
|
|
809
|
+
@property
|
|
810
|
+
def Description(self):
|
|
811
|
+
"""业务系统描述信息
|
|
812
|
+
:rtype: str
|
|
813
|
+
"""
|
|
814
|
+
return self._Description
|
|
815
|
+
|
|
816
|
+
@Description.setter
|
|
817
|
+
def Description(self, Description):
|
|
818
|
+
self._Description = Description
|
|
819
|
+
|
|
820
|
+
@property
|
|
821
|
+
def Status(self):
|
|
822
|
+
"""业务系统状态
|
|
823
|
+
:rtype: int
|
|
824
|
+
"""
|
|
825
|
+
return self._Status
|
|
826
|
+
|
|
827
|
+
@Status.setter
|
|
828
|
+
def Status(self, Status):
|
|
829
|
+
self._Status = Status
|
|
830
|
+
|
|
831
|
+
@property
|
|
832
|
+
def Region(self):
|
|
833
|
+
"""业务系统所属地域
|
|
834
|
+
:rtype: str
|
|
835
|
+
"""
|
|
836
|
+
return self._Region
|
|
837
|
+
|
|
838
|
+
@Region.setter
|
|
839
|
+
def Region(self, Region):
|
|
840
|
+
self._Region = Region
|
|
841
|
+
|
|
879
842
|
@property
|
|
880
843
|
def Tags(self):
|
|
881
|
-
"""
|
|
882
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
844
|
+
"""业务系统 Tag 列表
|
|
883
845
|
:rtype: list of ApmTag
|
|
884
846
|
"""
|
|
885
847
|
return self._Tags
|
|
@@ -889,20 +851,19 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
889
851
|
self._Tags = Tags
|
|
890
852
|
|
|
891
853
|
@property
|
|
892
|
-
def
|
|
893
|
-
"""
|
|
894
|
-
:rtype:
|
|
854
|
+
def AppId(self):
|
|
855
|
+
"""AppID 信息
|
|
856
|
+
:rtype: int
|
|
895
857
|
"""
|
|
896
|
-
return self.
|
|
858
|
+
return self._AppId
|
|
897
859
|
|
|
898
|
-
@
|
|
899
|
-
def
|
|
900
|
-
self.
|
|
860
|
+
@AppId.setter
|
|
861
|
+
def AppId(self, AppId):
|
|
862
|
+
self._AppId = AppId
|
|
901
863
|
|
|
902
864
|
@property
|
|
903
865
|
def CreateUin(self):
|
|
904
|
-
"""创建人Uin
|
|
905
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
866
|
+
"""创建人 Uin
|
|
906
867
|
:rtype: str
|
|
907
868
|
"""
|
|
908
869
|
return self._CreateUin
|
|
@@ -911,10 +872,20 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
911
872
|
def CreateUin(self, CreateUin):
|
|
912
873
|
self._CreateUin = CreateUin
|
|
913
874
|
|
|
875
|
+
@property
|
|
876
|
+
def AmountOfUsedStorage(self):
|
|
877
|
+
"""存储使用量(单位:MB)
|
|
878
|
+
:rtype: float
|
|
879
|
+
"""
|
|
880
|
+
return self._AmountOfUsedStorage
|
|
881
|
+
|
|
882
|
+
@AmountOfUsedStorage.setter
|
|
883
|
+
def AmountOfUsedStorage(self, AmountOfUsedStorage):
|
|
884
|
+
self._AmountOfUsedStorage = AmountOfUsedStorage
|
|
885
|
+
|
|
914
886
|
@property
|
|
915
887
|
def ServiceCount(self):
|
|
916
|
-
"""
|
|
917
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
888
|
+
"""该业务系统服务端应用数量
|
|
918
889
|
:rtype: int
|
|
919
890
|
"""
|
|
920
891
|
return self._ServiceCount
|
|
@@ -925,8 +896,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
925
896
|
|
|
926
897
|
@property
|
|
927
898
|
def CountOfReportSpanPerDay(self):
|
|
928
|
-
"""日均上报Span数
|
|
929
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
899
|
+
"""日均上报 Span 数
|
|
930
900
|
:rtype: int
|
|
931
901
|
"""
|
|
932
902
|
return self._CountOfReportSpanPerDay
|
|
@@ -935,21 +905,9 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
935
905
|
def CountOfReportSpanPerDay(self, CountOfReportSpanPerDay):
|
|
936
906
|
self._CountOfReportSpanPerDay = CountOfReportSpanPerDay
|
|
937
907
|
|
|
938
|
-
@property
|
|
939
|
-
def AppId(self):
|
|
940
|
-
"""AppId信息
|
|
941
|
-
:rtype: int
|
|
942
|
-
"""
|
|
943
|
-
return self._AppId
|
|
944
|
-
|
|
945
|
-
@AppId.setter
|
|
946
|
-
def AppId(self, AppId):
|
|
947
|
-
self._AppId = AppId
|
|
948
|
-
|
|
949
908
|
@property
|
|
950
909
|
def TraceDuration(self):
|
|
951
|
-
"""Trace
|
|
952
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
910
|
+
"""Trace 数据保存时长(单位:天)
|
|
953
911
|
:rtype: int
|
|
954
912
|
"""
|
|
955
913
|
return self._TraceDuration
|
|
@@ -959,60 +917,22 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
959
917
|
self._TraceDuration = TraceDuration
|
|
960
918
|
|
|
961
919
|
@property
|
|
962
|
-
def
|
|
963
|
-
"""
|
|
964
|
-
|
|
965
|
-
:rtype: str
|
|
920
|
+
def SpanDailyCounters(self):
|
|
921
|
+
"""业务系统上报额度
|
|
922
|
+
:rtype: int
|
|
966
923
|
"""
|
|
967
|
-
return self.
|
|
924
|
+
return self._SpanDailyCounters
|
|
968
925
|
|
|
969
|
-
@
|
|
970
|
-
def
|
|
971
|
-
self.
|
|
926
|
+
@SpanDailyCounters.setter
|
|
927
|
+
def SpanDailyCounters(self, SpanDailyCounters):
|
|
928
|
+
self._SpanDailyCounters = SpanDailyCounters
|
|
972
929
|
|
|
973
930
|
@property
|
|
974
|
-
def
|
|
975
|
-
"""
|
|
976
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
931
|
+
def BillingInstance(self):
|
|
932
|
+
"""业务系统是否已开通计费(0=未开通,1=已开通)
|
|
977
933
|
:rtype: int
|
|
978
934
|
"""
|
|
979
|
-
return self.
|
|
980
|
-
|
|
981
|
-
@Status.setter
|
|
982
|
-
def Status(self, Status):
|
|
983
|
-
self._Status = Status
|
|
984
|
-
|
|
985
|
-
@property
|
|
986
|
-
def Region(self):
|
|
987
|
-
"""实例所属地域
|
|
988
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
989
|
-
:rtype: str
|
|
990
|
-
"""
|
|
991
|
-
return self._Region
|
|
992
|
-
|
|
993
|
-
@Region.setter
|
|
994
|
-
def Region(self, Region):
|
|
995
|
-
self._Region = Region
|
|
996
|
-
|
|
997
|
-
@property
|
|
998
|
-
def SpanDailyCounters(self):
|
|
999
|
-
"""实例上报额度
|
|
1000
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1001
|
-
:rtype: int
|
|
1002
|
-
"""
|
|
1003
|
-
return self._SpanDailyCounters
|
|
1004
|
-
|
|
1005
|
-
@SpanDailyCounters.setter
|
|
1006
|
-
def SpanDailyCounters(self, SpanDailyCounters):
|
|
1007
|
-
self._SpanDailyCounters = SpanDailyCounters
|
|
1008
|
-
|
|
1009
|
-
@property
|
|
1010
|
-
def BillingInstance(self):
|
|
1011
|
-
"""实例是否开通计费
|
|
1012
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1013
|
-
:rtype: int
|
|
1014
|
-
"""
|
|
1015
|
-
return self._BillingInstance
|
|
935
|
+
return self._BillingInstance
|
|
1016
936
|
|
|
1017
937
|
@BillingInstance.setter
|
|
1018
938
|
def BillingInstance(self, BillingInstance):
|
|
@@ -1020,8 +940,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1020
940
|
|
|
1021
941
|
@property
|
|
1022
942
|
def ErrRateThreshold(self):
|
|
1023
|
-
"""
|
|
1024
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
943
|
+
"""错误警示线(单位:%)
|
|
1025
944
|
:rtype: int
|
|
1026
945
|
"""
|
|
1027
946
|
return self._ErrRateThreshold
|
|
@@ -1032,8 +951,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1032
951
|
|
|
1033
952
|
@property
|
|
1034
953
|
def SampleRate(self):
|
|
1035
|
-
"""
|
|
1036
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
954
|
+
"""采样率(单位:%)
|
|
1037
955
|
:rtype: int
|
|
1038
956
|
"""
|
|
1039
957
|
return self._SampleRate
|
|
@@ -1044,8 +962,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1044
962
|
|
|
1045
963
|
@property
|
|
1046
964
|
def ErrorSample(self):
|
|
1047
|
-
"""
|
|
1048
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
965
|
+
"""是否开启错误采样(0=关, 1=开)
|
|
1049
966
|
:rtype: int
|
|
1050
967
|
"""
|
|
1051
968
|
return self._ErrorSample
|
|
@@ -1056,8 +973,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1056
973
|
|
|
1057
974
|
@property
|
|
1058
975
|
def SlowRequestSavedThreshold(self):
|
|
1059
|
-
"""
|
|
1060
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
976
|
+
"""采样慢调用保存阈值(单位:ms)
|
|
1061
977
|
:rtype: int
|
|
1062
978
|
"""
|
|
1063
979
|
return self._SlowRequestSavedThreshold
|
|
@@ -1068,8 +984,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1068
984
|
|
|
1069
985
|
@property
|
|
1070
986
|
def LogRegion(self):
|
|
1071
|
-
"""
|
|
1072
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
987
|
+
"""CLS 日志所在地域
|
|
1073
988
|
:rtype: str
|
|
1074
989
|
"""
|
|
1075
990
|
return self._LogRegion
|
|
@@ -1080,8 +995,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1080
995
|
|
|
1081
996
|
@property
|
|
1082
997
|
def LogSource(self):
|
|
1083
|
-
"""
|
|
1084
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
998
|
+
"""日志源
|
|
1085
999
|
:rtype: str
|
|
1086
1000
|
"""
|
|
1087
1001
|
return self._LogSource
|
|
@@ -1092,8 +1006,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1092
1006
|
|
|
1093
1007
|
@property
|
|
1094
1008
|
def IsRelatedLog(self):
|
|
1095
|
-
"""
|
|
1096
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1009
|
+
"""日志功能开关(0=关, 1=开)
|
|
1097
1010
|
:rtype: int
|
|
1098
1011
|
"""
|
|
1099
1012
|
return self._IsRelatedLog
|
|
@@ -1104,8 +1017,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1104
1017
|
|
|
1105
1018
|
@property
|
|
1106
1019
|
def LogTopicID(self):
|
|
1107
|
-
"""日志主题ID
|
|
1108
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1020
|
+
"""日志主题 ID
|
|
1109
1021
|
:rtype: str
|
|
1110
1022
|
"""
|
|
1111
1023
|
return self._LogTopicID
|
|
@@ -1116,8 +1028,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1116
1028
|
|
|
1117
1029
|
@property
|
|
1118
1030
|
def ClientCount(self):
|
|
1119
|
-
"""
|
|
1120
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1031
|
+
"""该业务系统客户端应用数量
|
|
1121
1032
|
:rtype: int
|
|
1122
1033
|
"""
|
|
1123
1034
|
return self._ClientCount
|
|
@@ -1128,8 +1039,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1128
1039
|
|
|
1129
1040
|
@property
|
|
1130
1041
|
def TotalCount(self):
|
|
1131
|
-
"""
|
|
1132
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1042
|
+
"""该业务系统最近2天活跃应用数量
|
|
1133
1043
|
:rtype: int
|
|
1134
1044
|
"""
|
|
1135
1045
|
return self._TotalCount
|
|
@@ -1140,8 +1050,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1140
1050
|
|
|
1141
1051
|
@property
|
|
1142
1052
|
def LogSet(self):
|
|
1143
|
-
"""CLS日志集
|
|
1144
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1053
|
+
"""CLS 日志集
|
|
1145
1054
|
:rtype: str
|
|
1146
1055
|
"""
|
|
1147
1056
|
return self._LogSet
|
|
@@ -1152,8 +1061,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1152
1061
|
|
|
1153
1062
|
@property
|
|
1154
1063
|
def MetricDuration(self):
|
|
1155
|
-
"""Metric
|
|
1156
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1064
|
+
"""Metric 数据保存时长(单位:天)
|
|
1157
1065
|
:rtype: int
|
|
1158
1066
|
"""
|
|
1159
1067
|
return self._MetricDuration
|
|
@@ -1165,7 +1073,6 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1165
1073
|
@property
|
|
1166
1074
|
def CustomShowTags(self):
|
|
1167
1075
|
"""用户自定义展示标签列表
|
|
1168
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1169
1076
|
:rtype: list of str
|
|
1170
1077
|
"""
|
|
1171
1078
|
return self._CustomShowTags
|
|
@@ -1176,10 +1083,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1176
1083
|
|
|
1177
1084
|
@property
|
|
1178
1085
|
def PayMode(self):
|
|
1179
|
-
"""
|
|
1180
|
-
1为预付费
|
|
1181
|
-
0为按量付费
|
|
1182
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1086
|
+
"""业务系统计费模式(1为预付费,0为按量付费)
|
|
1183
1087
|
:rtype: int
|
|
1184
1088
|
"""
|
|
1185
1089
|
return self._PayMode
|
|
@@ -1190,8 +1094,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1190
1094
|
|
|
1191
1095
|
@property
|
|
1192
1096
|
def PayModeEffective(self):
|
|
1193
|
-
"""
|
|
1194
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1097
|
+
"""业务系统计费模式是否生效
|
|
1195
1098
|
:rtype: bool
|
|
1196
1099
|
"""
|
|
1197
1100
|
return self._PayModeEffective
|
|
@@ -1202,8 +1105,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1202
1105
|
|
|
1203
1106
|
@property
|
|
1204
1107
|
def ResponseDurationWarningThreshold(self):
|
|
1205
|
-
"""
|
|
1206
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1108
|
+
"""响应时间警示线(单位:ms)
|
|
1207
1109
|
:rtype: int
|
|
1208
1110
|
"""
|
|
1209
1111
|
return self._ResponseDurationWarningThreshold
|
|
@@ -1215,7 +1117,6 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1215
1117
|
@property
|
|
1216
1118
|
def Free(self):
|
|
1217
1119
|
"""是否免费(0=否,1=限额免费,2=完全免费),默认0
|
|
1218
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1219
1120
|
:rtype: int
|
|
1220
1121
|
"""
|
|
1221
1122
|
return self._Free
|
|
@@ -1226,8 +1127,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1226
1127
|
|
|
1227
1128
|
@property
|
|
1228
1129
|
def DefaultTSF(self):
|
|
1229
|
-
"""是否
|
|
1230
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1130
|
+
"""是否 TSF 默认业务系统(0=否,1=是)
|
|
1231
1131
|
:rtype: int
|
|
1232
1132
|
"""
|
|
1233
1133
|
return self._DefaultTSF
|
|
@@ -1238,8 +1138,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1238
1138
|
|
|
1239
1139
|
@property
|
|
1240
1140
|
def IsRelatedDashboard(self):
|
|
1241
|
-
"""是否关联
|
|
1242
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1141
|
+
"""是否关联 Dashboard(0=关, 1=开)
|
|
1243
1142
|
:rtype: int
|
|
1244
1143
|
"""
|
|
1245
1144
|
return self._IsRelatedDashboard
|
|
@@ -1250,8 +1149,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1250
1149
|
|
|
1251
1150
|
@property
|
|
1252
1151
|
def DashboardTopicID(self):
|
|
1253
|
-
"""
|
|
1254
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1152
|
+
"""关联的 Dashboard ID
|
|
1255
1153
|
:rtype: str
|
|
1256
1154
|
"""
|
|
1257
1155
|
return self._DashboardTopicID
|
|
@@ -1262,8 +1160,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1262
1160
|
|
|
1263
1161
|
@property
|
|
1264
1162
|
def IsInstrumentationVulnerabilityScan(self):
|
|
1265
|
-
"""
|
|
1266
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1163
|
+
"""是否开启组件漏洞检测(0=关, 1=开)
|
|
1267
1164
|
:rtype: int
|
|
1268
1165
|
"""
|
|
1269
1166
|
return self._IsInstrumentationVulnerabilityScan
|
|
@@ -1274,8 +1171,7 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1274
1171
|
|
|
1275
1172
|
@property
|
|
1276
1173
|
def IsSqlInjectionAnalysis(self):
|
|
1277
|
-
"""是否开启SQL
|
|
1278
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1174
|
+
"""是否开启 SQL 注入分析(0=关, 1=开)
|
|
1279
1175
|
:rtype: int
|
|
1280
1176
|
"""
|
|
1281
1177
|
return self._IsSqlInjectionAnalysis
|
|
@@ -1286,23 +1182,23 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1286
1182
|
|
|
1287
1183
|
|
|
1288
1184
|
def _deserialize(self, params):
|
|
1289
|
-
self.
|
|
1185
|
+
self._InstanceId = params.get("InstanceId")
|
|
1290
1186
|
self._Name = params.get("Name")
|
|
1187
|
+
self._Description = params.get("Description")
|
|
1188
|
+
self._Status = params.get("Status")
|
|
1189
|
+
self._Region = params.get("Region")
|
|
1291
1190
|
if params.get("Tags") is not None:
|
|
1292
1191
|
self._Tags = []
|
|
1293
1192
|
for item in params.get("Tags"):
|
|
1294
1193
|
obj = ApmTag()
|
|
1295
1194
|
obj._deserialize(item)
|
|
1296
1195
|
self._Tags.append(obj)
|
|
1297
|
-
self.
|
|
1196
|
+
self._AppId = params.get("AppId")
|
|
1298
1197
|
self._CreateUin = params.get("CreateUin")
|
|
1198
|
+
self._AmountOfUsedStorage = params.get("AmountOfUsedStorage")
|
|
1299
1199
|
self._ServiceCount = params.get("ServiceCount")
|
|
1300
1200
|
self._CountOfReportSpanPerDay = params.get("CountOfReportSpanPerDay")
|
|
1301
|
-
self._AppId = params.get("AppId")
|
|
1302
1201
|
self._TraceDuration = params.get("TraceDuration")
|
|
1303
|
-
self._Description = params.get("Description")
|
|
1304
|
-
self._Status = params.get("Status")
|
|
1305
|
-
self._Region = params.get("Region")
|
|
1306
1202
|
self._SpanDailyCounters = params.get("SpanDailyCounters")
|
|
1307
1203
|
self._BillingInstance = params.get("BillingInstance")
|
|
1308
1204
|
self._ErrRateThreshold = params.get("ErrRateThreshold")
|
|
@@ -1344,9 +1240,9 @@ class ApmMetricRecord(AbstractModel):
|
|
|
1344
1240
|
|
|
1345
1241
|
def __init__(self):
|
|
1346
1242
|
r"""
|
|
1347
|
-
:param _Fields: field
|
|
1243
|
+
:param _Fields: field数组,用于指标的查询结果
|
|
1348
1244
|
:type Fields: list of ApmField
|
|
1349
|
-
:param _Tags: tag
|
|
1245
|
+
:param _Tags: tag数组,用于区分 Groupby 的对象
|
|
1350
1246
|
:type Tags: list of ApmTag
|
|
1351
1247
|
"""
|
|
1352
1248
|
self._Fields = None
|
|
@@ -1354,7 +1250,7 @@ class ApmMetricRecord(AbstractModel):
|
|
|
1354
1250
|
|
|
1355
1251
|
@property
|
|
1356
1252
|
def Fields(self):
|
|
1357
|
-
"""field
|
|
1253
|
+
"""field数组,用于指标的查询结果
|
|
1358
1254
|
:rtype: list of ApmField
|
|
1359
1255
|
"""
|
|
1360
1256
|
return self._Fields
|
|
@@ -1365,7 +1261,7 @@ class ApmMetricRecord(AbstractModel):
|
|
|
1365
1261
|
|
|
1366
1262
|
@property
|
|
1367
1263
|
def Tags(self):
|
|
1368
|
-
"""tag
|
|
1264
|
+
"""tag数组,用于区分 Groupby 的对象
|
|
1369
1265
|
:rtype: list of ApmTag
|
|
1370
1266
|
"""
|
|
1371
1267
|
return self._Tags
|
|
@@ -1456,19 +1352,19 @@ class CreateApmInstanceRequest(AbstractModel):
|
|
|
1456
1352
|
|
|
1457
1353
|
def __init__(self):
|
|
1458
1354
|
r"""
|
|
1459
|
-
:param _Name:
|
|
1355
|
+
:param _Name: 业务系统名
|
|
1460
1356
|
:type Name: str
|
|
1461
|
-
:param _Description:
|
|
1357
|
+
:param _Description: 业务系统描述信息
|
|
1462
1358
|
:type Description: str
|
|
1463
|
-
:param _TraceDuration: Trace
|
|
1359
|
+
:param _TraceDuration: Trace 数据保存时长(单位:天,默认存储时长为3天)
|
|
1464
1360
|
:type TraceDuration: int
|
|
1465
|
-
:param _Tags:
|
|
1361
|
+
:param _Tags: 业务系统 Tag 列表
|
|
1466
1362
|
:type Tags: list of ApmTag
|
|
1467
|
-
:param _SpanDailyCounters:
|
|
1363
|
+
:param _SpanDailyCounters: 业务系统上报额度值,默认赋值为0表示不限制上报额度,已废弃
|
|
1468
1364
|
:type SpanDailyCounters: int
|
|
1469
|
-
:param _PayMode:
|
|
1365
|
+
:param _PayMode: 业务系统的计费模式(0=按量付费,1=预付费)
|
|
1470
1366
|
:type PayMode: int
|
|
1471
|
-
:param _Free:
|
|
1367
|
+
:param _Free: 是否为免费版业务系统(0=付费版;1=TSF 受限免费版;2=免费版)
|
|
1472
1368
|
:type Free: int
|
|
1473
1369
|
"""
|
|
1474
1370
|
self._Name = None
|
|
@@ -1481,7 +1377,7 @@ class CreateApmInstanceRequest(AbstractModel):
|
|
|
1481
1377
|
|
|
1482
1378
|
@property
|
|
1483
1379
|
def Name(self):
|
|
1484
|
-
"""
|
|
1380
|
+
"""业务系统名
|
|
1485
1381
|
:rtype: str
|
|
1486
1382
|
"""
|
|
1487
1383
|
return self._Name
|
|
@@ -1492,7 +1388,7 @@ class CreateApmInstanceRequest(AbstractModel):
|
|
|
1492
1388
|
|
|
1493
1389
|
@property
|
|
1494
1390
|
def Description(self):
|
|
1495
|
-
"""
|
|
1391
|
+
"""业务系统描述信息
|
|
1496
1392
|
:rtype: str
|
|
1497
1393
|
"""
|
|
1498
1394
|
return self._Description
|
|
@@ -1503,7 +1399,7 @@ class CreateApmInstanceRequest(AbstractModel):
|
|
|
1503
1399
|
|
|
1504
1400
|
@property
|
|
1505
1401
|
def TraceDuration(self):
|
|
1506
|
-
"""Trace
|
|
1402
|
+
"""Trace 数据保存时长(单位:天,默认存储时长为3天)
|
|
1507
1403
|
:rtype: int
|
|
1508
1404
|
"""
|
|
1509
1405
|
return self._TraceDuration
|
|
@@ -1514,7 +1410,7 @@ class CreateApmInstanceRequest(AbstractModel):
|
|
|
1514
1410
|
|
|
1515
1411
|
@property
|
|
1516
1412
|
def Tags(self):
|
|
1517
|
-
"""
|
|
1413
|
+
"""业务系统 Tag 列表
|
|
1518
1414
|
:rtype: list of ApmTag
|
|
1519
1415
|
"""
|
|
1520
1416
|
return self._Tags
|
|
@@ -1525,7 +1421,7 @@ class CreateApmInstanceRequest(AbstractModel):
|
|
|
1525
1421
|
|
|
1526
1422
|
@property
|
|
1527
1423
|
def SpanDailyCounters(self):
|
|
1528
|
-
"""
|
|
1424
|
+
"""业务系统上报额度值,默认赋值为0表示不限制上报额度,已废弃
|
|
1529
1425
|
:rtype: int
|
|
1530
1426
|
"""
|
|
1531
1427
|
return self._SpanDailyCounters
|
|
@@ -1536,7 +1432,7 @@ class CreateApmInstanceRequest(AbstractModel):
|
|
|
1536
1432
|
|
|
1537
1433
|
@property
|
|
1538
1434
|
def PayMode(self):
|
|
1539
|
-
"""
|
|
1435
|
+
"""业务系统的计费模式(0=按量付费,1=预付费)
|
|
1540
1436
|
:rtype: int
|
|
1541
1437
|
"""
|
|
1542
1438
|
return self._PayMode
|
|
@@ -1547,7 +1443,7 @@ class CreateApmInstanceRequest(AbstractModel):
|
|
|
1547
1443
|
|
|
1548
1444
|
@property
|
|
1549
1445
|
def Free(self):
|
|
1550
|
-
"""
|
|
1446
|
+
"""是否为免费版业务系统(0=付费版;1=TSF 受限免费版;2=免费版)
|
|
1551
1447
|
:rtype: int
|
|
1552
1448
|
"""
|
|
1553
1449
|
return self._Free
|
|
@@ -1587,8 +1483,7 @@ class CreateApmInstanceResponse(AbstractModel):
|
|
|
1587
1483
|
|
|
1588
1484
|
def __init__(self):
|
|
1589
1485
|
r"""
|
|
1590
|
-
:param _InstanceId:
|
|
1591
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1486
|
+
:param _InstanceId: 业务系统 ID
|
|
1592
1487
|
:type InstanceId: str
|
|
1593
1488
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1594
1489
|
:type RequestId: str
|
|
@@ -1598,8 +1493,7 @@ class CreateApmInstanceResponse(AbstractModel):
|
|
|
1598
1493
|
|
|
1599
1494
|
@property
|
|
1600
1495
|
def InstanceId(self):
|
|
1601
|
-
"""
|
|
1602
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1496
|
+
"""业务系统 ID
|
|
1603
1497
|
:rtype: str
|
|
1604
1498
|
"""
|
|
1605
1499
|
return self._InstanceId
|
|
@@ -1632,15 +1526,15 @@ class DescribeApmAgentRequest(AbstractModel):
|
|
|
1632
1526
|
|
|
1633
1527
|
def __init__(self):
|
|
1634
1528
|
r"""
|
|
1635
|
-
:param _InstanceId:
|
|
1529
|
+
:param _InstanceId: 业务系统 ID
|
|
1636
1530
|
:type InstanceId: str
|
|
1637
|
-
:param _AgentType:
|
|
1531
|
+
:param _AgentType: 接入方式,现支持 skywalking, ot, ebpf 方式接入上报,不填默认为 ot
|
|
1638
1532
|
:type AgentType: str
|
|
1639
|
-
:param _NetworkMode:
|
|
1533
|
+
:param _NetworkMode: 上报环境,现支持 pl (内网上报), public (外网), inner (自研 VPC )环境上报,不传默认为 public
|
|
1640
1534
|
:type NetworkMode: str
|
|
1641
|
-
:param _LanguageEnvironment:
|
|
1535
|
+
:param _LanguageEnvironment: 语言,现支持 java, golang, php, python, dotNet, nodejs 语言上报,不传默认为 golang
|
|
1642
1536
|
:type LanguageEnvironment: str
|
|
1643
|
-
:param _ReportMethod:
|
|
1537
|
+
:param _ReportMethod: 上报方式,已弃用
|
|
1644
1538
|
:type ReportMethod: str
|
|
1645
1539
|
"""
|
|
1646
1540
|
self._InstanceId = None
|
|
@@ -1651,7 +1545,7 @@ class DescribeApmAgentRequest(AbstractModel):
|
|
|
1651
1545
|
|
|
1652
1546
|
@property
|
|
1653
1547
|
def InstanceId(self):
|
|
1654
|
-
"""
|
|
1548
|
+
"""业务系统 ID
|
|
1655
1549
|
:rtype: str
|
|
1656
1550
|
"""
|
|
1657
1551
|
return self._InstanceId
|
|
@@ -1662,7 +1556,7 @@ class DescribeApmAgentRequest(AbstractModel):
|
|
|
1662
1556
|
|
|
1663
1557
|
@property
|
|
1664
1558
|
def AgentType(self):
|
|
1665
|
-
"""
|
|
1559
|
+
"""接入方式,现支持 skywalking, ot, ebpf 方式接入上报,不填默认为 ot
|
|
1666
1560
|
:rtype: str
|
|
1667
1561
|
"""
|
|
1668
1562
|
return self._AgentType
|
|
@@ -1673,7 +1567,7 @@ class DescribeApmAgentRequest(AbstractModel):
|
|
|
1673
1567
|
|
|
1674
1568
|
@property
|
|
1675
1569
|
def NetworkMode(self):
|
|
1676
|
-
"""
|
|
1570
|
+
"""上报环境,现支持 pl (内网上报), public (外网), inner (自研 VPC )环境上报,不传默认为 public
|
|
1677
1571
|
:rtype: str
|
|
1678
1572
|
"""
|
|
1679
1573
|
return self._NetworkMode
|
|
@@ -1684,7 +1578,7 @@ class DescribeApmAgentRequest(AbstractModel):
|
|
|
1684
1578
|
|
|
1685
1579
|
@property
|
|
1686
1580
|
def LanguageEnvironment(self):
|
|
1687
|
-
"""
|
|
1581
|
+
"""语言,现支持 java, golang, php, python, dotNet, nodejs 语言上报,不传默认为 golang
|
|
1688
1582
|
:rtype: str
|
|
1689
1583
|
"""
|
|
1690
1584
|
return self._LanguageEnvironment
|
|
@@ -1695,7 +1589,7 @@ class DescribeApmAgentRequest(AbstractModel):
|
|
|
1695
1589
|
|
|
1696
1590
|
@property
|
|
1697
1591
|
def ReportMethod(self):
|
|
1698
|
-
"""
|
|
1592
|
+
"""上报方式,已弃用
|
|
1699
1593
|
:rtype: str
|
|
1700
1594
|
"""
|
|
1701
1595
|
return self._ReportMethod
|
|
@@ -1728,8 +1622,7 @@ class DescribeApmAgentResponse(AbstractModel):
|
|
|
1728
1622
|
|
|
1729
1623
|
def __init__(self):
|
|
1730
1624
|
r"""
|
|
1731
|
-
:param _ApmAgent: Agent信息
|
|
1732
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1625
|
+
:param _ApmAgent: Agent 信息
|
|
1733
1626
|
:type ApmAgent: :class:`tencentcloud.apm.v20210622.models.ApmAgentInfo`
|
|
1734
1627
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1735
1628
|
:type RequestId: str
|
|
@@ -1739,8 +1632,7 @@ class DescribeApmAgentResponse(AbstractModel):
|
|
|
1739
1632
|
|
|
1740
1633
|
@property
|
|
1741
1634
|
def ApmAgent(self):
|
|
1742
|
-
"""Agent信息
|
|
1743
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1635
|
+
"""Agent 信息
|
|
1744
1636
|
:rtype: :class:`tencentcloud.apm.v20210622.models.ApmAgentInfo`
|
|
1745
1637
|
"""
|
|
1746
1638
|
return self._ApmAgent
|
|
@@ -1775,15 +1667,15 @@ class DescribeApmInstancesRequest(AbstractModel):
|
|
|
1775
1667
|
|
|
1776
1668
|
def __init__(self):
|
|
1777
1669
|
r"""
|
|
1778
|
-
:param _Tags: Tag列表
|
|
1670
|
+
:param _Tags: Tag 列表
|
|
1779
1671
|
:type Tags: list of ApmTag
|
|
1780
|
-
:param _InstanceName:
|
|
1672
|
+
:param _InstanceName: 按业务系统名过滤
|
|
1781
1673
|
:type InstanceName: str
|
|
1782
|
-
:param _InstanceIds:
|
|
1674
|
+
:param _InstanceIds: 按业务系统 ID 过滤
|
|
1783
1675
|
:type InstanceIds: list of str
|
|
1784
|
-
:param _DemoInstanceFlag: 是否查询官方
|
|
1676
|
+
:param _DemoInstanceFlag: 是否查询官方 Demo 业务系统(0=非 Demo 业务系统,1=Demo 业务系统,默认为0)
|
|
1785
1677
|
:type DemoInstanceFlag: int
|
|
1786
|
-
:param _AllRegionsFlag:
|
|
1678
|
+
:param _AllRegionsFlag: 是否查询全地域业务系统(0=不查询全地域,1=查询全地域,默认为0)
|
|
1787
1679
|
:type AllRegionsFlag: int
|
|
1788
1680
|
"""
|
|
1789
1681
|
self._Tags = None
|
|
@@ -1794,7 +1686,7 @@ class DescribeApmInstancesRequest(AbstractModel):
|
|
|
1794
1686
|
|
|
1795
1687
|
@property
|
|
1796
1688
|
def Tags(self):
|
|
1797
|
-
"""Tag列表
|
|
1689
|
+
"""Tag 列表
|
|
1798
1690
|
:rtype: list of ApmTag
|
|
1799
1691
|
"""
|
|
1800
1692
|
return self._Tags
|
|
@@ -1805,7 +1697,7 @@ class DescribeApmInstancesRequest(AbstractModel):
|
|
|
1805
1697
|
|
|
1806
1698
|
@property
|
|
1807
1699
|
def InstanceName(self):
|
|
1808
|
-
"""
|
|
1700
|
+
"""按业务系统名过滤
|
|
1809
1701
|
:rtype: str
|
|
1810
1702
|
"""
|
|
1811
1703
|
return self._InstanceName
|
|
@@ -1816,7 +1708,7 @@ class DescribeApmInstancesRequest(AbstractModel):
|
|
|
1816
1708
|
|
|
1817
1709
|
@property
|
|
1818
1710
|
def InstanceIds(self):
|
|
1819
|
-
"""
|
|
1711
|
+
"""按业务系统 ID 过滤
|
|
1820
1712
|
:rtype: list of str
|
|
1821
1713
|
"""
|
|
1822
1714
|
return self._InstanceIds
|
|
@@ -1827,7 +1719,7 @@ class DescribeApmInstancesRequest(AbstractModel):
|
|
|
1827
1719
|
|
|
1828
1720
|
@property
|
|
1829
1721
|
def DemoInstanceFlag(self):
|
|
1830
|
-
"""是否查询官方
|
|
1722
|
+
"""是否查询官方 Demo 业务系统(0=非 Demo 业务系统,1=Demo 业务系统,默认为0)
|
|
1831
1723
|
:rtype: int
|
|
1832
1724
|
"""
|
|
1833
1725
|
return self._DemoInstanceFlag
|
|
@@ -1838,7 +1730,7 @@ class DescribeApmInstancesRequest(AbstractModel):
|
|
|
1838
1730
|
|
|
1839
1731
|
@property
|
|
1840
1732
|
def AllRegionsFlag(self):
|
|
1841
|
-
"""
|
|
1733
|
+
"""是否查询全地域业务系统(0=不查询全地域,1=查询全地域,默认为0)
|
|
1842
1734
|
:rtype: int
|
|
1843
1735
|
"""
|
|
1844
1736
|
return self._AllRegionsFlag
|
|
@@ -1876,8 +1768,7 @@ class DescribeApmInstancesResponse(AbstractModel):
|
|
|
1876
1768
|
|
|
1877
1769
|
def __init__(self):
|
|
1878
1770
|
r"""
|
|
1879
|
-
:param _Instances:
|
|
1880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1771
|
+
:param _Instances: APM 业务系统列表
|
|
1881
1772
|
:type Instances: list of ApmInstanceDetail
|
|
1882
1773
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1883
1774
|
:type RequestId: str
|
|
@@ -1887,8 +1778,7 @@ class DescribeApmInstancesResponse(AbstractModel):
|
|
|
1887
1778
|
|
|
1888
1779
|
@property
|
|
1889
1780
|
def Instances(self):
|
|
1890
|
-
"""
|
|
1891
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1781
|
+
"""APM 业务系统列表
|
|
1892
1782
|
:rtype: list of ApmInstanceDetail
|
|
1893
1783
|
"""
|
|
1894
1784
|
return self._Instances
|
|
@@ -2024,7 +1914,7 @@ class DescribeGeneralMetricDataRequest(AbstractModel):
|
|
|
2024
1914
|
r"""
|
|
2025
1915
|
:param _Metrics: 需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
|
2026
1916
|
:type Metrics: list of str
|
|
2027
|
-
:param _InstanceId: 业务系统ID
|
|
1917
|
+
:param _InstanceId: 业务系统 ID
|
|
2028
1918
|
:type InstanceId: str
|
|
2029
1919
|
:param _ViewName: 视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
|
2030
1920
|
:type ViewName: str
|
|
@@ -2032,16 +1922,21 @@ class DescribeGeneralMetricDataRequest(AbstractModel):
|
|
|
2032
1922
|
:type Filters: list of GeneralFilter
|
|
2033
1923
|
:param _GroupBy: 聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
|
2034
1924
|
:type GroupBy: list of str
|
|
2035
|
-
:param _StartTime:
|
|
1925
|
+
:param _StartTime: 起始时间的时间戳,支持查询30天内的指标数据。(单位:秒)
|
|
2036
1926
|
:type StartTime: int
|
|
2037
|
-
:param _EndTime:
|
|
1927
|
+
:param _EndTime: 结束时间的时间戳,支持查询30天内的指标数据。(单位:秒)
|
|
2038
1928
|
:type EndTime: int
|
|
2039
|
-
:param _Period:
|
|
1929
|
+
:param _Period: 是否按固定时间跨度聚合,填入1及大于1的值按1处理,不填按0处理。
|
|
1930
|
+
- 填入0,则计算开始时间到截止时间的指标数据。
|
|
1931
|
+
- 填入1,则会按照开始时间到截止时间的时间跨度选择聚合粒度:
|
|
1932
|
+
- 时间跨度 (0,12) 小时,则按一分钟粒度聚合。
|
|
1933
|
+
- 时间跨度 [12,48] 小时,则按五分钟粒度聚合。
|
|
1934
|
+
- 时间跨度 (48, +∞) 小时,则按一小时粒度聚合。
|
|
2040
1935
|
:type Period: int
|
|
2041
1936
|
:param _OrderBy: 对查询指标进行排序:
|
|
2042
1937
|
Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
|
2043
1938
|
Value 填写排序方式:
|
|
2044
|
-
- asc
|
|
1939
|
+
- asc:对查询指标进行升序排序
|
|
2045
1940
|
- desc:对查询指标进行降序排序
|
|
2046
1941
|
:type OrderBy: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2047
1942
|
:param _PageSize: 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。
|
|
@@ -2071,7 +1966,7 @@ Value 填写排序方式:
|
|
|
2071
1966
|
|
|
2072
1967
|
@property
|
|
2073
1968
|
def InstanceId(self):
|
|
2074
|
-
"""业务系统ID
|
|
1969
|
+
"""业务系统 ID
|
|
2075
1970
|
:rtype: str
|
|
2076
1971
|
"""
|
|
2077
1972
|
return self._InstanceId
|
|
@@ -2115,7 +2010,7 @@ Value 填写排序方式:
|
|
|
2115
2010
|
|
|
2116
2011
|
@property
|
|
2117
2012
|
def StartTime(self):
|
|
2118
|
-
"""
|
|
2013
|
+
"""起始时间的时间戳,支持查询30天内的指标数据。(单位:秒)
|
|
2119
2014
|
:rtype: int
|
|
2120
2015
|
"""
|
|
2121
2016
|
return self._StartTime
|
|
@@ -2126,7 +2021,7 @@ Value 填写排序方式:
|
|
|
2126
2021
|
|
|
2127
2022
|
@property
|
|
2128
2023
|
def EndTime(self):
|
|
2129
|
-
"""
|
|
2024
|
+
"""结束时间的时间戳,支持查询30天内的指标数据。(单位:秒)
|
|
2130
2025
|
:rtype: int
|
|
2131
2026
|
"""
|
|
2132
2027
|
return self._EndTime
|
|
@@ -2137,7 +2032,12 @@ Value 填写排序方式:
|
|
|
2137
2032
|
|
|
2138
2033
|
@property
|
|
2139
2034
|
def Period(self):
|
|
2140
|
-
"""
|
|
2035
|
+
"""是否按固定时间跨度聚合,填入1及大于1的值按1处理,不填按0处理。
|
|
2036
|
+
- 填入0,则计算开始时间到截止时间的指标数据。
|
|
2037
|
+
- 填入1,则会按照开始时间到截止时间的时间跨度选择聚合粒度:
|
|
2038
|
+
- 时间跨度 (0,12) 小时,则按一分钟粒度聚合。
|
|
2039
|
+
- 时间跨度 [12,48] 小时,则按五分钟粒度聚合。
|
|
2040
|
+
- 时间跨度 (48, +∞) 小时,则按一小时粒度聚合。
|
|
2141
2041
|
:rtype: int
|
|
2142
2042
|
"""
|
|
2143
2043
|
return self._Period
|
|
@@ -2151,7 +2051,7 @@ Value 填写排序方式:
|
|
|
2151
2051
|
"""对查询指标进行排序:
|
|
2152
2052
|
Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
|
|
2153
2053
|
Value 填写排序方式:
|
|
2154
|
-
- asc
|
|
2054
|
+
- asc:对查询指标进行升序排序
|
|
2155
2055
|
- desc:对查询指标进行降序排序
|
|
2156
2056
|
:rtype: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2157
2057
|
"""
|
|
@@ -2209,7 +2109,6 @@ class DescribeGeneralMetricDataResponse(AbstractModel):
|
|
|
2209
2109
|
def __init__(self):
|
|
2210
2110
|
r"""
|
|
2211
2111
|
:param _Records: 指标结果集
|
|
2212
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2213
2112
|
:type Records: list of Line
|
|
2214
2113
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2215
2114
|
:type RequestId: str
|
|
@@ -2220,7 +2119,6 @@ class DescribeGeneralMetricDataResponse(AbstractModel):
|
|
|
2220
2119
|
@property
|
|
2221
2120
|
def Records(self):
|
|
2222
2121
|
"""指标结果集
|
|
2223
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2224
2122
|
:rtype: list of Line
|
|
2225
2123
|
"""
|
|
2226
2124
|
return self._Records
|
|
@@ -2258,68 +2156,56 @@ class DescribeGeneralSpanListRequest(AbstractModel):
|
|
|
2258
2156
|
|
|
2259
2157
|
def __init__(self):
|
|
2260
2158
|
r"""
|
|
2261
|
-
:param
|
|
2262
|
-
:type Offset: int
|
|
2263
|
-
:param _Limit: 列表项个数
|
|
2264
|
-
:type Limit: int
|
|
2265
|
-
:param _OrderBy: 排序
|
|
2266
|
-
:type OrderBy: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2267
|
-
:param _StartTime: span查询开始时间戳(单位:秒)
|
|
2268
|
-
:type StartTime: int
|
|
2269
|
-
:param _InstanceId: 实例名
|
|
2159
|
+
:param _InstanceId: 业务系统 ID
|
|
2270
2160
|
:type InstanceId: str
|
|
2161
|
+
:param _StartTime: Span 查询开始时间戳(单位:秒)
|
|
2162
|
+
:type StartTime: int
|
|
2163
|
+
:param _EndTime: Span 查询结束时间戳(单位:秒)
|
|
2164
|
+
:type EndTime: int
|
|
2271
2165
|
:param _Filters: 通用过滤参数
|
|
2272
2166
|
:type Filters: list of Filter
|
|
2273
|
-
:param
|
|
2167
|
+
:param _OrderBy: 排序
|
|
2168
|
+
现支持的 Key 有:
|
|
2169
|
+
|
|
2170
|
+
- startTime(开始时间)
|
|
2171
|
+
- endTime(结束时间)
|
|
2172
|
+
- duration(响应时间)
|
|
2173
|
+
|
|
2174
|
+
现支持的 Value 有:
|
|
2175
|
+
|
|
2176
|
+
- desc(降序排序)
|
|
2177
|
+
- asc(升序排序)
|
|
2178
|
+
:type OrderBy: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2179
|
+
:param _BusinessName: 业务自身服务名,控制台用户请填写taw
|
|
2274
2180
|
:type BusinessName: str
|
|
2275
|
-
:param
|
|
2276
|
-
:type
|
|
2181
|
+
:param _Limit: 单页项目个数,默认为10000,合法取值范围为0~10000
|
|
2182
|
+
:type Limit: int
|
|
2183
|
+
:param _Offset: 分页
|
|
2184
|
+
:type Offset: int
|
|
2277
2185
|
"""
|
|
2278
|
-
self._Offset = None
|
|
2279
|
-
self._Limit = None
|
|
2280
|
-
self._OrderBy = None
|
|
2281
|
-
self._StartTime = None
|
|
2282
2186
|
self._InstanceId = None
|
|
2187
|
+
self._StartTime = None
|
|
2188
|
+
self._EndTime = None
|
|
2283
2189
|
self._Filters = None
|
|
2190
|
+
self._OrderBy = None
|
|
2284
2191
|
self._BusinessName = None
|
|
2285
|
-
self.
|
|
2286
|
-
|
|
2287
|
-
@property
|
|
2288
|
-
def Offset(self):
|
|
2289
|
-
"""分页
|
|
2290
|
-
:rtype: int
|
|
2291
|
-
"""
|
|
2292
|
-
return self._Offset
|
|
2293
|
-
|
|
2294
|
-
@Offset.setter
|
|
2295
|
-
def Offset(self, Offset):
|
|
2296
|
-
self._Offset = Offset
|
|
2297
|
-
|
|
2298
|
-
@property
|
|
2299
|
-
def Limit(self):
|
|
2300
|
-
"""列表项个数
|
|
2301
|
-
:rtype: int
|
|
2302
|
-
"""
|
|
2303
|
-
return self._Limit
|
|
2304
|
-
|
|
2305
|
-
@Limit.setter
|
|
2306
|
-
def Limit(self, Limit):
|
|
2307
|
-
self._Limit = Limit
|
|
2192
|
+
self._Limit = None
|
|
2193
|
+
self._Offset = None
|
|
2308
2194
|
|
|
2309
2195
|
@property
|
|
2310
|
-
def
|
|
2311
|
-
"""
|
|
2312
|
-
:rtype:
|
|
2196
|
+
def InstanceId(self):
|
|
2197
|
+
"""业务系统 ID
|
|
2198
|
+
:rtype: str
|
|
2313
2199
|
"""
|
|
2314
|
-
return self.
|
|
2200
|
+
return self._InstanceId
|
|
2315
2201
|
|
|
2316
|
-
@
|
|
2317
|
-
def
|
|
2318
|
-
self.
|
|
2202
|
+
@InstanceId.setter
|
|
2203
|
+
def InstanceId(self, InstanceId):
|
|
2204
|
+
self._InstanceId = InstanceId
|
|
2319
2205
|
|
|
2320
2206
|
@property
|
|
2321
2207
|
def StartTime(self):
|
|
2322
|
-
"""
|
|
2208
|
+
"""Span 查询开始时间戳(单位:秒)
|
|
2323
2209
|
:rtype: int
|
|
2324
2210
|
"""
|
|
2325
2211
|
return self._StartTime
|
|
@@ -2329,15 +2215,15 @@ class DescribeGeneralSpanListRequest(AbstractModel):
|
|
|
2329
2215
|
self._StartTime = StartTime
|
|
2330
2216
|
|
|
2331
2217
|
@property
|
|
2332
|
-
def
|
|
2333
|
-
"""
|
|
2334
|
-
:rtype:
|
|
2218
|
+
def EndTime(self):
|
|
2219
|
+
"""Span 查询结束时间戳(单位:秒)
|
|
2220
|
+
:rtype: int
|
|
2335
2221
|
"""
|
|
2336
|
-
return self.
|
|
2222
|
+
return self._EndTime
|
|
2337
2223
|
|
|
2338
|
-
@
|
|
2339
|
-
def
|
|
2340
|
-
self.
|
|
2224
|
+
@EndTime.setter
|
|
2225
|
+
def EndTime(self, EndTime):
|
|
2226
|
+
self._EndTime = EndTime
|
|
2341
2227
|
|
|
2342
2228
|
@property
|
|
2343
2229
|
def Filters(self):
|
|
@@ -2350,9 +2236,30 @@ class DescribeGeneralSpanListRequest(AbstractModel):
|
|
|
2350
2236
|
def Filters(self, Filters):
|
|
2351
2237
|
self._Filters = Filters
|
|
2352
2238
|
|
|
2239
|
+
@property
|
|
2240
|
+
def OrderBy(self):
|
|
2241
|
+
"""排序
|
|
2242
|
+
现支持的 Key 有:
|
|
2243
|
+
|
|
2244
|
+
- startTime(开始时间)
|
|
2245
|
+
- endTime(结束时间)
|
|
2246
|
+
- duration(响应时间)
|
|
2247
|
+
|
|
2248
|
+
现支持的 Value 有:
|
|
2249
|
+
|
|
2250
|
+
- desc(降序排序)
|
|
2251
|
+
- asc(升序排序)
|
|
2252
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2253
|
+
"""
|
|
2254
|
+
return self._OrderBy
|
|
2255
|
+
|
|
2256
|
+
@OrderBy.setter
|
|
2257
|
+
def OrderBy(self, OrderBy):
|
|
2258
|
+
self._OrderBy = OrderBy
|
|
2259
|
+
|
|
2353
2260
|
@property
|
|
2354
2261
|
def BusinessName(self):
|
|
2355
|
-
"""
|
|
2262
|
+
"""业务自身服务名,控制台用户请填写taw
|
|
2356
2263
|
:rtype: str
|
|
2357
2264
|
"""
|
|
2358
2265
|
return self._BusinessName
|
|
@@ -2362,33 +2269,44 @@ class DescribeGeneralSpanListRequest(AbstractModel):
|
|
|
2362
2269
|
self._BusinessName = BusinessName
|
|
2363
2270
|
|
|
2364
2271
|
@property
|
|
2365
|
-
def
|
|
2366
|
-
"""
|
|
2272
|
+
def Limit(self):
|
|
2273
|
+
"""单页项目个数,默认为10000,合法取值范围为0~10000
|
|
2367
2274
|
:rtype: int
|
|
2368
2275
|
"""
|
|
2369
|
-
return self.
|
|
2276
|
+
return self._Limit
|
|
2370
2277
|
|
|
2371
|
-
@
|
|
2372
|
-
def
|
|
2373
|
-
self.
|
|
2278
|
+
@Limit.setter
|
|
2279
|
+
def Limit(self, Limit):
|
|
2280
|
+
self._Limit = Limit
|
|
2281
|
+
|
|
2282
|
+
@property
|
|
2283
|
+
def Offset(self):
|
|
2284
|
+
"""分页
|
|
2285
|
+
:rtype: int
|
|
2286
|
+
"""
|
|
2287
|
+
return self._Offset
|
|
2288
|
+
|
|
2289
|
+
@Offset.setter
|
|
2290
|
+
def Offset(self, Offset):
|
|
2291
|
+
self._Offset = Offset
|
|
2374
2292
|
|
|
2375
2293
|
|
|
2376
2294
|
def _deserialize(self, params):
|
|
2377
|
-
self._Offset = params.get("Offset")
|
|
2378
|
-
self._Limit = params.get("Limit")
|
|
2379
|
-
if params.get("OrderBy") is not None:
|
|
2380
|
-
self._OrderBy = OrderBy()
|
|
2381
|
-
self._OrderBy._deserialize(params.get("OrderBy"))
|
|
2382
|
-
self._StartTime = params.get("StartTime")
|
|
2383
2295
|
self._InstanceId = params.get("InstanceId")
|
|
2296
|
+
self._StartTime = params.get("StartTime")
|
|
2297
|
+
self._EndTime = params.get("EndTime")
|
|
2384
2298
|
if params.get("Filters") is not None:
|
|
2385
2299
|
self._Filters = []
|
|
2386
2300
|
for item in params.get("Filters"):
|
|
2387
2301
|
obj = Filter()
|
|
2388
2302
|
obj._deserialize(item)
|
|
2389
2303
|
self._Filters.append(obj)
|
|
2304
|
+
if params.get("OrderBy") is not None:
|
|
2305
|
+
self._OrderBy = OrderBy()
|
|
2306
|
+
self._OrderBy._deserialize(params.get("OrderBy"))
|
|
2390
2307
|
self._BusinessName = params.get("BusinessName")
|
|
2391
|
-
self.
|
|
2308
|
+
self._Limit = params.get("Limit")
|
|
2309
|
+
self._Offset = params.get("Offset")
|
|
2392
2310
|
memeber_set = set(params.keys())
|
|
2393
2311
|
for name, value in vars(self).items():
|
|
2394
2312
|
property_name = name[1:]
|
|
@@ -2408,7 +2326,7 @@ class DescribeGeneralSpanListResponse(AbstractModel):
|
|
|
2408
2326
|
r"""
|
|
2409
2327
|
:param _TotalCount: 总数量
|
|
2410
2328
|
:type TotalCount: int
|
|
2411
|
-
:param _Spans: Span分页列表
|
|
2329
|
+
:param _Spans: Span 分页列表
|
|
2412
2330
|
:type Spans: list of Span
|
|
2413
2331
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2414
2332
|
:type RequestId: str
|
|
@@ -2430,7 +2348,7 @@ class DescribeGeneralSpanListResponse(AbstractModel):
|
|
|
2430
2348
|
|
|
2431
2349
|
@property
|
|
2432
2350
|
def Spans(self):
|
|
2433
|
-
"""Span分页列表
|
|
2351
|
+
"""Span 分页列表
|
|
2434
2352
|
:rtype: list of Span
|
|
2435
2353
|
"""
|
|
2436
2354
|
return self._Spans
|
|
@@ -2469,49 +2387,103 @@ class DescribeMetricRecordsRequest(AbstractModel):
|
|
|
2469
2387
|
|
|
2470
2388
|
def __init__(self):
|
|
2471
2389
|
r"""
|
|
2472
|
-
:param _Filters: 过滤条件
|
|
2473
|
-
:type Filters: list of Filter
|
|
2474
2390
|
:param _Metrics: 指标列表
|
|
2475
2391
|
:type Metrics: list of QueryMetricItem
|
|
2392
|
+
:param _InstanceId: 业务系统 ID
|
|
2393
|
+
:type InstanceId: str
|
|
2394
|
+
:param _StartTime: 开始时间(单位为秒)
|
|
2395
|
+
:type StartTime: int
|
|
2396
|
+
:param _EndTime: 结束时间(单位为秒)
|
|
2397
|
+
:type EndTime: int
|
|
2398
|
+
:param _Filters: 过滤条件
|
|
2399
|
+
:type Filters: list of Filter
|
|
2400
|
+
:param _OrFilters: Or 过滤条件
|
|
2401
|
+
:type OrFilters: list of Filter
|
|
2476
2402
|
:param _GroupBy: 聚合维度
|
|
2477
2403
|
:type GroupBy: list of str
|
|
2478
2404
|
:param _OrderBy: 排序
|
|
2405
|
+
现支持的 Key 有:
|
|
2406
|
+
|
|
2407
|
+
- startTime(开始时间)
|
|
2408
|
+
- endTime(结束时间)
|
|
2409
|
+
- duration(响应时间)
|
|
2410
|
+
|
|
2411
|
+
现支持的 Value 有:
|
|
2412
|
+
|
|
2413
|
+
- desc(降序排序)
|
|
2414
|
+
- asc(升序排序)
|
|
2479
2415
|
:type OrderBy: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2480
|
-
:param
|
|
2481
|
-
:type
|
|
2482
|
-
:param
|
|
2416
|
+
:param _BusinessName: 业务名称,控制台用户请填写taw。
|
|
2417
|
+
:type BusinessName: str
|
|
2418
|
+
:param _Type: 特殊处理查询结果
|
|
2419
|
+
:type Type: str
|
|
2420
|
+
:param _Limit: 每页大小,默认为1000,合法取值范围为0~1000
|
|
2483
2421
|
:type Limit: int
|
|
2484
|
-
:param _StartTime: 开始时间
|
|
2485
|
-
:type StartTime: int
|
|
2486
2422
|
:param _Offset: 分页起始点
|
|
2487
2423
|
:type Offset: int
|
|
2488
|
-
:param _EndTime: 结束时间
|
|
2489
|
-
:type EndTime: int
|
|
2490
|
-
:param _BusinessName: 业务名称(默认值:taw)
|
|
2491
|
-
:type BusinessName: str
|
|
2492
2424
|
:param _PageIndex: 页码
|
|
2493
2425
|
:type PageIndex: int
|
|
2494
2426
|
:param _PageSize: 页长
|
|
2495
2427
|
:type PageSize: int
|
|
2496
|
-
:param _OrFilters: Or过滤条件
|
|
2497
|
-
:type OrFilters: list of Filter
|
|
2498
|
-
:param _Type: 数据来源
|
|
2499
|
-
:type Type: str
|
|
2500
2428
|
"""
|
|
2501
|
-
self._Filters = None
|
|
2502
2429
|
self._Metrics = None
|
|
2503
|
-
self._GroupBy = None
|
|
2504
|
-
self._OrderBy = None
|
|
2505
2430
|
self._InstanceId = None
|
|
2506
|
-
self._Limit = None
|
|
2507
2431
|
self._StartTime = None
|
|
2508
|
-
self._Offset = None
|
|
2509
2432
|
self._EndTime = None
|
|
2433
|
+
self._Filters = None
|
|
2434
|
+
self._OrFilters = None
|
|
2435
|
+
self._GroupBy = None
|
|
2436
|
+
self._OrderBy = None
|
|
2510
2437
|
self._BusinessName = None
|
|
2438
|
+
self._Type = None
|
|
2439
|
+
self._Limit = None
|
|
2440
|
+
self._Offset = None
|
|
2511
2441
|
self._PageIndex = None
|
|
2512
2442
|
self._PageSize = None
|
|
2513
|
-
|
|
2514
|
-
|
|
2443
|
+
|
|
2444
|
+
@property
|
|
2445
|
+
def Metrics(self):
|
|
2446
|
+
"""指标列表
|
|
2447
|
+
:rtype: list of QueryMetricItem
|
|
2448
|
+
"""
|
|
2449
|
+
return self._Metrics
|
|
2450
|
+
|
|
2451
|
+
@Metrics.setter
|
|
2452
|
+
def Metrics(self, Metrics):
|
|
2453
|
+
self._Metrics = Metrics
|
|
2454
|
+
|
|
2455
|
+
@property
|
|
2456
|
+
def InstanceId(self):
|
|
2457
|
+
"""业务系统 ID
|
|
2458
|
+
:rtype: str
|
|
2459
|
+
"""
|
|
2460
|
+
return self._InstanceId
|
|
2461
|
+
|
|
2462
|
+
@InstanceId.setter
|
|
2463
|
+
def InstanceId(self, InstanceId):
|
|
2464
|
+
self._InstanceId = InstanceId
|
|
2465
|
+
|
|
2466
|
+
@property
|
|
2467
|
+
def StartTime(self):
|
|
2468
|
+
"""开始时间(单位为秒)
|
|
2469
|
+
:rtype: int
|
|
2470
|
+
"""
|
|
2471
|
+
return self._StartTime
|
|
2472
|
+
|
|
2473
|
+
@StartTime.setter
|
|
2474
|
+
def StartTime(self, StartTime):
|
|
2475
|
+
self._StartTime = StartTime
|
|
2476
|
+
|
|
2477
|
+
@property
|
|
2478
|
+
def EndTime(self):
|
|
2479
|
+
"""结束时间(单位为秒)
|
|
2480
|
+
:rtype: int
|
|
2481
|
+
"""
|
|
2482
|
+
return self._EndTime
|
|
2483
|
+
|
|
2484
|
+
@EndTime.setter
|
|
2485
|
+
def EndTime(self, EndTime):
|
|
2486
|
+
self._EndTime = EndTime
|
|
2515
2487
|
|
|
2516
2488
|
@property
|
|
2517
2489
|
def Filters(self):
|
|
@@ -2525,15 +2497,15 @@ class DescribeMetricRecordsRequest(AbstractModel):
|
|
|
2525
2497
|
self._Filters = Filters
|
|
2526
2498
|
|
|
2527
2499
|
@property
|
|
2528
|
-
def
|
|
2529
|
-
"""
|
|
2530
|
-
:rtype: list of
|
|
2500
|
+
def OrFilters(self):
|
|
2501
|
+
"""Or 过滤条件
|
|
2502
|
+
:rtype: list of Filter
|
|
2531
2503
|
"""
|
|
2532
|
-
return self.
|
|
2504
|
+
return self._OrFilters
|
|
2533
2505
|
|
|
2534
|
-
@
|
|
2535
|
-
def
|
|
2536
|
-
self.
|
|
2506
|
+
@OrFilters.setter
|
|
2507
|
+
def OrFilters(self, OrFilters):
|
|
2508
|
+
self._OrFilters = OrFilters
|
|
2537
2509
|
|
|
2538
2510
|
@property
|
|
2539
2511
|
def GroupBy(self):
|
|
@@ -2549,6 +2521,16 @@ class DescribeMetricRecordsRequest(AbstractModel):
|
|
|
2549
2521
|
@property
|
|
2550
2522
|
def OrderBy(self):
|
|
2551
2523
|
"""排序
|
|
2524
|
+
现支持的 Key 有:
|
|
2525
|
+
|
|
2526
|
+
- startTime(开始时间)
|
|
2527
|
+
- endTime(结束时间)
|
|
2528
|
+
- duration(响应时间)
|
|
2529
|
+
|
|
2530
|
+
现支持的 Value 有:
|
|
2531
|
+
|
|
2532
|
+
- desc(降序排序)
|
|
2533
|
+
- asc(升序排序)
|
|
2552
2534
|
:rtype: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2553
2535
|
"""
|
|
2554
2536
|
return self._OrderBy
|
|
@@ -2558,19 +2540,30 @@ class DescribeMetricRecordsRequest(AbstractModel):
|
|
|
2558
2540
|
self._OrderBy = OrderBy
|
|
2559
2541
|
|
|
2560
2542
|
@property
|
|
2561
|
-
def
|
|
2562
|
-
"""
|
|
2543
|
+
def BusinessName(self):
|
|
2544
|
+
"""业务名称,控制台用户请填写taw。
|
|
2563
2545
|
:rtype: str
|
|
2564
2546
|
"""
|
|
2565
|
-
return self.
|
|
2547
|
+
return self._BusinessName
|
|
2566
2548
|
|
|
2567
|
-
@
|
|
2568
|
-
def
|
|
2569
|
-
self.
|
|
2549
|
+
@BusinessName.setter
|
|
2550
|
+
def BusinessName(self, BusinessName):
|
|
2551
|
+
self._BusinessName = BusinessName
|
|
2552
|
+
|
|
2553
|
+
@property
|
|
2554
|
+
def Type(self):
|
|
2555
|
+
"""特殊处理查询结果
|
|
2556
|
+
:rtype: str
|
|
2557
|
+
"""
|
|
2558
|
+
return self._Type
|
|
2559
|
+
|
|
2560
|
+
@Type.setter
|
|
2561
|
+
def Type(self, Type):
|
|
2562
|
+
self._Type = Type
|
|
2570
2563
|
|
|
2571
2564
|
@property
|
|
2572
2565
|
def Limit(self):
|
|
2573
|
-
"""
|
|
2566
|
+
"""每页大小,默认为1000,合法取值范围为0~1000
|
|
2574
2567
|
:rtype: int
|
|
2575
2568
|
"""
|
|
2576
2569
|
return self._Limit
|
|
@@ -2579,17 +2572,6 @@ class DescribeMetricRecordsRequest(AbstractModel):
|
|
|
2579
2572
|
def Limit(self, Limit):
|
|
2580
2573
|
self._Limit = Limit
|
|
2581
2574
|
|
|
2582
|
-
@property
|
|
2583
|
-
def StartTime(self):
|
|
2584
|
-
"""开始时间
|
|
2585
|
-
:rtype: int
|
|
2586
|
-
"""
|
|
2587
|
-
return self._StartTime
|
|
2588
|
-
|
|
2589
|
-
@StartTime.setter
|
|
2590
|
-
def StartTime(self, StartTime):
|
|
2591
|
-
self._StartTime = StartTime
|
|
2592
|
-
|
|
2593
2575
|
@property
|
|
2594
2576
|
def Offset(self):
|
|
2595
2577
|
"""分页起始点
|
|
@@ -2601,28 +2583,6 @@ class DescribeMetricRecordsRequest(AbstractModel):
|
|
|
2601
2583
|
def Offset(self, Offset):
|
|
2602
2584
|
self._Offset = Offset
|
|
2603
2585
|
|
|
2604
|
-
@property
|
|
2605
|
-
def EndTime(self):
|
|
2606
|
-
"""结束时间
|
|
2607
|
-
:rtype: int
|
|
2608
|
-
"""
|
|
2609
|
-
return self._EndTime
|
|
2610
|
-
|
|
2611
|
-
@EndTime.setter
|
|
2612
|
-
def EndTime(self, EndTime):
|
|
2613
|
-
self._EndTime = EndTime
|
|
2614
|
-
|
|
2615
|
-
@property
|
|
2616
|
-
def BusinessName(self):
|
|
2617
|
-
"""业务名称(默认值:taw)
|
|
2618
|
-
:rtype: str
|
|
2619
|
-
"""
|
|
2620
|
-
return self._BusinessName
|
|
2621
|
-
|
|
2622
|
-
@BusinessName.setter
|
|
2623
|
-
def BusinessName(self, BusinessName):
|
|
2624
|
-
self._BusinessName = BusinessName
|
|
2625
|
-
|
|
2626
2586
|
@property
|
|
2627
2587
|
def PageIndex(self):
|
|
2628
2588
|
"""页码
|
|
@@ -2642,64 +2602,42 @@ class DescribeMetricRecordsRequest(AbstractModel):
|
|
|
2642
2602
|
return self._PageSize
|
|
2643
2603
|
|
|
2644
2604
|
@PageSize.setter
|
|
2645
|
-
def PageSize(self, PageSize):
|
|
2646
|
-
self._PageSize = PageSize
|
|
2647
|
-
|
|
2648
|
-
@property
|
|
2649
|
-
def OrFilters(self):
|
|
2650
|
-
"""Or过滤条件
|
|
2651
|
-
:rtype: list of Filter
|
|
2652
|
-
"""
|
|
2653
|
-
return self._OrFilters
|
|
2654
|
-
|
|
2655
|
-
@OrFilters.setter
|
|
2656
|
-
def OrFilters(self, OrFilters):
|
|
2657
|
-
self._OrFilters = OrFilters
|
|
2658
|
-
|
|
2659
|
-
@property
|
|
2660
|
-
def Type(self):
|
|
2661
|
-
"""数据来源
|
|
2662
|
-
:rtype: str
|
|
2663
|
-
"""
|
|
2664
|
-
return self._Type
|
|
2665
|
-
|
|
2666
|
-
@Type.setter
|
|
2667
|
-
def Type(self, Type):
|
|
2668
|
-
self._Type = Type
|
|
2605
|
+
def PageSize(self, PageSize):
|
|
2606
|
+
self._PageSize = PageSize
|
|
2669
2607
|
|
|
2670
2608
|
|
|
2671
2609
|
def _deserialize(self, params):
|
|
2672
|
-
if params.get("Filters") is not None:
|
|
2673
|
-
self._Filters = []
|
|
2674
|
-
for item in params.get("Filters"):
|
|
2675
|
-
obj = Filter()
|
|
2676
|
-
obj._deserialize(item)
|
|
2677
|
-
self._Filters.append(obj)
|
|
2678
2610
|
if params.get("Metrics") is not None:
|
|
2679
2611
|
self._Metrics = []
|
|
2680
2612
|
for item in params.get("Metrics"):
|
|
2681
2613
|
obj = QueryMetricItem()
|
|
2682
2614
|
obj._deserialize(item)
|
|
2683
2615
|
self._Metrics.append(obj)
|
|
2684
|
-
self._GroupBy = params.get("GroupBy")
|
|
2685
|
-
if params.get("OrderBy") is not None:
|
|
2686
|
-
self._OrderBy = OrderBy()
|
|
2687
|
-
self._OrderBy._deserialize(params.get("OrderBy"))
|
|
2688
2616
|
self._InstanceId = params.get("InstanceId")
|
|
2689
|
-
self._Limit = params.get("Limit")
|
|
2690
2617
|
self._StartTime = params.get("StartTime")
|
|
2691
|
-
self._Offset = params.get("Offset")
|
|
2692
2618
|
self._EndTime = params.get("EndTime")
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2619
|
+
if params.get("Filters") is not None:
|
|
2620
|
+
self._Filters = []
|
|
2621
|
+
for item in params.get("Filters"):
|
|
2622
|
+
obj = Filter()
|
|
2623
|
+
obj._deserialize(item)
|
|
2624
|
+
self._Filters.append(obj)
|
|
2696
2625
|
if params.get("OrFilters") is not None:
|
|
2697
2626
|
self._OrFilters = []
|
|
2698
2627
|
for item in params.get("OrFilters"):
|
|
2699
2628
|
obj = Filter()
|
|
2700
2629
|
obj._deserialize(item)
|
|
2701
2630
|
self._OrFilters.append(obj)
|
|
2631
|
+
self._GroupBy = params.get("GroupBy")
|
|
2632
|
+
if params.get("OrderBy") is not None:
|
|
2633
|
+
self._OrderBy = OrderBy()
|
|
2634
|
+
self._OrderBy._deserialize(params.get("OrderBy"))
|
|
2635
|
+
self._BusinessName = params.get("BusinessName")
|
|
2702
2636
|
self._Type = params.get("Type")
|
|
2637
|
+
self._Limit = params.get("Limit")
|
|
2638
|
+
self._Offset = params.get("Offset")
|
|
2639
|
+
self._PageIndex = params.get("PageIndex")
|
|
2640
|
+
self._PageSize = params.get("PageSize")
|
|
2703
2641
|
memeber_set = set(params.keys())
|
|
2704
2642
|
for name, value in vars(self).items():
|
|
2705
2643
|
property_name = name[1:]
|
|
@@ -2718,10 +2656,8 @@ class DescribeMetricRecordsResponse(AbstractModel):
|
|
|
2718
2656
|
def __init__(self):
|
|
2719
2657
|
r"""
|
|
2720
2658
|
:param _Records: 指标结果集
|
|
2721
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2722
2659
|
:type Records: list of ApmMetricRecord
|
|
2723
2660
|
:param _TotalCount: 查询指标结果集条数
|
|
2724
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2725
2661
|
:type TotalCount: int
|
|
2726
2662
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2727
2663
|
:type RequestId: str
|
|
@@ -2733,7 +2669,6 @@ class DescribeMetricRecordsResponse(AbstractModel):
|
|
|
2733
2669
|
@property
|
|
2734
2670
|
def Records(self):
|
|
2735
2671
|
"""指标结果集
|
|
2736
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2737
2672
|
:rtype: list of ApmMetricRecord
|
|
2738
2673
|
"""
|
|
2739
2674
|
return self._Records
|
|
@@ -2745,7 +2680,6 @@ class DescribeMetricRecordsResponse(AbstractModel):
|
|
|
2745
2680
|
@property
|
|
2746
2681
|
def TotalCount(self):
|
|
2747
2682
|
"""查询指标结果集条数
|
|
2748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2749
2683
|
:rtype: int
|
|
2750
2684
|
"""
|
|
2751
2685
|
return self._TotalCount
|
|
@@ -2784,45 +2718,37 @@ class DescribeServiceOverviewRequest(AbstractModel):
|
|
|
2784
2718
|
|
|
2785
2719
|
def __init__(self):
|
|
2786
2720
|
r"""
|
|
2787
|
-
:param _Filters: 过滤条件
|
|
2788
|
-
:type Filters: list of Filter
|
|
2789
2721
|
:param _Metrics: 指标列表
|
|
2790
2722
|
:type Metrics: list of QueryMetricItem
|
|
2723
|
+
:param _InstanceId: 业务系统 ID
|
|
2724
|
+
:type InstanceId: str
|
|
2725
|
+
:param _Filters: 过滤条件
|
|
2726
|
+
:type Filters: list of Filter
|
|
2791
2727
|
:param _GroupBy: 聚合维度
|
|
2792
2728
|
:type GroupBy: list of str
|
|
2793
|
-
:param
|
|
2729
|
+
:param _StartTime: 开始时间(单位:秒)
|
|
2730
|
+
:type StartTime: int
|
|
2731
|
+
:param _EndTime: 结束时间(单位:秒)
|
|
2732
|
+
:type EndTime: int
|
|
2733
|
+
:param _OrderBy: 排序方式
|
|
2734
|
+
Value 填写:
|
|
2735
|
+
- asc:对查询指标进行升序排序
|
|
2736
|
+
- desc:对查询指标进行降序排序
|
|
2794
2737
|
:type OrderBy: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2795
|
-
:param _InstanceId: 实例ID
|
|
2796
|
-
:type InstanceId: str
|
|
2797
2738
|
:param _Limit: 每页大小
|
|
2798
2739
|
:type Limit: int
|
|
2799
|
-
:param _StartTime: 开始时间
|
|
2800
|
-
:type StartTime: int
|
|
2801
2740
|
:param _Offset: 分页起始点
|
|
2802
2741
|
:type Offset: int
|
|
2803
|
-
:param _EndTime: 结束时间
|
|
2804
|
-
:type EndTime: int
|
|
2805
2742
|
"""
|
|
2806
|
-
self._Filters = None
|
|
2807
2743
|
self._Metrics = None
|
|
2744
|
+
self._InstanceId = None
|
|
2745
|
+
self._Filters = None
|
|
2808
2746
|
self._GroupBy = None
|
|
2747
|
+
self._StartTime = None
|
|
2748
|
+
self._EndTime = None
|
|
2809
2749
|
self._OrderBy = None
|
|
2810
|
-
self._InstanceId = None
|
|
2811
2750
|
self._Limit = None
|
|
2812
|
-
self._StartTime = None
|
|
2813
2751
|
self._Offset = None
|
|
2814
|
-
self._EndTime = None
|
|
2815
|
-
|
|
2816
|
-
@property
|
|
2817
|
-
def Filters(self):
|
|
2818
|
-
"""过滤条件
|
|
2819
|
-
:rtype: list of Filter
|
|
2820
|
-
"""
|
|
2821
|
-
return self._Filters
|
|
2822
|
-
|
|
2823
|
-
@Filters.setter
|
|
2824
|
-
def Filters(self, Filters):
|
|
2825
|
-
self._Filters = Filters
|
|
2826
2752
|
|
|
2827
2753
|
@property
|
|
2828
2754
|
def Metrics(self):
|
|
@@ -2835,6 +2761,28 @@ class DescribeServiceOverviewRequest(AbstractModel):
|
|
|
2835
2761
|
def Metrics(self, Metrics):
|
|
2836
2762
|
self._Metrics = Metrics
|
|
2837
2763
|
|
|
2764
|
+
@property
|
|
2765
|
+
def InstanceId(self):
|
|
2766
|
+
"""业务系统 ID
|
|
2767
|
+
:rtype: str
|
|
2768
|
+
"""
|
|
2769
|
+
return self._InstanceId
|
|
2770
|
+
|
|
2771
|
+
@InstanceId.setter
|
|
2772
|
+
def InstanceId(self, InstanceId):
|
|
2773
|
+
self._InstanceId = InstanceId
|
|
2774
|
+
|
|
2775
|
+
@property
|
|
2776
|
+
def Filters(self):
|
|
2777
|
+
"""过滤条件
|
|
2778
|
+
:rtype: list of Filter
|
|
2779
|
+
"""
|
|
2780
|
+
return self._Filters
|
|
2781
|
+
|
|
2782
|
+
@Filters.setter
|
|
2783
|
+
def Filters(self, Filters):
|
|
2784
|
+
self._Filters = Filters
|
|
2785
|
+
|
|
2838
2786
|
@property
|
|
2839
2787
|
def GroupBy(self):
|
|
2840
2788
|
"""聚合维度
|
|
@@ -2846,9 +2794,34 @@ class DescribeServiceOverviewRequest(AbstractModel):
|
|
|
2846
2794
|
def GroupBy(self, GroupBy):
|
|
2847
2795
|
self._GroupBy = GroupBy
|
|
2848
2796
|
|
|
2797
|
+
@property
|
|
2798
|
+
def StartTime(self):
|
|
2799
|
+
"""开始时间(单位:秒)
|
|
2800
|
+
:rtype: int
|
|
2801
|
+
"""
|
|
2802
|
+
return self._StartTime
|
|
2803
|
+
|
|
2804
|
+
@StartTime.setter
|
|
2805
|
+
def StartTime(self, StartTime):
|
|
2806
|
+
self._StartTime = StartTime
|
|
2807
|
+
|
|
2808
|
+
@property
|
|
2809
|
+
def EndTime(self):
|
|
2810
|
+
"""结束时间(单位:秒)
|
|
2811
|
+
:rtype: int
|
|
2812
|
+
"""
|
|
2813
|
+
return self._EndTime
|
|
2814
|
+
|
|
2815
|
+
@EndTime.setter
|
|
2816
|
+
def EndTime(self, EndTime):
|
|
2817
|
+
self._EndTime = EndTime
|
|
2818
|
+
|
|
2849
2819
|
@property
|
|
2850
2820
|
def OrderBy(self):
|
|
2851
|
-
"""
|
|
2821
|
+
"""排序方式
|
|
2822
|
+
Value 填写:
|
|
2823
|
+
- asc:对查询指标进行升序排序
|
|
2824
|
+
- desc:对查询指标进行降序排序
|
|
2852
2825
|
:rtype: :class:`tencentcloud.apm.v20210622.models.OrderBy`
|
|
2853
2826
|
"""
|
|
2854
2827
|
return self._OrderBy
|
|
@@ -2857,17 +2830,6 @@ class DescribeServiceOverviewRequest(AbstractModel):
|
|
|
2857
2830
|
def OrderBy(self, OrderBy):
|
|
2858
2831
|
self._OrderBy = OrderBy
|
|
2859
2832
|
|
|
2860
|
-
@property
|
|
2861
|
-
def InstanceId(self):
|
|
2862
|
-
"""实例ID
|
|
2863
|
-
:rtype: str
|
|
2864
|
-
"""
|
|
2865
|
-
return self._InstanceId
|
|
2866
|
-
|
|
2867
|
-
@InstanceId.setter
|
|
2868
|
-
def InstanceId(self, InstanceId):
|
|
2869
|
-
self._InstanceId = InstanceId
|
|
2870
|
-
|
|
2871
2833
|
@property
|
|
2872
2834
|
def Limit(self):
|
|
2873
2835
|
"""每页大小
|
|
@@ -2879,17 +2841,6 @@ class DescribeServiceOverviewRequest(AbstractModel):
|
|
|
2879
2841
|
def Limit(self, Limit):
|
|
2880
2842
|
self._Limit = Limit
|
|
2881
2843
|
|
|
2882
|
-
@property
|
|
2883
|
-
def StartTime(self):
|
|
2884
|
-
"""开始时间
|
|
2885
|
-
:rtype: int
|
|
2886
|
-
"""
|
|
2887
|
-
return self._StartTime
|
|
2888
|
-
|
|
2889
|
-
@StartTime.setter
|
|
2890
|
-
def StartTime(self, StartTime):
|
|
2891
|
-
self._StartTime = StartTime
|
|
2892
|
-
|
|
2893
2844
|
@property
|
|
2894
2845
|
def Offset(self):
|
|
2895
2846
|
"""分页起始点
|
|
@@ -2901,40 +2852,29 @@ class DescribeServiceOverviewRequest(AbstractModel):
|
|
|
2901
2852
|
def Offset(self, Offset):
|
|
2902
2853
|
self._Offset = Offset
|
|
2903
2854
|
|
|
2904
|
-
@property
|
|
2905
|
-
def EndTime(self):
|
|
2906
|
-
"""结束时间
|
|
2907
|
-
:rtype: int
|
|
2908
|
-
"""
|
|
2909
|
-
return self._EndTime
|
|
2910
|
-
|
|
2911
|
-
@EndTime.setter
|
|
2912
|
-
def EndTime(self, EndTime):
|
|
2913
|
-
self._EndTime = EndTime
|
|
2914
|
-
|
|
2915
2855
|
|
|
2916
2856
|
def _deserialize(self, params):
|
|
2917
|
-
if params.get("Filters") is not None:
|
|
2918
|
-
self._Filters = []
|
|
2919
|
-
for item in params.get("Filters"):
|
|
2920
|
-
obj = Filter()
|
|
2921
|
-
obj._deserialize(item)
|
|
2922
|
-
self._Filters.append(obj)
|
|
2923
2857
|
if params.get("Metrics") is not None:
|
|
2924
2858
|
self._Metrics = []
|
|
2925
2859
|
for item in params.get("Metrics"):
|
|
2926
2860
|
obj = QueryMetricItem()
|
|
2927
2861
|
obj._deserialize(item)
|
|
2928
2862
|
self._Metrics.append(obj)
|
|
2863
|
+
self._InstanceId = params.get("InstanceId")
|
|
2864
|
+
if params.get("Filters") is not None:
|
|
2865
|
+
self._Filters = []
|
|
2866
|
+
for item in params.get("Filters"):
|
|
2867
|
+
obj = Filter()
|
|
2868
|
+
obj._deserialize(item)
|
|
2869
|
+
self._Filters.append(obj)
|
|
2929
2870
|
self._GroupBy = params.get("GroupBy")
|
|
2871
|
+
self._StartTime = params.get("StartTime")
|
|
2872
|
+
self._EndTime = params.get("EndTime")
|
|
2930
2873
|
if params.get("OrderBy") is not None:
|
|
2931
2874
|
self._OrderBy = OrderBy()
|
|
2932
2875
|
self._OrderBy._deserialize(params.get("OrderBy"))
|
|
2933
|
-
self._InstanceId = params.get("InstanceId")
|
|
2934
2876
|
self._Limit = params.get("Limit")
|
|
2935
|
-
self._StartTime = params.get("StartTime")
|
|
2936
2877
|
self._Offset = params.get("Offset")
|
|
2937
|
-
self._EndTime = params.get("EndTime")
|
|
2938
2878
|
memeber_set = set(params.keys())
|
|
2939
2879
|
for name, value in vars(self).items():
|
|
2940
2880
|
property_name = name[1:]
|
|
@@ -2953,7 +2893,6 @@ class DescribeServiceOverviewResponse(AbstractModel):
|
|
|
2953
2893
|
def __init__(self):
|
|
2954
2894
|
r"""
|
|
2955
2895
|
:param _Records: 指标结果集
|
|
2956
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2957
2896
|
:type Records: list of ApmMetricRecord
|
|
2958
2897
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2959
2898
|
:type RequestId: str
|
|
@@ -2964,7 +2903,6 @@ class DescribeServiceOverviewResponse(AbstractModel):
|
|
|
2964
2903
|
@property
|
|
2965
2904
|
def Records(self):
|
|
2966
2905
|
"""指标结果集
|
|
2967
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2968
2906
|
:rtype: list of ApmMetricRecord
|
|
2969
2907
|
"""
|
|
2970
2908
|
return self._Records
|
|
@@ -3004,24 +2942,24 @@ class DescribeTagValuesRequest(AbstractModel):
|
|
|
3004
2942
|
r"""
|
|
3005
2943
|
:param _TagKey: 维度名
|
|
3006
2944
|
:type TagKey: str
|
|
3007
|
-
:param _InstanceId:
|
|
2945
|
+
:param _InstanceId: 业务系统 ID
|
|
3008
2946
|
:type InstanceId: str
|
|
3009
|
-
:param _EndTime: 结束时间
|
|
3010
|
-
:type EndTime: int
|
|
3011
2947
|
:param _Filters: 过滤条件
|
|
3012
2948
|
:type Filters: list of Filter
|
|
3013
|
-
:param _StartTime:
|
|
2949
|
+
:param _StartTime: 开始时间(单位为秒)
|
|
3014
2950
|
:type StartTime: int
|
|
3015
|
-
:param
|
|
2951
|
+
:param _EndTime: 结束时间(单位为秒)
|
|
2952
|
+
:type EndTime: int
|
|
2953
|
+
:param _OrFilters: Or 过滤条件
|
|
3016
2954
|
:type OrFilters: list of Filter
|
|
3017
2955
|
:param _Type: 使用类型
|
|
3018
2956
|
:type Type: str
|
|
3019
2957
|
"""
|
|
3020
2958
|
self._TagKey = None
|
|
3021
2959
|
self._InstanceId = None
|
|
3022
|
-
self._EndTime = None
|
|
3023
2960
|
self._Filters = None
|
|
3024
2961
|
self._StartTime = None
|
|
2962
|
+
self._EndTime = None
|
|
3025
2963
|
self._OrFilters = None
|
|
3026
2964
|
self._Type = None
|
|
3027
2965
|
|
|
@@ -3038,7 +2976,7 @@ class DescribeTagValuesRequest(AbstractModel):
|
|
|
3038
2976
|
|
|
3039
2977
|
@property
|
|
3040
2978
|
def InstanceId(self):
|
|
3041
|
-
"""
|
|
2979
|
+
"""业务系统 ID
|
|
3042
2980
|
:rtype: str
|
|
3043
2981
|
"""
|
|
3044
2982
|
return self._InstanceId
|
|
@@ -3047,17 +2985,6 @@ class DescribeTagValuesRequest(AbstractModel):
|
|
|
3047
2985
|
def InstanceId(self, InstanceId):
|
|
3048
2986
|
self._InstanceId = InstanceId
|
|
3049
2987
|
|
|
3050
|
-
@property
|
|
3051
|
-
def EndTime(self):
|
|
3052
|
-
"""结束时间
|
|
3053
|
-
:rtype: int
|
|
3054
|
-
"""
|
|
3055
|
-
return self._EndTime
|
|
3056
|
-
|
|
3057
|
-
@EndTime.setter
|
|
3058
|
-
def EndTime(self, EndTime):
|
|
3059
|
-
self._EndTime = EndTime
|
|
3060
|
-
|
|
3061
2988
|
@property
|
|
3062
2989
|
def Filters(self):
|
|
3063
2990
|
"""过滤条件
|
|
@@ -3071,7 +2998,7 @@ class DescribeTagValuesRequest(AbstractModel):
|
|
|
3071
2998
|
|
|
3072
2999
|
@property
|
|
3073
3000
|
def StartTime(self):
|
|
3074
|
-
"""
|
|
3001
|
+
"""开始时间(单位为秒)
|
|
3075
3002
|
:rtype: int
|
|
3076
3003
|
"""
|
|
3077
3004
|
return self._StartTime
|
|
@@ -3080,9 +3007,20 @@ class DescribeTagValuesRequest(AbstractModel):
|
|
|
3080
3007
|
def StartTime(self, StartTime):
|
|
3081
3008
|
self._StartTime = StartTime
|
|
3082
3009
|
|
|
3010
|
+
@property
|
|
3011
|
+
def EndTime(self):
|
|
3012
|
+
"""结束时间(单位为秒)
|
|
3013
|
+
:rtype: int
|
|
3014
|
+
"""
|
|
3015
|
+
return self._EndTime
|
|
3016
|
+
|
|
3017
|
+
@EndTime.setter
|
|
3018
|
+
def EndTime(self, EndTime):
|
|
3019
|
+
self._EndTime = EndTime
|
|
3020
|
+
|
|
3083
3021
|
@property
|
|
3084
3022
|
def OrFilters(self):
|
|
3085
|
-
"""Or过滤条件
|
|
3023
|
+
"""Or 过滤条件
|
|
3086
3024
|
:rtype: list of Filter
|
|
3087
3025
|
"""
|
|
3088
3026
|
return self._OrFilters
|
|
@@ -3106,7 +3044,6 @@ class DescribeTagValuesRequest(AbstractModel):
|
|
|
3106
3044
|
def _deserialize(self, params):
|
|
3107
3045
|
self._TagKey = params.get("TagKey")
|
|
3108
3046
|
self._InstanceId = params.get("InstanceId")
|
|
3109
|
-
self._EndTime = params.get("EndTime")
|
|
3110
3047
|
if params.get("Filters") is not None:
|
|
3111
3048
|
self._Filters = []
|
|
3112
3049
|
for item in params.get("Filters"):
|
|
@@ -3114,6 +3051,7 @@ class DescribeTagValuesRequest(AbstractModel):
|
|
|
3114
3051
|
obj._deserialize(item)
|
|
3115
3052
|
self._Filters.append(obj)
|
|
3116
3053
|
self._StartTime = params.get("StartTime")
|
|
3054
|
+
self._EndTime = params.get("EndTime")
|
|
3117
3055
|
if params.get("OrFilters") is not None:
|
|
3118
3056
|
self._OrFilters = []
|
|
3119
3057
|
for item in params.get("OrFilters"):
|
|
@@ -3182,13 +3120,10 @@ class Filter(AbstractModel):
|
|
|
3182
3120
|
def __init__(self):
|
|
3183
3121
|
r"""
|
|
3184
3122
|
:param _Type: 过滤方式(=, !=, in)
|
|
3185
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3186
3123
|
:type Type: str
|
|
3187
3124
|
:param _Key: 过滤维度名
|
|
3188
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3189
3125
|
:type Key: str
|
|
3190
3126
|
:param _Value: 过滤值,in过滤方式用逗号分割多个值
|
|
3191
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3192
3127
|
:type Value: str
|
|
3193
3128
|
"""
|
|
3194
3129
|
self._Type = None
|
|
@@ -3198,7 +3133,6 @@ class Filter(AbstractModel):
|
|
|
3198
3133
|
@property
|
|
3199
3134
|
def Type(self):
|
|
3200
3135
|
"""过滤方式(=, !=, in)
|
|
3201
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3202
3136
|
:rtype: str
|
|
3203
3137
|
"""
|
|
3204
3138
|
return self._Type
|
|
@@ -3210,7 +3144,6 @@ class Filter(AbstractModel):
|
|
|
3210
3144
|
@property
|
|
3211
3145
|
def Key(self):
|
|
3212
3146
|
"""过滤维度名
|
|
3213
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3214
3147
|
:rtype: str
|
|
3215
3148
|
"""
|
|
3216
3149
|
return self._Key
|
|
@@ -3222,7 +3155,6 @@ class Filter(AbstractModel):
|
|
|
3222
3155
|
@property
|
|
3223
3156
|
def Value(self):
|
|
3224
3157
|
"""过滤值,in过滤方式用逗号分割多个值
|
|
3225
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3226
3158
|
:rtype: str
|
|
3227
3159
|
"""
|
|
3228
3160
|
return self._Value
|
|
@@ -3305,10 +3237,8 @@ class Instrument(AbstractModel):
|
|
|
3305
3237
|
def __init__(self):
|
|
3306
3238
|
r"""
|
|
3307
3239
|
:param _Name: 组件名称
|
|
3308
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3309
3240
|
:type Name: str
|
|
3310
3241
|
:param _Enable: 组件开关
|
|
3311
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3312
3242
|
:type Enable: bool
|
|
3313
3243
|
"""
|
|
3314
3244
|
self._Name = None
|
|
@@ -3317,7 +3247,6 @@ class Instrument(AbstractModel):
|
|
|
3317
3247
|
@property
|
|
3318
3248
|
def Name(self):
|
|
3319
3249
|
"""组件名称
|
|
3320
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3321
3250
|
:rtype: str
|
|
3322
3251
|
"""
|
|
3323
3252
|
return self._Name
|
|
@@ -3329,7 +3258,6 @@ class Instrument(AbstractModel):
|
|
|
3329
3258
|
@property
|
|
3330
3259
|
def Enable(self):
|
|
3331
3260
|
"""组件开关
|
|
3332
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3333
3261
|
:rtype: bool
|
|
3334
3262
|
"""
|
|
3335
3263
|
return self._Enable
|
|
@@ -3366,10 +3294,8 @@ class Line(AbstractModel):
|
|
|
3366
3294
|
:param _TimeSerial: 时间序列
|
|
3367
3295
|
:type TimeSerial: list of int
|
|
3368
3296
|
:param _DataSerial: 数据序列
|
|
3369
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3370
3297
|
:type DataSerial: list of float
|
|
3371
3298
|
:param _Tags: 维度列表
|
|
3372
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3373
3299
|
:type Tags: list of ApmTag
|
|
3374
3300
|
"""
|
|
3375
3301
|
self._MetricName = None
|
|
@@ -3414,7 +3340,6 @@ class Line(AbstractModel):
|
|
|
3414
3340
|
@property
|
|
3415
3341
|
def DataSerial(self):
|
|
3416
3342
|
"""数据序列
|
|
3417
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3418
3343
|
:rtype: list of float
|
|
3419
3344
|
"""
|
|
3420
3345
|
return self._DataSerial
|
|
@@ -3426,7 +3351,6 @@ class Line(AbstractModel):
|
|
|
3426
3351
|
@property
|
|
3427
3352
|
def Tags(self):
|
|
3428
3353
|
"""维度列表
|
|
3429
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3430
3354
|
:rtype: list of ApmTag
|
|
3431
3355
|
"""
|
|
3432
3356
|
return self._Tags
|
|
@@ -3464,55 +3388,53 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3464
3388
|
|
|
3465
3389
|
def __init__(self):
|
|
3466
3390
|
r"""
|
|
3467
|
-
:param _InstanceId:
|
|
3391
|
+
:param _InstanceId: 业务系统 ID
|
|
3468
3392
|
:type InstanceId: str
|
|
3469
|
-
:param _Name:
|
|
3393
|
+
:param _Name: 业务系统名
|
|
3470
3394
|
:type Name: str
|
|
3471
|
-
:param _Tags:
|
|
3395
|
+
:param _Tags: Tag 列表
|
|
3472
3396
|
:type Tags: list of ApmTag
|
|
3473
|
-
:param _Description:
|
|
3397
|
+
:param _Description: 业务系统描述
|
|
3474
3398
|
:type Description: str
|
|
3475
|
-
:param _TraceDuration: Trace
|
|
3399
|
+
:param _TraceDuration: Trace 数据保存时长(单位:天)
|
|
3476
3400
|
:type TraceDuration: int
|
|
3477
3401
|
:param _OpenBilling: 是否开启计费
|
|
3478
3402
|
:type OpenBilling: bool
|
|
3479
|
-
:param _SpanDailyCounters:
|
|
3403
|
+
:param _SpanDailyCounters: 业务系统上报额度
|
|
3480
3404
|
:type SpanDailyCounters: int
|
|
3481
|
-
:param _ErrRateThreshold:
|
|
3405
|
+
:param _ErrRateThreshold: 错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。
|
|
3482
3406
|
:type ErrRateThreshold: int
|
|
3483
|
-
:param _SampleRate:
|
|
3407
|
+
:param _SampleRate: 采样率(单位:%)
|
|
3484
3408
|
:type SampleRate: int
|
|
3485
|
-
:param _ErrorSample:
|
|
3409
|
+
:param _ErrorSample: 是否开启错误采样(0=关, 1=开)
|
|
3486
3410
|
:type ErrorSample: int
|
|
3487
|
-
:param _SlowRequestSavedThreshold:
|
|
3411
|
+
:param _SlowRequestSavedThreshold: 采样慢调用保存阈值(单位:ms)
|
|
3488
3412
|
:type SlowRequestSavedThreshold: int
|
|
3489
|
-
:param _IsRelatedLog:
|
|
3413
|
+
:param _IsRelatedLog: 是否开启日志功能(0=关, 1=开)
|
|
3490
3414
|
:type IsRelatedLog: int
|
|
3491
|
-
:param _LogRegion:
|
|
3415
|
+
:param _LogRegion: 日志地域,开启日志功能后才会生效
|
|
3492
3416
|
:type LogRegion: str
|
|
3493
|
-
:param _LogTopicID: CLS日志主题ID
|
|
3417
|
+
:param _LogTopicID: CLS 日志主题 ID,开启日志功能后才会生效
|
|
3494
3418
|
:type LogTopicID: str
|
|
3495
|
-
:param _LogSet:
|
|
3419
|
+
:param _LogSet: 日志集,开启日志功能后才会生效
|
|
3496
3420
|
:type LogSet: str
|
|
3497
|
-
:param _LogSource:
|
|
3421
|
+
:param _LogSource: 日志源,开启日志功能后才会生效
|
|
3498
3422
|
:type LogSource: str
|
|
3499
3423
|
:param _CustomShowTags: 用户自定义展示标签列表
|
|
3500
3424
|
:type CustomShowTags: list of str
|
|
3501
|
-
:param _PayMode:
|
|
3502
|
-
1为预付费
|
|
3503
|
-
0为按量付费
|
|
3425
|
+
:param _PayMode: 修改计费模式(1为预付费,0为按量付费)
|
|
3504
3426
|
:type PayMode: int
|
|
3505
|
-
:param _ResponseDurationWarningThreshold:
|
|
3427
|
+
:param _ResponseDurationWarningThreshold: 响应时间警示线
|
|
3506
3428
|
:type ResponseDurationWarningThreshold: int
|
|
3507
|
-
:param _Free:
|
|
3429
|
+
:param _Free: 是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0
|
|
3508
3430
|
:type Free: int
|
|
3509
|
-
:param _IsRelatedDashboard: 是否关联
|
|
3431
|
+
:param _IsRelatedDashboard: 是否关联 Dashboard(0=关,1=开)
|
|
3510
3432
|
:type IsRelatedDashboard: int
|
|
3511
|
-
:param _DashboardTopicID:
|
|
3433
|
+
:param _DashboardTopicID: 关联的 Dashboard ID,开启关联 Dashboard 后才会生效
|
|
3512
3434
|
:type DashboardTopicID: str
|
|
3513
|
-
:param _IsSqlInjectionAnalysis: 是否开启SQL
|
|
3435
|
+
:param _IsSqlInjectionAnalysis: 是否开启 SQL 注入检测(0=关,1=开)
|
|
3514
3436
|
:type IsSqlInjectionAnalysis: int
|
|
3515
|
-
:param _IsInstrumentationVulnerabilityScan:
|
|
3437
|
+
:param _IsInstrumentationVulnerabilityScan: 是否开启组件漏洞检测(0=关,1=开)
|
|
3516
3438
|
:type IsInstrumentationVulnerabilityScan: int
|
|
3517
3439
|
"""
|
|
3518
3440
|
self._InstanceId = None
|
|
@@ -3542,7 +3464,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3542
3464
|
|
|
3543
3465
|
@property
|
|
3544
3466
|
def InstanceId(self):
|
|
3545
|
-
"""
|
|
3467
|
+
"""业务系统 ID
|
|
3546
3468
|
:rtype: str
|
|
3547
3469
|
"""
|
|
3548
3470
|
return self._InstanceId
|
|
@@ -3553,7 +3475,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3553
3475
|
|
|
3554
3476
|
@property
|
|
3555
3477
|
def Name(self):
|
|
3556
|
-
"""
|
|
3478
|
+
"""业务系统名
|
|
3557
3479
|
:rtype: str
|
|
3558
3480
|
"""
|
|
3559
3481
|
return self._Name
|
|
@@ -3564,7 +3486,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3564
3486
|
|
|
3565
3487
|
@property
|
|
3566
3488
|
def Tags(self):
|
|
3567
|
-
"""
|
|
3489
|
+
"""Tag 列表
|
|
3568
3490
|
:rtype: list of ApmTag
|
|
3569
3491
|
"""
|
|
3570
3492
|
return self._Tags
|
|
@@ -3575,7 +3497,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3575
3497
|
|
|
3576
3498
|
@property
|
|
3577
3499
|
def Description(self):
|
|
3578
|
-
"""
|
|
3500
|
+
"""业务系统描述
|
|
3579
3501
|
:rtype: str
|
|
3580
3502
|
"""
|
|
3581
3503
|
return self._Description
|
|
@@ -3586,7 +3508,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3586
3508
|
|
|
3587
3509
|
@property
|
|
3588
3510
|
def TraceDuration(self):
|
|
3589
|
-
"""Trace
|
|
3511
|
+
"""Trace 数据保存时长(单位:天)
|
|
3590
3512
|
:rtype: int
|
|
3591
3513
|
"""
|
|
3592
3514
|
return self._TraceDuration
|
|
@@ -3608,7 +3530,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3608
3530
|
|
|
3609
3531
|
@property
|
|
3610
3532
|
def SpanDailyCounters(self):
|
|
3611
|
-
"""
|
|
3533
|
+
"""业务系统上报额度
|
|
3612
3534
|
:rtype: int
|
|
3613
3535
|
"""
|
|
3614
3536
|
return self._SpanDailyCounters
|
|
@@ -3619,7 +3541,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3619
3541
|
|
|
3620
3542
|
@property
|
|
3621
3543
|
def ErrRateThreshold(self):
|
|
3622
|
-
"""
|
|
3544
|
+
"""错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。
|
|
3623
3545
|
:rtype: int
|
|
3624
3546
|
"""
|
|
3625
3547
|
return self._ErrRateThreshold
|
|
@@ -3630,7 +3552,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3630
3552
|
|
|
3631
3553
|
@property
|
|
3632
3554
|
def SampleRate(self):
|
|
3633
|
-
"""
|
|
3555
|
+
"""采样率(单位:%)
|
|
3634
3556
|
:rtype: int
|
|
3635
3557
|
"""
|
|
3636
3558
|
return self._SampleRate
|
|
@@ -3641,7 +3563,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3641
3563
|
|
|
3642
3564
|
@property
|
|
3643
3565
|
def ErrorSample(self):
|
|
3644
|
-
"""
|
|
3566
|
+
"""是否开启错误采样(0=关, 1=开)
|
|
3645
3567
|
:rtype: int
|
|
3646
3568
|
"""
|
|
3647
3569
|
return self._ErrorSample
|
|
@@ -3652,7 +3574,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3652
3574
|
|
|
3653
3575
|
@property
|
|
3654
3576
|
def SlowRequestSavedThreshold(self):
|
|
3655
|
-
"""
|
|
3577
|
+
"""采样慢调用保存阈值(单位:ms)
|
|
3656
3578
|
:rtype: int
|
|
3657
3579
|
"""
|
|
3658
3580
|
return self._SlowRequestSavedThreshold
|
|
@@ -3663,7 +3585,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3663
3585
|
|
|
3664
3586
|
@property
|
|
3665
3587
|
def IsRelatedLog(self):
|
|
3666
|
-
"""
|
|
3588
|
+
"""是否开启日志功能(0=关, 1=开)
|
|
3667
3589
|
:rtype: int
|
|
3668
3590
|
"""
|
|
3669
3591
|
return self._IsRelatedLog
|
|
@@ -3674,7 +3596,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3674
3596
|
|
|
3675
3597
|
@property
|
|
3676
3598
|
def LogRegion(self):
|
|
3677
|
-
"""
|
|
3599
|
+
"""日志地域,开启日志功能后才会生效
|
|
3678
3600
|
:rtype: str
|
|
3679
3601
|
"""
|
|
3680
3602
|
return self._LogRegion
|
|
@@ -3685,7 +3607,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3685
3607
|
|
|
3686
3608
|
@property
|
|
3687
3609
|
def LogTopicID(self):
|
|
3688
|
-
"""CLS日志主题ID
|
|
3610
|
+
"""CLS 日志主题 ID,开启日志功能后才会生效
|
|
3689
3611
|
:rtype: str
|
|
3690
3612
|
"""
|
|
3691
3613
|
return self._LogTopicID
|
|
@@ -3696,7 +3618,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3696
3618
|
|
|
3697
3619
|
@property
|
|
3698
3620
|
def LogSet(self):
|
|
3699
|
-
"""
|
|
3621
|
+
"""日志集,开启日志功能后才会生效
|
|
3700
3622
|
:rtype: str
|
|
3701
3623
|
"""
|
|
3702
3624
|
return self._LogSet
|
|
@@ -3707,7 +3629,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3707
3629
|
|
|
3708
3630
|
@property
|
|
3709
3631
|
def LogSource(self):
|
|
3710
|
-
"""
|
|
3632
|
+
"""日志源,开启日志功能后才会生效
|
|
3711
3633
|
:rtype: str
|
|
3712
3634
|
"""
|
|
3713
3635
|
return self._LogSource
|
|
@@ -3729,9 +3651,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3729
3651
|
|
|
3730
3652
|
@property
|
|
3731
3653
|
def PayMode(self):
|
|
3732
|
-
"""
|
|
3733
|
-
1为预付费
|
|
3734
|
-
0为按量付费
|
|
3654
|
+
"""修改计费模式(1为预付费,0为按量付费)
|
|
3735
3655
|
:rtype: int
|
|
3736
3656
|
"""
|
|
3737
3657
|
return self._PayMode
|
|
@@ -3742,7 +3662,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3742
3662
|
|
|
3743
3663
|
@property
|
|
3744
3664
|
def ResponseDurationWarningThreshold(self):
|
|
3745
|
-
"""
|
|
3665
|
+
"""响应时间警示线
|
|
3746
3666
|
:rtype: int
|
|
3747
3667
|
"""
|
|
3748
3668
|
return self._ResponseDurationWarningThreshold
|
|
@@ -3753,7 +3673,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3753
3673
|
|
|
3754
3674
|
@property
|
|
3755
3675
|
def Free(self):
|
|
3756
|
-
"""
|
|
3676
|
+
"""是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0
|
|
3757
3677
|
:rtype: int
|
|
3758
3678
|
"""
|
|
3759
3679
|
return self._Free
|
|
@@ -3764,7 +3684,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3764
3684
|
|
|
3765
3685
|
@property
|
|
3766
3686
|
def IsRelatedDashboard(self):
|
|
3767
|
-
"""是否关联
|
|
3687
|
+
"""是否关联 Dashboard(0=关,1=开)
|
|
3768
3688
|
:rtype: int
|
|
3769
3689
|
"""
|
|
3770
3690
|
return self._IsRelatedDashboard
|
|
@@ -3775,7 +3695,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3775
3695
|
|
|
3776
3696
|
@property
|
|
3777
3697
|
def DashboardTopicID(self):
|
|
3778
|
-
"""
|
|
3698
|
+
"""关联的 Dashboard ID,开启关联 Dashboard 后才会生效
|
|
3779
3699
|
:rtype: str
|
|
3780
3700
|
"""
|
|
3781
3701
|
return self._DashboardTopicID
|
|
@@ -3786,7 +3706,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3786
3706
|
|
|
3787
3707
|
@property
|
|
3788
3708
|
def IsSqlInjectionAnalysis(self):
|
|
3789
|
-
"""是否开启SQL
|
|
3709
|
+
"""是否开启 SQL 注入检测(0=关,1=开)
|
|
3790
3710
|
:rtype: int
|
|
3791
3711
|
"""
|
|
3792
3712
|
return self._IsSqlInjectionAnalysis
|
|
@@ -3797,7 +3717,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
3797
3717
|
|
|
3798
3718
|
@property
|
|
3799
3719
|
def IsInstrumentationVulnerabilityScan(self):
|
|
3800
|
-
"""
|
|
3720
|
+
"""是否开启组件漏洞检测(0=关,1=开)
|
|
3801
3721
|
:rtype: int
|
|
3802
3722
|
"""
|
|
3803
3723
|
return self._IsInstrumentationVulnerabilityScan
|
|
@@ -3992,15 +3912,15 @@ class ModifyGeneralApmApplicationConfigResponse(AbstractModel):
|
|
|
3992
3912
|
|
|
3993
3913
|
|
|
3994
3914
|
class OrderBy(AbstractModel):
|
|
3995
|
-
"""
|
|
3915
|
+
"""排序字段
|
|
3996
3916
|
|
|
3997
3917
|
"""
|
|
3998
3918
|
|
|
3999
3919
|
def __init__(self):
|
|
4000
3920
|
r"""
|
|
4001
|
-
:param _Key:
|
|
3921
|
+
:param _Key: 需要排序的字段,现支持 startTIme, endTime, duration
|
|
4002
3922
|
:type Key: str
|
|
4003
|
-
:param _Value:
|
|
3923
|
+
:param _Value: asc 顺序排序 / desc 倒序排序
|
|
4004
3924
|
:type Value: str
|
|
4005
3925
|
"""
|
|
4006
3926
|
self._Key = None
|
|
@@ -4008,7 +3928,7 @@ class OrderBy(AbstractModel):
|
|
|
4008
3928
|
|
|
4009
3929
|
@property
|
|
4010
3930
|
def Key(self):
|
|
4011
|
-
"""
|
|
3931
|
+
"""需要排序的字段,现支持 startTIme, endTime, duration
|
|
4012
3932
|
:rtype: str
|
|
4013
3933
|
"""
|
|
4014
3934
|
return self._Key
|
|
@@ -4019,7 +3939,7 @@ class OrderBy(AbstractModel):
|
|
|
4019
3939
|
|
|
4020
3940
|
@property
|
|
4021
3941
|
def Value(self):
|
|
4022
|
-
"""
|
|
3942
|
+
"""asc 顺序排序 / desc 倒序排序
|
|
4023
3943
|
:rtype: str
|
|
4024
3944
|
"""
|
|
4025
3945
|
return self._Value
|
|
@@ -4051,14 +3971,14 @@ class QueryMetricItem(AbstractModel):
|
|
|
4051
3971
|
r"""
|
|
4052
3972
|
:param _MetricName: 指标名
|
|
4053
3973
|
:type MetricName: str
|
|
3974
|
+
:param _Compares: 同比,现支持 CompareByYesterday (与昨天相比)和CompareByLastWeek (与上周相比)
|
|
3975
|
+
:type Compares: list of str
|
|
4054
3976
|
:param _Compare: 同比,已弃用,不建议使用
|
|
4055
3977
|
:type Compare: str
|
|
4056
|
-
:param _Compares: 同比,支持多种同比方式
|
|
4057
|
-
:type Compares: list of str
|
|
4058
3978
|
"""
|
|
4059
3979
|
self._MetricName = None
|
|
4060
|
-
self._Compare = None
|
|
4061
3980
|
self._Compares = None
|
|
3981
|
+
self._Compare = None
|
|
4062
3982
|
|
|
4063
3983
|
@property
|
|
4064
3984
|
def MetricName(self):
|
|
@@ -4071,6 +3991,17 @@ class QueryMetricItem(AbstractModel):
|
|
|
4071
3991
|
def MetricName(self, MetricName):
|
|
4072
3992
|
self._MetricName = MetricName
|
|
4073
3993
|
|
|
3994
|
+
@property
|
|
3995
|
+
def Compares(self):
|
|
3996
|
+
"""同比,现支持 CompareByYesterday (与昨天相比)和CompareByLastWeek (与上周相比)
|
|
3997
|
+
:rtype: list of str
|
|
3998
|
+
"""
|
|
3999
|
+
return self._Compares
|
|
4000
|
+
|
|
4001
|
+
@Compares.setter
|
|
4002
|
+
def Compares(self, Compares):
|
|
4003
|
+
self._Compares = Compares
|
|
4004
|
+
|
|
4074
4005
|
@property
|
|
4075
4006
|
def Compare(self):
|
|
4076
4007
|
"""同比,已弃用,不建议使用
|
|
@@ -4082,22 +4013,11 @@ class QueryMetricItem(AbstractModel):
|
|
|
4082
4013
|
def Compare(self, Compare):
|
|
4083
4014
|
self._Compare = Compare
|
|
4084
4015
|
|
|
4085
|
-
@property
|
|
4086
|
-
def Compares(self):
|
|
4087
|
-
"""同比,支持多种同比方式
|
|
4088
|
-
:rtype: list of str
|
|
4089
|
-
"""
|
|
4090
|
-
return self._Compares
|
|
4091
|
-
|
|
4092
|
-
@Compares.setter
|
|
4093
|
-
def Compares(self, Compares):
|
|
4094
|
-
self._Compares = Compares
|
|
4095
|
-
|
|
4096
4016
|
|
|
4097
4017
|
def _deserialize(self, params):
|
|
4098
4018
|
self._MetricName = params.get("MetricName")
|
|
4099
|
-
self._Compare = params.get("Compare")
|
|
4100
4019
|
self._Compares = params.get("Compares")
|
|
4020
|
+
self._Compare = params.get("Compare")
|
|
4101
4021
|
memeber_set = set(params.keys())
|
|
4102
4022
|
for name, value in vars(self).items():
|
|
4103
4023
|
property_name = name[1:]
|
|
@@ -4109,47 +4029,35 @@ class QueryMetricItem(AbstractModel):
|
|
|
4109
4029
|
|
|
4110
4030
|
|
|
4111
4031
|
class Span(AbstractModel):
|
|
4112
|
-
"""Span对象
|
|
4032
|
+
"""Span 对象
|
|
4113
4033
|
|
|
4114
4034
|
"""
|
|
4115
4035
|
|
|
4116
4036
|
def __init__(self):
|
|
4117
4037
|
r"""
|
|
4118
|
-
:param _TraceID: Trace
|
|
4119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4038
|
+
:param _TraceID: Trace ID
|
|
4120
4039
|
:type TraceID: str
|
|
4121
4040
|
:param _Logs: 日志
|
|
4122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4123
4041
|
:type Logs: list of SpanLog
|
|
4124
4042
|
:param _Tags: 标签
|
|
4125
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4126
4043
|
:type Tags: list of SpanTag
|
|
4127
4044
|
:param _Process: 上报应用服务信息
|
|
4128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4129
4045
|
:type Process: :class:`tencentcloud.apm.v20210622.models.SpanProcess`
|
|
4130
4046
|
:param _Timestamp: 产生时间戳(毫秒)
|
|
4131
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4132
4047
|
:type Timestamp: int
|
|
4133
|
-
:param _OperationName: Span名称
|
|
4134
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4048
|
+
:param _OperationName: Span 名称
|
|
4135
4049
|
:type OperationName: str
|
|
4136
4050
|
:param _References: 关联关系
|
|
4137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4138
4051
|
:type References: list of SpanReference
|
|
4139
4052
|
:param _StartTime: 产生时间戳(微秒)
|
|
4140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4141
4053
|
:type StartTime: int
|
|
4142
4054
|
:param _Duration: 持续耗时(微妙)
|
|
4143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4144
4055
|
:type Duration: int
|
|
4145
|
-
:param _SpanID: Span
|
|
4146
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4056
|
+
:param _SpanID: Span ID
|
|
4147
4057
|
:type SpanID: str
|
|
4148
4058
|
:param _StartTimeMillis: 产生时间戳(毫秒)
|
|
4149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4150
4059
|
:type StartTimeMillis: int
|
|
4151
|
-
:param _ParentSpanID: Parent Span
|
|
4152
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4060
|
+
:param _ParentSpanID: Parent Span ID
|
|
4153
4061
|
:type ParentSpanID: str
|
|
4154
4062
|
"""
|
|
4155
4063
|
self._TraceID = None
|
|
@@ -4167,8 +4075,7 @@ class Span(AbstractModel):
|
|
|
4167
4075
|
|
|
4168
4076
|
@property
|
|
4169
4077
|
def TraceID(self):
|
|
4170
|
-
"""Trace
|
|
4171
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4078
|
+
"""Trace ID
|
|
4172
4079
|
:rtype: str
|
|
4173
4080
|
"""
|
|
4174
4081
|
return self._TraceID
|
|
@@ -4180,7 +4087,6 @@ class Span(AbstractModel):
|
|
|
4180
4087
|
@property
|
|
4181
4088
|
def Logs(self):
|
|
4182
4089
|
"""日志
|
|
4183
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4184
4090
|
:rtype: list of SpanLog
|
|
4185
4091
|
"""
|
|
4186
4092
|
return self._Logs
|
|
@@ -4192,7 +4098,6 @@ class Span(AbstractModel):
|
|
|
4192
4098
|
@property
|
|
4193
4099
|
def Tags(self):
|
|
4194
4100
|
"""标签
|
|
4195
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4196
4101
|
:rtype: list of SpanTag
|
|
4197
4102
|
"""
|
|
4198
4103
|
return self._Tags
|
|
@@ -4204,7 +4109,6 @@ class Span(AbstractModel):
|
|
|
4204
4109
|
@property
|
|
4205
4110
|
def Process(self):
|
|
4206
4111
|
"""上报应用服务信息
|
|
4207
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4208
4112
|
:rtype: :class:`tencentcloud.apm.v20210622.models.SpanProcess`
|
|
4209
4113
|
"""
|
|
4210
4114
|
return self._Process
|
|
@@ -4216,7 +4120,6 @@ class Span(AbstractModel):
|
|
|
4216
4120
|
@property
|
|
4217
4121
|
def Timestamp(self):
|
|
4218
4122
|
"""产生时间戳(毫秒)
|
|
4219
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4220
4123
|
:rtype: int
|
|
4221
4124
|
"""
|
|
4222
4125
|
return self._Timestamp
|
|
@@ -4227,8 +4130,7 @@ class Span(AbstractModel):
|
|
|
4227
4130
|
|
|
4228
4131
|
@property
|
|
4229
4132
|
def OperationName(self):
|
|
4230
|
-
"""Span名称
|
|
4231
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4133
|
+
"""Span 名称
|
|
4232
4134
|
:rtype: str
|
|
4233
4135
|
"""
|
|
4234
4136
|
return self._OperationName
|
|
@@ -4240,7 +4142,6 @@ class Span(AbstractModel):
|
|
|
4240
4142
|
@property
|
|
4241
4143
|
def References(self):
|
|
4242
4144
|
"""关联关系
|
|
4243
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4244
4145
|
:rtype: list of SpanReference
|
|
4245
4146
|
"""
|
|
4246
4147
|
return self._References
|
|
@@ -4252,7 +4153,6 @@ class Span(AbstractModel):
|
|
|
4252
4153
|
@property
|
|
4253
4154
|
def StartTime(self):
|
|
4254
4155
|
"""产生时间戳(微秒)
|
|
4255
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4256
4156
|
:rtype: int
|
|
4257
4157
|
"""
|
|
4258
4158
|
return self._StartTime
|
|
@@ -4264,7 +4164,6 @@ class Span(AbstractModel):
|
|
|
4264
4164
|
@property
|
|
4265
4165
|
def Duration(self):
|
|
4266
4166
|
"""持续耗时(微妙)
|
|
4267
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4268
4167
|
:rtype: int
|
|
4269
4168
|
"""
|
|
4270
4169
|
return self._Duration
|
|
@@ -4275,8 +4174,7 @@ class Span(AbstractModel):
|
|
|
4275
4174
|
|
|
4276
4175
|
@property
|
|
4277
4176
|
def SpanID(self):
|
|
4278
|
-
"""Span
|
|
4279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4177
|
+
"""Span ID
|
|
4280
4178
|
:rtype: str
|
|
4281
4179
|
"""
|
|
4282
4180
|
return self._SpanID
|
|
@@ -4288,7 +4186,6 @@ class Span(AbstractModel):
|
|
|
4288
4186
|
@property
|
|
4289
4187
|
def StartTimeMillis(self):
|
|
4290
4188
|
"""产生时间戳(毫秒)
|
|
4291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4292
4189
|
:rtype: int
|
|
4293
4190
|
"""
|
|
4294
4191
|
return self._StartTimeMillis
|
|
@@ -4299,8 +4196,7 @@ class Span(AbstractModel):
|
|
|
4299
4196
|
|
|
4300
4197
|
@property
|
|
4301
4198
|
def ParentSpanID(self):
|
|
4302
|
-
"""Parent Span
|
|
4303
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4199
|
+
"""Parent Span ID
|
|
4304
4200
|
:rtype: str
|
|
4305
4201
|
"""
|
|
4306
4202
|
return self._ParentSpanID
|
|
@@ -4606,14 +4502,14 @@ class TerminateApmInstanceRequest(AbstractModel):
|
|
|
4606
4502
|
|
|
4607
4503
|
def __init__(self):
|
|
4608
4504
|
r"""
|
|
4609
|
-
:param _InstanceId:
|
|
4505
|
+
:param _InstanceId: 业务系统ID
|
|
4610
4506
|
:type InstanceId: str
|
|
4611
4507
|
"""
|
|
4612
4508
|
self._InstanceId = None
|
|
4613
4509
|
|
|
4614
4510
|
@property
|
|
4615
4511
|
def InstanceId(self):
|
|
4616
|
-
"""
|
|
4512
|
+
"""业务系统ID
|
|
4617
4513
|
:rtype: str
|
|
4618
4514
|
"""
|
|
4619
4515
|
return self._InstanceId
|