tencentcloud-sdk-python-apm 3.1.118__tar.gz → 3.1.132__tar.gz
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.
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/setup.py +1 -1
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud/apm/v20210622/models.py +236 -86
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud_sdk_python_apm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apm-3.1.132/tencentcloud_sdk_python_apm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apm-3.1.118/tencentcloud_sdk_python_apm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/README.rst +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud/apm/__init__.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud/apm/v20210622/__init__.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud/apm/v20210622/apm_client.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud/apm/v20210622/apm_client_async.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud/apm/v20210622/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud_sdk_python_apm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud_sdk_python_apm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apm-3.1.118 → tencentcloud_sdk_python_apm-3.1.132}/tencentcloud_sdk_python_apm.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.132
|
|
4
4
|
Summary: Tencent Cloud Apm SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.132
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-apm',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.132,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apm SDK for Python',
|
|
@@ -457,6 +457,14 @@ class ApmAppConfig(AbstractModel):
|
|
|
457
457
|
:type ResponseDurationWarningThreshold: int
|
|
458
458
|
:param _UseDefaultFuseConfig: <p>是否默认使用探针自带熔断阈值</p>
|
|
459
459
|
:type UseDefaultFuseConfig: bool
|
|
460
|
+
:param _AnalysisAutoEnable: <p>是否开启自动分析</p>
|
|
461
|
+
:type AnalysisAutoEnable: bool
|
|
462
|
+
:param _EnableHeadSampler: <p>头采样开关</p>
|
|
463
|
+
:type EnableHeadSampler: bool
|
|
464
|
+
:param _HeadSamplerType: <p>头采样类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 跟随父类型</li></ul>
|
|
465
|
+
:type HeadSamplerType: str
|
|
466
|
+
:param _HeadSamplerArg: <p>采样阈值,100等于关闭采样,0表示全采样</p>
|
|
467
|
+
:type HeadSamplerArg: int
|
|
460
468
|
"""
|
|
461
469
|
self._InstanceKey = None
|
|
462
470
|
self._ServiceName = None
|
|
@@ -520,6 +528,10 @@ class ApmAppConfig(AbstractModel):
|
|
|
520
528
|
self._ErrRateThreshold = None
|
|
521
529
|
self._ResponseDurationWarningThreshold = None
|
|
522
530
|
self._UseDefaultFuseConfig = None
|
|
531
|
+
self._AnalysisAutoEnable = None
|
|
532
|
+
self._EnableHeadSampler = None
|
|
533
|
+
self._HeadSamplerType = None
|
|
534
|
+
self._HeadSamplerArg = None
|
|
523
535
|
|
|
524
536
|
@property
|
|
525
537
|
def InstanceKey(self):
|
|
@@ -1226,6 +1238,50 @@ class ApmAppConfig(AbstractModel):
|
|
|
1226
1238
|
def UseDefaultFuseConfig(self, UseDefaultFuseConfig):
|
|
1227
1239
|
self._UseDefaultFuseConfig = UseDefaultFuseConfig
|
|
1228
1240
|
|
|
1241
|
+
@property
|
|
1242
|
+
def AnalysisAutoEnable(self):
|
|
1243
|
+
r"""<p>是否开启自动分析</p>
|
|
1244
|
+
:rtype: bool
|
|
1245
|
+
"""
|
|
1246
|
+
return self._AnalysisAutoEnable
|
|
1247
|
+
|
|
1248
|
+
@AnalysisAutoEnable.setter
|
|
1249
|
+
def AnalysisAutoEnable(self, AnalysisAutoEnable):
|
|
1250
|
+
self._AnalysisAutoEnable = AnalysisAutoEnable
|
|
1251
|
+
|
|
1252
|
+
@property
|
|
1253
|
+
def EnableHeadSampler(self):
|
|
1254
|
+
r"""<p>头采样开关</p>
|
|
1255
|
+
:rtype: bool
|
|
1256
|
+
"""
|
|
1257
|
+
return self._EnableHeadSampler
|
|
1258
|
+
|
|
1259
|
+
@EnableHeadSampler.setter
|
|
1260
|
+
def EnableHeadSampler(self, EnableHeadSampler):
|
|
1261
|
+
self._EnableHeadSampler = EnableHeadSampler
|
|
1262
|
+
|
|
1263
|
+
@property
|
|
1264
|
+
def HeadSamplerType(self):
|
|
1265
|
+
r"""<p>头采样类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 跟随父类型</li></ul>
|
|
1266
|
+
:rtype: str
|
|
1267
|
+
"""
|
|
1268
|
+
return self._HeadSamplerType
|
|
1269
|
+
|
|
1270
|
+
@HeadSamplerType.setter
|
|
1271
|
+
def HeadSamplerType(self, HeadSamplerType):
|
|
1272
|
+
self._HeadSamplerType = HeadSamplerType
|
|
1273
|
+
|
|
1274
|
+
@property
|
|
1275
|
+
def HeadSamplerArg(self):
|
|
1276
|
+
r"""<p>采样阈值,100等于关闭采样,0表示全采样</p>
|
|
1277
|
+
:rtype: int
|
|
1278
|
+
"""
|
|
1279
|
+
return self._HeadSamplerArg
|
|
1280
|
+
|
|
1281
|
+
@HeadSamplerArg.setter
|
|
1282
|
+
def HeadSamplerArg(self, HeadSamplerArg):
|
|
1283
|
+
self._HeadSamplerArg = HeadSamplerArg
|
|
1284
|
+
|
|
1229
1285
|
|
|
1230
1286
|
def _deserialize(self, params):
|
|
1231
1287
|
self._InstanceKey = params.get("InstanceKey")
|
|
@@ -1304,6 +1360,10 @@ class ApmAppConfig(AbstractModel):
|
|
|
1304
1360
|
self._ErrRateThreshold = params.get("ErrRateThreshold")
|
|
1305
1361
|
self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
|
|
1306
1362
|
self._UseDefaultFuseConfig = params.get("UseDefaultFuseConfig")
|
|
1363
|
+
self._AnalysisAutoEnable = params.get("AnalysisAutoEnable")
|
|
1364
|
+
self._EnableHeadSampler = params.get("EnableHeadSampler")
|
|
1365
|
+
self._HeadSamplerType = params.get("HeadSamplerType")
|
|
1366
|
+
self._HeadSamplerArg = params.get("HeadSamplerArg")
|
|
1307
1367
|
memeber_set = set(params.keys())
|
|
1308
1368
|
for name, value in vars(self).items():
|
|
1309
1369
|
property_name = name[1:]
|
|
@@ -9184,6 +9244,12 @@ class ModifyApmApplicationConfigRequest(AbstractModel):
|
|
|
9184
9244
|
:type ResponseDurationWarningThreshold: int
|
|
9185
9245
|
:param _UseDefaultFuseConfig: <p>是否使用探针默认熔断阈值</p>
|
|
9186
9246
|
:type UseDefaultFuseConfig: bool
|
|
9247
|
+
:param _EnableHeadSampler: <p>是否开启探针头采样</p>
|
|
9248
|
+
:type EnableHeadSampler: bool
|
|
9249
|
+
:param _HeadSamplerType: <p>头采样类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 跟随parent</li></ul>
|
|
9250
|
+
:type HeadSamplerType: str
|
|
9251
|
+
:param _HeadSamplerArg: <p>采样率</p><p>取值范围:[0, 100]</p><p>默认值:100</p>
|
|
9252
|
+
:type HeadSamplerArg: int
|
|
9187
9253
|
"""
|
|
9188
9254
|
self._InstanceId = None
|
|
9189
9255
|
self._ServiceName = None
|
|
@@ -9244,6 +9310,9 @@ class ModifyApmApplicationConfigRequest(AbstractModel):
|
|
|
9244
9310
|
self._ErrRateThreshold = None
|
|
9245
9311
|
self._ResponseDurationWarningThreshold = None
|
|
9246
9312
|
self._UseDefaultFuseConfig = None
|
|
9313
|
+
self._EnableHeadSampler = None
|
|
9314
|
+
self._HeadSamplerType = None
|
|
9315
|
+
self._HeadSamplerArg = None
|
|
9247
9316
|
|
|
9248
9317
|
@property
|
|
9249
9318
|
def InstanceId(self):
|
|
@@ -9894,6 +9963,39 @@ class ModifyApmApplicationConfigRequest(AbstractModel):
|
|
|
9894
9963
|
def UseDefaultFuseConfig(self, UseDefaultFuseConfig):
|
|
9895
9964
|
self._UseDefaultFuseConfig = UseDefaultFuseConfig
|
|
9896
9965
|
|
|
9966
|
+
@property
|
|
9967
|
+
def EnableHeadSampler(self):
|
|
9968
|
+
r"""<p>是否开启探针头采样</p>
|
|
9969
|
+
:rtype: bool
|
|
9970
|
+
"""
|
|
9971
|
+
return self._EnableHeadSampler
|
|
9972
|
+
|
|
9973
|
+
@EnableHeadSampler.setter
|
|
9974
|
+
def EnableHeadSampler(self, EnableHeadSampler):
|
|
9975
|
+
self._EnableHeadSampler = EnableHeadSampler
|
|
9976
|
+
|
|
9977
|
+
@property
|
|
9978
|
+
def HeadSamplerType(self):
|
|
9979
|
+
r"""<p>头采样类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 跟随parent</li></ul>
|
|
9980
|
+
:rtype: str
|
|
9981
|
+
"""
|
|
9982
|
+
return self._HeadSamplerType
|
|
9983
|
+
|
|
9984
|
+
@HeadSamplerType.setter
|
|
9985
|
+
def HeadSamplerType(self, HeadSamplerType):
|
|
9986
|
+
self._HeadSamplerType = HeadSamplerType
|
|
9987
|
+
|
|
9988
|
+
@property
|
|
9989
|
+
def HeadSamplerArg(self):
|
|
9990
|
+
r"""<p>采样率</p><p>取值范围:[0, 100]</p><p>默认值:100</p>
|
|
9991
|
+
:rtype: int
|
|
9992
|
+
"""
|
|
9993
|
+
return self._HeadSamplerArg
|
|
9994
|
+
|
|
9995
|
+
@HeadSamplerArg.setter
|
|
9996
|
+
def HeadSamplerArg(self, HeadSamplerArg):
|
|
9997
|
+
self._HeadSamplerArg = HeadSamplerArg
|
|
9998
|
+
|
|
9897
9999
|
|
|
9898
10000
|
def _deserialize(self, params):
|
|
9899
10001
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -9969,6 +10071,9 @@ class ModifyApmApplicationConfigRequest(AbstractModel):
|
|
|
9969
10071
|
self._ErrRateThreshold = params.get("ErrRateThreshold")
|
|
9970
10072
|
self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
|
|
9971
10073
|
self._UseDefaultFuseConfig = params.get("UseDefaultFuseConfig")
|
|
10074
|
+
self._EnableHeadSampler = params.get("EnableHeadSampler")
|
|
10075
|
+
self._HeadSamplerType = params.get("HeadSamplerType")
|
|
10076
|
+
self._HeadSamplerArg = params.get("HeadSamplerArg")
|
|
9972
10077
|
memeber_set = set(params.keys())
|
|
9973
10078
|
for name, value in vars(self).items():
|
|
9974
10079
|
property_name = name[1:]
|
|
@@ -10153,92 +10258,98 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10153
10258
|
|
|
10154
10259
|
def __init__(self):
|
|
10155
10260
|
r"""
|
|
10156
|
-
:param _InstanceId:
|
|
10261
|
+
:param _InstanceId: <p>业务系统 ID</p>
|
|
10157
10262
|
:type InstanceId: str
|
|
10158
|
-
:param _Name:
|
|
10263
|
+
:param _Name: <p>业务系统名</p>
|
|
10159
10264
|
:type Name: str
|
|
10160
|
-
:param _Tags: Tag
|
|
10265
|
+
:param _Tags: <p>Tag 列表</p>
|
|
10161
10266
|
:type Tags: list of ApmTag
|
|
10162
|
-
:param _Description:
|
|
10267
|
+
:param _Description: <p>业务系统描述</p>
|
|
10163
10268
|
:type Description: str
|
|
10164
|
-
:param _TraceDuration: Trace
|
|
10269
|
+
:param _TraceDuration: <p>Trace 数据保存时长(单位:天)</p>
|
|
10165
10270
|
:type TraceDuration: int
|
|
10166
|
-
:param _OpenBilling:
|
|
10271
|
+
:param _OpenBilling: <p>是否开启计费</p>
|
|
10167
10272
|
:type OpenBilling: bool
|
|
10168
|
-
:param _SpanDailyCounters:
|
|
10273
|
+
:param _SpanDailyCounters: <p>业务系统上报额度</p>
|
|
10169
10274
|
:type SpanDailyCounters: int
|
|
10170
|
-
:param _ErrRateThreshold:
|
|
10275
|
+
:param _ErrRateThreshold: <p>错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。</p>
|
|
10171
10276
|
:type ErrRateThreshold: int
|
|
10172
|
-
:param _SampleRate:
|
|
10277
|
+
:param _SampleRate: <p>采样率(单位:%)</p>
|
|
10173
10278
|
:type SampleRate: int
|
|
10174
|
-
:param _ErrorSample:
|
|
10279
|
+
:param _ErrorSample: <p>是否开启错误采样(0=关, 1=开)</p>
|
|
10175
10280
|
:type ErrorSample: int
|
|
10176
|
-
:param _SlowRequestSavedThreshold:
|
|
10281
|
+
:param _SlowRequestSavedThreshold: <p>采样慢调用保存阈值(单位:ms)</p>
|
|
10177
10282
|
:type SlowRequestSavedThreshold: int
|
|
10178
|
-
:param _IsRelatedLog:
|
|
10283
|
+
:param _IsRelatedLog: <p>是否开启日志功能(0=关, 1=开)</p>
|
|
10179
10284
|
:type IsRelatedLog: int
|
|
10180
|
-
:param _LogRegion:
|
|
10285
|
+
:param _LogRegion: <p>日志地域,开启日志功能后才会生效</p>
|
|
10181
10286
|
:type LogRegion: str
|
|
10182
|
-
:param _LogTopicID: CLS 日志主题 ID
|
|
10287
|
+
:param _LogTopicID: <p>CLS 日志主题 ID,开启日志功能后才会生效</p>
|
|
10183
10288
|
:type LogTopicID: str
|
|
10184
|
-
:param _LogSet:
|
|
10289
|
+
:param _LogSet: <p>日志集,开启日志功能后才会生效</p>
|
|
10185
10290
|
:type LogSet: str
|
|
10186
|
-
:param _LogSource:
|
|
10291
|
+
:param _LogSource: <p>日志源,开启日志功能后才会生效</p>
|
|
10187
10292
|
:type LogSource: str
|
|
10188
|
-
:param _CustomShowTags:
|
|
10293
|
+
:param _CustomShowTags: <p>用户自定义展示标签列表</p>
|
|
10189
10294
|
:type CustomShowTags: list of str
|
|
10190
|
-
:param _PayMode:
|
|
10295
|
+
:param _PayMode: <p>修改计费模式(1为预付费,0为按量付费)</p>
|
|
10191
10296
|
:type PayMode: int
|
|
10192
|
-
:param _ResponseDurationWarningThreshold:
|
|
10297
|
+
:param _ResponseDurationWarningThreshold: <p>响应时间警示线</p>
|
|
10193
10298
|
:type ResponseDurationWarningThreshold: int
|
|
10194
|
-
:param _Free:
|
|
10299
|
+
:param _Free: <p>是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0</p>
|
|
10195
10300
|
:type Free: int
|
|
10196
|
-
:param _IsRelatedDashboard:
|
|
10301
|
+
:param _IsRelatedDashboard: <p>是否关联 Dashboard(0=关,1=开)</p>
|
|
10197
10302
|
:type IsRelatedDashboard: int
|
|
10198
|
-
:param _DashboardTopicID:
|
|
10303
|
+
:param _DashboardTopicID: <p>关联的 Dashboard ID,开启关联 Dashboard 后才会生效</p>
|
|
10199
10304
|
:type DashboardTopicID: str
|
|
10200
|
-
:param _IsSqlInjectionAnalysis:
|
|
10305
|
+
:param _IsSqlInjectionAnalysis: <p>是否开启 SQL 注入检测(0=关,1=开)</p>
|
|
10201
10306
|
:type IsSqlInjectionAnalysis: int
|
|
10202
|
-
:param _IsInstrumentationVulnerabilityScan:
|
|
10307
|
+
:param _IsInstrumentationVulnerabilityScan: <p>是否开启组件漏洞检测(0=关,1=开)</p>
|
|
10203
10308
|
:type IsInstrumentationVulnerabilityScan: int
|
|
10204
|
-
:param _IsRemoteCommandExecutionAnalysis:
|
|
10309
|
+
:param _IsRemoteCommandExecutionAnalysis: <p>是否开启远程命令攻击检测</p>
|
|
10205
10310
|
:type IsRemoteCommandExecutionAnalysis: int
|
|
10206
|
-
:param _IsMemoryHijackingAnalysis:
|
|
10311
|
+
:param _IsMemoryHijackingAnalysis: <p>是否开启内存马检测</p>
|
|
10207
10312
|
:type IsMemoryHijackingAnalysis: int
|
|
10208
|
-
:param _LogIndexType: CLS索引类型(0=全文索引,1=键值索引)
|
|
10313
|
+
:param _LogIndexType: <p>CLS索引类型(0=全文索引,1=键值索引)</p>
|
|
10209
10314
|
:type LogIndexType: int
|
|
10210
|
-
:param _LogTraceIdKey: traceId的索引key: 当CLS
|
|
10315
|
+
:param _LogTraceIdKey: <p>traceId的索引key: 当CLS索引类型为键值索引时生效</p>
|
|
10211
10316
|
:type LogTraceIdKey: str
|
|
10212
|
-
:param _IsDeleteAnyFileAnalysis:
|
|
10317
|
+
:param _IsDeleteAnyFileAnalysis: <p>是否开启删除任意文件检测(0-关闭,1-开启)</p>
|
|
10213
10318
|
:type IsDeleteAnyFileAnalysis: int
|
|
10214
|
-
:param _IsReadAnyFileAnalysis:
|
|
10319
|
+
:param _IsReadAnyFileAnalysis: <p>是否开启读取任意文件检测(0-关闭,1-开启)</p>
|
|
10215
10320
|
:type IsReadAnyFileAnalysis: int
|
|
10216
|
-
:param _IsUploadAnyFileAnalysis:
|
|
10321
|
+
:param _IsUploadAnyFileAnalysis: <p>是否开启上传任意文件检测(0-关闭,1-开启)</p>
|
|
10217
10322
|
:type IsUploadAnyFileAnalysis: int
|
|
10218
|
-
:param _IsIncludeAnyFileAnalysis:
|
|
10323
|
+
:param _IsIncludeAnyFileAnalysis: <p>是否开启包含任意文件检测(0-关闭,1-开启)</p>
|
|
10219
10324
|
:type IsIncludeAnyFileAnalysis: int
|
|
10220
|
-
:param _IsDirectoryTraversalAnalysis:
|
|
10325
|
+
:param _IsDirectoryTraversalAnalysis: <p>是否开启目录遍历检测(0-关闭,1-开启)</p>
|
|
10221
10326
|
:type IsDirectoryTraversalAnalysis: int
|
|
10222
|
-
:param _IsTemplateEngineInjectionAnalysis:
|
|
10327
|
+
:param _IsTemplateEngineInjectionAnalysis: <p>是否开启模板引擎注入检测(0-关闭,1-开启)</p>
|
|
10223
10328
|
:type IsTemplateEngineInjectionAnalysis: int
|
|
10224
|
-
:param _IsScriptEngineInjectionAnalysis:
|
|
10329
|
+
:param _IsScriptEngineInjectionAnalysis: <p>是否开启脚本引擎注入检测(0-关闭,1-开启)</p>
|
|
10225
10330
|
:type IsScriptEngineInjectionAnalysis: int
|
|
10226
|
-
:param _IsExpressionInjectionAnalysis:
|
|
10331
|
+
:param _IsExpressionInjectionAnalysis: <p>是否开启表达式注入检测(0-关闭,1-开启)</p>
|
|
10227
10332
|
:type IsExpressionInjectionAnalysis: int
|
|
10228
|
-
:param _IsJNDIInjectionAnalysis:
|
|
10333
|
+
:param _IsJNDIInjectionAnalysis: <p>是否开启JNDI注入检测(0-关闭,1-开启)</p>
|
|
10229
10334
|
:type IsJNDIInjectionAnalysis: int
|
|
10230
|
-
:param _IsJNIInjectionAnalysis:
|
|
10335
|
+
:param _IsJNIInjectionAnalysis: <p>是否开启JNI注入检测(0-关闭,1-开启)</p>
|
|
10231
10336
|
:type IsJNIInjectionAnalysis: int
|
|
10232
|
-
:param _IsWebshellBackdoorAnalysis:
|
|
10337
|
+
:param _IsWebshellBackdoorAnalysis: <p>是否开启Webshell后门检测(0-关闭,1-开启)</p>
|
|
10233
10338
|
:type IsWebshellBackdoorAnalysis: int
|
|
10234
|
-
:param _IsDeserializationAnalysis:
|
|
10339
|
+
:param _IsDeserializationAnalysis: <p>是否开启反序列化检测(0-关闭,1-开启)</p>
|
|
10235
10340
|
:type IsDeserializationAnalysis: int
|
|
10236
|
-
:param _UrlLongSegmentThreshold: URL
|
|
10341
|
+
:param _UrlLongSegmentThreshold: <p>URL长分段收敛阈值</p>
|
|
10237
10342
|
:type UrlLongSegmentThreshold: int
|
|
10238
|
-
:param _UrlNumberSegmentThreshold: URL
|
|
10343
|
+
:param _UrlNumberSegmentThreshold: <p>URL数字分段收敛阈值</p>
|
|
10239
10344
|
:type UrlNumberSegmentThreshold: int
|
|
10240
|
-
:param _LogSpanIdKey: spanId的索引key: 当CLS
|
|
10345
|
+
:param _LogSpanIdKey: <p>spanId的索引key: 当CLS索引类型为键值索引时生效</p>
|
|
10241
10346
|
:type LogSpanIdKey: str
|
|
10347
|
+
:param _EnableHeadSampler: <p>是否开启探针头采样</p>
|
|
10348
|
+
:type EnableHeadSampler: bool
|
|
10349
|
+
:param _HeadSamplerType: <p>头采类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 默认</li></ul>
|
|
10350
|
+
:type HeadSamplerType: str
|
|
10351
|
+
:param _HeadSamplerArg: <p>头采采样率</p><p>取值范围:[0, 100]</p>
|
|
10352
|
+
:type HeadSamplerArg: int
|
|
10242
10353
|
"""
|
|
10243
10354
|
self._InstanceId = None
|
|
10244
10355
|
self._Name = None
|
|
@@ -10283,10 +10394,13 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10283
10394
|
self._UrlLongSegmentThreshold = None
|
|
10284
10395
|
self._UrlNumberSegmentThreshold = None
|
|
10285
10396
|
self._LogSpanIdKey = None
|
|
10397
|
+
self._EnableHeadSampler = None
|
|
10398
|
+
self._HeadSamplerType = None
|
|
10399
|
+
self._HeadSamplerArg = None
|
|
10286
10400
|
|
|
10287
10401
|
@property
|
|
10288
10402
|
def InstanceId(self):
|
|
10289
|
-
r"""
|
|
10403
|
+
r"""<p>业务系统 ID</p>
|
|
10290
10404
|
:rtype: str
|
|
10291
10405
|
"""
|
|
10292
10406
|
return self._InstanceId
|
|
@@ -10297,7 +10411,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10297
10411
|
|
|
10298
10412
|
@property
|
|
10299
10413
|
def Name(self):
|
|
10300
|
-
r"""
|
|
10414
|
+
r"""<p>业务系统名</p>
|
|
10301
10415
|
:rtype: str
|
|
10302
10416
|
"""
|
|
10303
10417
|
return self._Name
|
|
@@ -10308,7 +10422,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10308
10422
|
|
|
10309
10423
|
@property
|
|
10310
10424
|
def Tags(self):
|
|
10311
|
-
r"""Tag
|
|
10425
|
+
r"""<p>Tag 列表</p>
|
|
10312
10426
|
:rtype: list of ApmTag
|
|
10313
10427
|
"""
|
|
10314
10428
|
return self._Tags
|
|
@@ -10319,7 +10433,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10319
10433
|
|
|
10320
10434
|
@property
|
|
10321
10435
|
def Description(self):
|
|
10322
|
-
r"""
|
|
10436
|
+
r"""<p>业务系统描述</p>
|
|
10323
10437
|
:rtype: str
|
|
10324
10438
|
"""
|
|
10325
10439
|
return self._Description
|
|
@@ -10330,7 +10444,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10330
10444
|
|
|
10331
10445
|
@property
|
|
10332
10446
|
def TraceDuration(self):
|
|
10333
|
-
r"""Trace
|
|
10447
|
+
r"""<p>Trace 数据保存时长(单位:天)</p>
|
|
10334
10448
|
:rtype: int
|
|
10335
10449
|
"""
|
|
10336
10450
|
return self._TraceDuration
|
|
@@ -10341,7 +10455,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10341
10455
|
|
|
10342
10456
|
@property
|
|
10343
10457
|
def OpenBilling(self):
|
|
10344
|
-
r"""
|
|
10458
|
+
r"""<p>是否开启计费</p>
|
|
10345
10459
|
:rtype: bool
|
|
10346
10460
|
"""
|
|
10347
10461
|
return self._OpenBilling
|
|
@@ -10352,7 +10466,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10352
10466
|
|
|
10353
10467
|
@property
|
|
10354
10468
|
def SpanDailyCounters(self):
|
|
10355
|
-
r"""
|
|
10469
|
+
r"""<p>业务系统上报额度</p>
|
|
10356
10470
|
:rtype: int
|
|
10357
10471
|
"""
|
|
10358
10472
|
return self._SpanDailyCounters
|
|
@@ -10363,7 +10477,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10363
10477
|
|
|
10364
10478
|
@property
|
|
10365
10479
|
def ErrRateThreshold(self):
|
|
10366
|
-
r"""
|
|
10480
|
+
r"""<p>错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。</p>
|
|
10367
10481
|
:rtype: int
|
|
10368
10482
|
"""
|
|
10369
10483
|
return self._ErrRateThreshold
|
|
@@ -10374,7 +10488,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10374
10488
|
|
|
10375
10489
|
@property
|
|
10376
10490
|
def SampleRate(self):
|
|
10377
|
-
r"""
|
|
10491
|
+
r"""<p>采样率(单位:%)</p>
|
|
10378
10492
|
:rtype: int
|
|
10379
10493
|
"""
|
|
10380
10494
|
return self._SampleRate
|
|
@@ -10385,7 +10499,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10385
10499
|
|
|
10386
10500
|
@property
|
|
10387
10501
|
def ErrorSample(self):
|
|
10388
|
-
r"""
|
|
10502
|
+
r"""<p>是否开启错误采样(0=关, 1=开)</p>
|
|
10389
10503
|
:rtype: int
|
|
10390
10504
|
"""
|
|
10391
10505
|
return self._ErrorSample
|
|
@@ -10396,7 +10510,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10396
10510
|
|
|
10397
10511
|
@property
|
|
10398
10512
|
def SlowRequestSavedThreshold(self):
|
|
10399
|
-
r"""
|
|
10513
|
+
r"""<p>采样慢调用保存阈值(单位:ms)</p>
|
|
10400
10514
|
:rtype: int
|
|
10401
10515
|
"""
|
|
10402
10516
|
return self._SlowRequestSavedThreshold
|
|
@@ -10407,7 +10521,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10407
10521
|
|
|
10408
10522
|
@property
|
|
10409
10523
|
def IsRelatedLog(self):
|
|
10410
|
-
r"""
|
|
10524
|
+
r"""<p>是否开启日志功能(0=关, 1=开)</p>
|
|
10411
10525
|
:rtype: int
|
|
10412
10526
|
"""
|
|
10413
10527
|
return self._IsRelatedLog
|
|
@@ -10418,7 +10532,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10418
10532
|
|
|
10419
10533
|
@property
|
|
10420
10534
|
def LogRegion(self):
|
|
10421
|
-
r"""
|
|
10535
|
+
r"""<p>日志地域,开启日志功能后才会生效</p>
|
|
10422
10536
|
:rtype: str
|
|
10423
10537
|
"""
|
|
10424
10538
|
return self._LogRegion
|
|
@@ -10429,7 +10543,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10429
10543
|
|
|
10430
10544
|
@property
|
|
10431
10545
|
def LogTopicID(self):
|
|
10432
|
-
r"""CLS 日志主题 ID
|
|
10546
|
+
r"""<p>CLS 日志主题 ID,开启日志功能后才会生效</p>
|
|
10433
10547
|
:rtype: str
|
|
10434
10548
|
"""
|
|
10435
10549
|
return self._LogTopicID
|
|
@@ -10440,7 +10554,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10440
10554
|
|
|
10441
10555
|
@property
|
|
10442
10556
|
def LogSet(self):
|
|
10443
|
-
r"""
|
|
10557
|
+
r"""<p>日志集,开启日志功能后才会生效</p>
|
|
10444
10558
|
:rtype: str
|
|
10445
10559
|
"""
|
|
10446
10560
|
return self._LogSet
|
|
@@ -10451,7 +10565,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10451
10565
|
|
|
10452
10566
|
@property
|
|
10453
10567
|
def LogSource(self):
|
|
10454
|
-
r"""
|
|
10568
|
+
r"""<p>日志源,开启日志功能后才会生效</p>
|
|
10455
10569
|
:rtype: str
|
|
10456
10570
|
"""
|
|
10457
10571
|
return self._LogSource
|
|
@@ -10462,7 +10576,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10462
10576
|
|
|
10463
10577
|
@property
|
|
10464
10578
|
def CustomShowTags(self):
|
|
10465
|
-
r"""
|
|
10579
|
+
r"""<p>用户自定义展示标签列表</p>
|
|
10466
10580
|
:rtype: list of str
|
|
10467
10581
|
"""
|
|
10468
10582
|
return self._CustomShowTags
|
|
@@ -10473,7 +10587,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10473
10587
|
|
|
10474
10588
|
@property
|
|
10475
10589
|
def PayMode(self):
|
|
10476
|
-
r"""
|
|
10590
|
+
r"""<p>修改计费模式(1为预付费,0为按量付费)</p>
|
|
10477
10591
|
:rtype: int
|
|
10478
10592
|
"""
|
|
10479
10593
|
return self._PayMode
|
|
@@ -10484,7 +10598,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10484
10598
|
|
|
10485
10599
|
@property
|
|
10486
10600
|
def ResponseDurationWarningThreshold(self):
|
|
10487
|
-
r"""
|
|
10601
|
+
r"""<p>响应时间警示线</p>
|
|
10488
10602
|
:rtype: int
|
|
10489
10603
|
"""
|
|
10490
10604
|
return self._ResponseDurationWarningThreshold
|
|
@@ -10495,7 +10609,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10495
10609
|
|
|
10496
10610
|
@property
|
|
10497
10611
|
def Free(self):
|
|
10498
|
-
r"""
|
|
10612
|
+
r"""<p>是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0</p>
|
|
10499
10613
|
:rtype: int
|
|
10500
10614
|
"""
|
|
10501
10615
|
return self._Free
|
|
@@ -10506,7 +10620,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10506
10620
|
|
|
10507
10621
|
@property
|
|
10508
10622
|
def IsRelatedDashboard(self):
|
|
10509
|
-
r"""
|
|
10623
|
+
r"""<p>是否关联 Dashboard(0=关,1=开)</p>
|
|
10510
10624
|
:rtype: int
|
|
10511
10625
|
"""
|
|
10512
10626
|
return self._IsRelatedDashboard
|
|
@@ -10517,7 +10631,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10517
10631
|
|
|
10518
10632
|
@property
|
|
10519
10633
|
def DashboardTopicID(self):
|
|
10520
|
-
r"""
|
|
10634
|
+
r"""<p>关联的 Dashboard ID,开启关联 Dashboard 后才会生效</p>
|
|
10521
10635
|
:rtype: str
|
|
10522
10636
|
"""
|
|
10523
10637
|
return self._DashboardTopicID
|
|
@@ -10528,7 +10642,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10528
10642
|
|
|
10529
10643
|
@property
|
|
10530
10644
|
def IsSqlInjectionAnalysis(self):
|
|
10531
|
-
r"""
|
|
10645
|
+
r"""<p>是否开启 SQL 注入检测(0=关,1=开)</p>
|
|
10532
10646
|
:rtype: int
|
|
10533
10647
|
"""
|
|
10534
10648
|
return self._IsSqlInjectionAnalysis
|
|
@@ -10539,7 +10653,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10539
10653
|
|
|
10540
10654
|
@property
|
|
10541
10655
|
def IsInstrumentationVulnerabilityScan(self):
|
|
10542
|
-
r"""
|
|
10656
|
+
r"""<p>是否开启组件漏洞检测(0=关,1=开)</p>
|
|
10543
10657
|
:rtype: int
|
|
10544
10658
|
"""
|
|
10545
10659
|
return self._IsInstrumentationVulnerabilityScan
|
|
@@ -10550,7 +10664,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10550
10664
|
|
|
10551
10665
|
@property
|
|
10552
10666
|
def IsRemoteCommandExecutionAnalysis(self):
|
|
10553
|
-
r"""
|
|
10667
|
+
r"""<p>是否开启远程命令攻击检测</p>
|
|
10554
10668
|
:rtype: int
|
|
10555
10669
|
"""
|
|
10556
10670
|
return self._IsRemoteCommandExecutionAnalysis
|
|
@@ -10561,7 +10675,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10561
10675
|
|
|
10562
10676
|
@property
|
|
10563
10677
|
def IsMemoryHijackingAnalysis(self):
|
|
10564
|
-
r"""
|
|
10678
|
+
r"""<p>是否开启内存马检测</p>
|
|
10565
10679
|
:rtype: int
|
|
10566
10680
|
"""
|
|
10567
10681
|
return self._IsMemoryHijackingAnalysis
|
|
@@ -10572,7 +10686,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10572
10686
|
|
|
10573
10687
|
@property
|
|
10574
10688
|
def LogIndexType(self):
|
|
10575
|
-
r"""CLS索引类型(0=全文索引,1=键值索引)
|
|
10689
|
+
r"""<p>CLS索引类型(0=全文索引,1=键值索引)</p>
|
|
10576
10690
|
:rtype: int
|
|
10577
10691
|
"""
|
|
10578
10692
|
return self._LogIndexType
|
|
@@ -10583,7 +10697,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10583
10697
|
|
|
10584
10698
|
@property
|
|
10585
10699
|
def LogTraceIdKey(self):
|
|
10586
|
-
r"""traceId的索引key: 当CLS
|
|
10700
|
+
r"""<p>traceId的索引key: 当CLS索引类型为键值索引时生效</p>
|
|
10587
10701
|
:rtype: str
|
|
10588
10702
|
"""
|
|
10589
10703
|
return self._LogTraceIdKey
|
|
@@ -10594,7 +10708,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10594
10708
|
|
|
10595
10709
|
@property
|
|
10596
10710
|
def IsDeleteAnyFileAnalysis(self):
|
|
10597
|
-
r"""
|
|
10711
|
+
r"""<p>是否开启删除任意文件检测(0-关闭,1-开启)</p>
|
|
10598
10712
|
:rtype: int
|
|
10599
10713
|
"""
|
|
10600
10714
|
return self._IsDeleteAnyFileAnalysis
|
|
@@ -10605,7 +10719,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10605
10719
|
|
|
10606
10720
|
@property
|
|
10607
10721
|
def IsReadAnyFileAnalysis(self):
|
|
10608
|
-
r"""
|
|
10722
|
+
r"""<p>是否开启读取任意文件检测(0-关闭,1-开启)</p>
|
|
10609
10723
|
:rtype: int
|
|
10610
10724
|
"""
|
|
10611
10725
|
return self._IsReadAnyFileAnalysis
|
|
@@ -10616,7 +10730,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10616
10730
|
|
|
10617
10731
|
@property
|
|
10618
10732
|
def IsUploadAnyFileAnalysis(self):
|
|
10619
|
-
r"""
|
|
10733
|
+
r"""<p>是否开启上传任意文件检测(0-关闭,1-开启)</p>
|
|
10620
10734
|
:rtype: int
|
|
10621
10735
|
"""
|
|
10622
10736
|
return self._IsUploadAnyFileAnalysis
|
|
@@ -10627,7 +10741,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10627
10741
|
|
|
10628
10742
|
@property
|
|
10629
10743
|
def IsIncludeAnyFileAnalysis(self):
|
|
10630
|
-
r"""
|
|
10744
|
+
r"""<p>是否开启包含任意文件检测(0-关闭,1-开启)</p>
|
|
10631
10745
|
:rtype: int
|
|
10632
10746
|
"""
|
|
10633
10747
|
return self._IsIncludeAnyFileAnalysis
|
|
@@ -10638,7 +10752,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10638
10752
|
|
|
10639
10753
|
@property
|
|
10640
10754
|
def IsDirectoryTraversalAnalysis(self):
|
|
10641
|
-
r"""
|
|
10755
|
+
r"""<p>是否开启目录遍历检测(0-关闭,1-开启)</p>
|
|
10642
10756
|
:rtype: int
|
|
10643
10757
|
"""
|
|
10644
10758
|
return self._IsDirectoryTraversalAnalysis
|
|
@@ -10649,7 +10763,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10649
10763
|
|
|
10650
10764
|
@property
|
|
10651
10765
|
def IsTemplateEngineInjectionAnalysis(self):
|
|
10652
|
-
r"""
|
|
10766
|
+
r"""<p>是否开启模板引擎注入检测(0-关闭,1-开启)</p>
|
|
10653
10767
|
:rtype: int
|
|
10654
10768
|
"""
|
|
10655
10769
|
return self._IsTemplateEngineInjectionAnalysis
|
|
@@ -10660,7 +10774,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10660
10774
|
|
|
10661
10775
|
@property
|
|
10662
10776
|
def IsScriptEngineInjectionAnalysis(self):
|
|
10663
|
-
r"""
|
|
10777
|
+
r"""<p>是否开启脚本引擎注入检测(0-关闭,1-开启)</p>
|
|
10664
10778
|
:rtype: int
|
|
10665
10779
|
"""
|
|
10666
10780
|
return self._IsScriptEngineInjectionAnalysis
|
|
@@ -10671,7 +10785,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10671
10785
|
|
|
10672
10786
|
@property
|
|
10673
10787
|
def IsExpressionInjectionAnalysis(self):
|
|
10674
|
-
r"""
|
|
10788
|
+
r"""<p>是否开启表达式注入检测(0-关闭,1-开启)</p>
|
|
10675
10789
|
:rtype: int
|
|
10676
10790
|
"""
|
|
10677
10791
|
return self._IsExpressionInjectionAnalysis
|
|
@@ -10682,7 +10796,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10682
10796
|
|
|
10683
10797
|
@property
|
|
10684
10798
|
def IsJNDIInjectionAnalysis(self):
|
|
10685
|
-
r"""
|
|
10799
|
+
r"""<p>是否开启JNDI注入检测(0-关闭,1-开启)</p>
|
|
10686
10800
|
:rtype: int
|
|
10687
10801
|
"""
|
|
10688
10802
|
return self._IsJNDIInjectionAnalysis
|
|
@@ -10693,7 +10807,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10693
10807
|
|
|
10694
10808
|
@property
|
|
10695
10809
|
def IsJNIInjectionAnalysis(self):
|
|
10696
|
-
r"""
|
|
10810
|
+
r"""<p>是否开启JNI注入检测(0-关闭,1-开启)</p>
|
|
10697
10811
|
:rtype: int
|
|
10698
10812
|
"""
|
|
10699
10813
|
return self._IsJNIInjectionAnalysis
|
|
@@ -10704,7 +10818,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10704
10818
|
|
|
10705
10819
|
@property
|
|
10706
10820
|
def IsWebshellBackdoorAnalysis(self):
|
|
10707
|
-
r"""
|
|
10821
|
+
r"""<p>是否开启Webshell后门检测(0-关闭,1-开启)</p>
|
|
10708
10822
|
:rtype: int
|
|
10709
10823
|
"""
|
|
10710
10824
|
return self._IsWebshellBackdoorAnalysis
|
|
@@ -10715,7 +10829,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10715
10829
|
|
|
10716
10830
|
@property
|
|
10717
10831
|
def IsDeserializationAnalysis(self):
|
|
10718
|
-
r"""
|
|
10832
|
+
r"""<p>是否开启反序列化检测(0-关闭,1-开启)</p>
|
|
10719
10833
|
:rtype: int
|
|
10720
10834
|
"""
|
|
10721
10835
|
return self._IsDeserializationAnalysis
|
|
@@ -10726,7 +10840,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10726
10840
|
|
|
10727
10841
|
@property
|
|
10728
10842
|
def UrlLongSegmentThreshold(self):
|
|
10729
|
-
r"""URL
|
|
10843
|
+
r"""<p>URL长分段收敛阈值</p>
|
|
10730
10844
|
:rtype: int
|
|
10731
10845
|
"""
|
|
10732
10846
|
return self._UrlLongSegmentThreshold
|
|
@@ -10737,7 +10851,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10737
10851
|
|
|
10738
10852
|
@property
|
|
10739
10853
|
def UrlNumberSegmentThreshold(self):
|
|
10740
|
-
r"""URL
|
|
10854
|
+
r"""<p>URL数字分段收敛阈值</p>
|
|
10741
10855
|
:rtype: int
|
|
10742
10856
|
"""
|
|
10743
10857
|
return self._UrlNumberSegmentThreshold
|
|
@@ -10748,7 +10862,7 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10748
10862
|
|
|
10749
10863
|
@property
|
|
10750
10864
|
def LogSpanIdKey(self):
|
|
10751
|
-
r"""spanId的索引key: 当CLS
|
|
10865
|
+
r"""<p>spanId的索引key: 当CLS索引类型为键值索引时生效</p>
|
|
10752
10866
|
:rtype: str
|
|
10753
10867
|
"""
|
|
10754
10868
|
return self._LogSpanIdKey
|
|
@@ -10757,6 +10871,39 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10757
10871
|
def LogSpanIdKey(self, LogSpanIdKey):
|
|
10758
10872
|
self._LogSpanIdKey = LogSpanIdKey
|
|
10759
10873
|
|
|
10874
|
+
@property
|
|
10875
|
+
def EnableHeadSampler(self):
|
|
10876
|
+
r"""<p>是否开启探针头采样</p>
|
|
10877
|
+
:rtype: bool
|
|
10878
|
+
"""
|
|
10879
|
+
return self._EnableHeadSampler
|
|
10880
|
+
|
|
10881
|
+
@EnableHeadSampler.setter
|
|
10882
|
+
def EnableHeadSampler(self, EnableHeadSampler):
|
|
10883
|
+
self._EnableHeadSampler = EnableHeadSampler
|
|
10884
|
+
|
|
10885
|
+
@property
|
|
10886
|
+
def HeadSamplerType(self):
|
|
10887
|
+
r"""<p>头采类型</p><p>枚举值:</p><ul><li>parentbased_traceidratio: 默认</li></ul>
|
|
10888
|
+
:rtype: str
|
|
10889
|
+
"""
|
|
10890
|
+
return self._HeadSamplerType
|
|
10891
|
+
|
|
10892
|
+
@HeadSamplerType.setter
|
|
10893
|
+
def HeadSamplerType(self, HeadSamplerType):
|
|
10894
|
+
self._HeadSamplerType = HeadSamplerType
|
|
10895
|
+
|
|
10896
|
+
@property
|
|
10897
|
+
def HeadSamplerArg(self):
|
|
10898
|
+
r"""<p>头采采样率</p><p>取值范围:[0, 100]</p>
|
|
10899
|
+
:rtype: int
|
|
10900
|
+
"""
|
|
10901
|
+
return self._HeadSamplerArg
|
|
10902
|
+
|
|
10903
|
+
@HeadSamplerArg.setter
|
|
10904
|
+
def HeadSamplerArg(self, HeadSamplerArg):
|
|
10905
|
+
self._HeadSamplerArg = HeadSamplerArg
|
|
10906
|
+
|
|
10760
10907
|
|
|
10761
10908
|
def _deserialize(self, params):
|
|
10762
10909
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -10807,6 +10954,9 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
10807
10954
|
self._UrlLongSegmentThreshold = params.get("UrlLongSegmentThreshold")
|
|
10808
10955
|
self._UrlNumberSegmentThreshold = params.get("UrlNumberSegmentThreshold")
|
|
10809
10956
|
self._LogSpanIdKey = params.get("LogSpanIdKey")
|
|
10957
|
+
self._EnableHeadSampler = params.get("EnableHeadSampler")
|
|
10958
|
+
self._HeadSamplerType = params.get("HeadSamplerType")
|
|
10959
|
+
self._HeadSamplerArg = params.get("HeadSamplerArg")
|
|
10810
10960
|
memeber_set = set(params.keys())
|
|
10811
10961
|
for name, value in vars(self).items():
|
|
10812
10962
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.132
|
|
4
4
|
Summary: Tencent Cloud Apm SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.132
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.132
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.118
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|