APM Insight Python 代理配置文件帮助您微调用于跟踪基于 Web 的事务的配置。这些设置可以通过 Web 客户端.
这些设置可以使用 Web 客户端中提供的编辑选项进行配置。

浏览以下主题以查看相应类别的 Python 代理配置文件:
| 名称 | 键 | 描述 | 默认值 |
|---|---|---|---|
捕获数据库 SQL 查询 |
sql.capture.enabled |
|
True |
混淆 SQL 参数 |
transaction.trace.sql.parametrize |
|
True |
事务跟踪中 SQL 的堆栈跟踪阈值 |
transaction.trace.sql.stacktrace.threshold |
|
3(秒) |
显示实例端口号 |
show.instance.port.number |
|
True |
跳过跟踪的 URL 扩展名列表 |
transaction.skip.listening |
|
*.css, *.js, *.gif, *.jpg, *.jpeg, *.bmp, *.png, *.ico, *.properties, *.jsf, *.ttf, *.woff, *.woff2, *.otf, *.svg, *.webp |
| 跳过跟踪的异常列表 | exceptions.ignore |
|
无 |
| 排除事务名称中的分组 | transaction.keyword.skip.grouping |
|
无 |
| 名称 | 键 | 描述 | 默认值 |
|---|---|---|---|
Apdex 阈值 |
apdex.threshold |
|
0.5(秒) |
采样因子 |
transaction.tracking.request.interval |
|
1(请求)或 10(秒) |
启用事务跟踪 |
transaction.trace.enabled |
|
True |
忽略跟踪的 HTTP 错误代码列表 |
http.errors.ignore |
|
无 |
是否捕获每个事务的 CPU 时间? |
|
|
True |
| 按位置分组相似事务 | transaction.grouping.by.position |
|
无 |
| 排除事务名称中的分组 | transaction.keyword.skip.grouping |
|
无 |
| 捕获 HTTP 参数 | webtransaction.trace.input.params.record |
|
False |
| 名称 | 键 | 描述 | 默认值 |
|---|---|---|---|
| 跟踪后台事务 | bgtransaction.tracking.enabled |
|
True |
| 捕获跟踪 | bgtransaction.trace.enabled |
|
True |
| 事务跟踪阈值 | bgtransaction.trace.threshold |
|
5(秒) |
| 外部调用超过时捕获跟踪 | bgtransaction.trace.external.components.count.threshold |
|
50(次) |
| 是否捕获每个事务的 CPU 时间? | bgtransaction.record.cputime.enabled |
|
False |
| 采样因子 | bgtransaction.tracking.request.interval |
|
1(请求) |