# config params

| key                          | 是否必传 | type     | 说明                                     | 默认值                |
| ---------------------------- | -------- | -------- | ---------------------------------------- | --------------------- |
| serviceName                  | 是       | string   | 服务名                                   | 无                    |
| serverUrl                    | 是       | string   | 上传服务器 url                           | 无                    |
| agentName                    | 否       | string   | 项目名                                   | 0                     |
| ignoreRequestUrls            | 否       | string[] | network Request 忽略 catch 的 url    | serverUrl             |
| isCatchResponseContent       | 否       | boolean  | 是否捕获 network Request 中的响应 body   | false                 |
| isGlobalElementActionCatch   | 否       | boolean  | elementAction_task 是否全量捕获          | false                 |
| agentVersion                 | 否       | string   | 项目版本                                 | 'undefiend'           |
| transactionDurationThreshold | 否       | number   | transaction 最大存活时间(ms)超时将被丢弃 | 999999999999999999999 |
| flushInterval                | 否       | number   | transaction 队列上传间隔(ms)             | 0                     |
| errorThrottleInterval        | 否       | number   | transaction 错误 队列上传间隔(ms)        | 0                     |
| transactionThrottleInterval  | 否       | number   | transaction 信息 队列上传间隔(ms)        | 0                     |
| pageLoadTransactionName      | 否       | string   | pageLoad-transactionName                 | window.location.href  |

