tencent cloud

DokumentasiTencent Cloud Observability Platform

API Parameter Dictionary

Download
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-05-12 10:57:24

Modify Application Configuration Information

ModifyGeneralApmApplicationConfig API is used to modify application configuration information. The application configuration is passed through the Tags parameter, and Tags is an array composed of ApmTag. ApmTag supports the following key-value pairs:
Key
Value Type
Example Value
Description
UrlConvergenceSwitch
int64
1
URL convergence switch. 0: Off, 1: On
UrlConvergenceThreshold
int64
50
URL Convergence Threshold
UrlConvergence
string
market.StockService.getStock(.*?),market.StockService.getPreDayS
URL convergence rule regular expressions, separated by newline character \\n
UrlExclude
string
market.StockService.getStock(.*?),market.StockService.getPreDayS
URL exclusion rule regular expressions, separated by newline character \\n
OperationNameFilter
string
RPCServer/market.MarketService2/(.*?)
Interface filtering, separated by newline character \\n
ExceptionFilter
string
io.grpc.StatusRuntimeException,java.sql.(.*?)
Exception type filtering, separated by newline character \\n
ErrorCodeFilter
string
400,500
HTTP Status Code Filtering
LogSource
string
CLS
Log Sources
LogRegion
string
ap-guangzhou
Log Region
IsRelatedLog
int64
1
Whether to enable logging. 0: Off, 1: On
LogTopicID
string
032f3078-10b6-46a0-978f-1696e8e79696
Log Topic
LogSet
string
postgres
Logset
AgentEnable
bool
true
Probe master switch: true enables, false disables
SnapshotEnable
bool
false
Method stack snapshot switch: true enables, false disables.
SnapshotTimeout
int64
2000
Slow call monitoring trigger threshold (unit: ms)
AgentIgnoreOperation
string
/hello/world,/health/check
List of ignored interfaces, with multiple interfaces separated by commas.
EnableSecurityConfig
bool
true
Whether to enable application-level security configuration. When false, the business system-level configuration is used by default.
IsSqlInjectionAnalysis
int64
1
Whether to enable SQL injection detection. 1: On, 0: Off
Effective only when EnableSecurityConfig=true during modification.
IsInstrumentationVulnerabilityScan
int64
1
Whether to enable component vulnerability detection. 1: On, 0: Off
Effective only when EnableSecurityConfig=true during modification.
IsMemoryHijackingAnalysis
int64
1
Whether to enable memory shell detection. 1: On, 0: Off
Effective only when EnableSecurityConfig=true during modification.
IsRemoteCommandExecutionAnalysis
int64
1
Whether to enable remote command execution detection. 1: On, 0: Off
Effective only when EnableSecurityConfig=true during modification.
EnableDashboardConfig
bool
true
Whether to enable application-level Dashboard console configuration. When false, the business system-level configuration is used by default.
IsRelatedDashboard
int64
1
Whether the Dashboard console is associated. 1: Yes, 0: No
DashboardTopicID
string
testTopicID
Dashboard TopicID
Note:
For more details about application configuration, refer to the Application Configuration Help Documentation.
When using the ModifyGeneralApmApplicationConfig API to modify application configuration, you only need to specify the configuration items to be modified in Tags. You do not need to provide the complete application configuration.
The input sample is as follows:
{
"InstanceId": "apm-059oXBfTL",
"Tags": [
{
"Key": "UrlConvergence",
"Value": "RPCServer/market.MarketServiceleetcode9(.*?)"
},
{
"Key": "UrlConvergenceThreshold",
"Value": "600"
},
{
"Key": "UrlConvergenceSwitch",
"Value": "1"
},
{
"Key": "AgentEnable",
"Value": "true"
}
],
"ServiceNames": [
"stock-service",
"profile-service"
]
}


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan