12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- {
- "Sers": {
- /* 动态加载的App事件 */
- "AppEvent": [
- { //记录请求Trace到 Log/{yyyy-MM}/[{yyyy-MM-dd}]ApiTrace.txt文件
- /* 在此Assembly中加载类 */
- "assemblyFile": "Sers.Gover.Apm.Txt.dll",
- /* 动态加载的类名,必须继承接口 Sers.Core.Module.App.AppEvent.IAppEvent */
- "className": "Sers.Gover.Apm.Txt.AppEvent",
- "tags": {
- // 可为 requestRpc requestData responseRpc responseData
- "From": "Sers.Gover.Apm.Txt",
- "route": "{{requestRpc.route}}",
- //"{{requestRpc.route}}": "route",
- "url": "{{requestRpc.http.url}}",
- "method": "{{requestRpc.http.method}}",
- "requestRpc": "{{requestRpc}}",
- //"requestData": "{{requestData}}",
- "responseRpc": "{{responseRpc}}",
- "responseState": "{{responseRpc.http.headers.responseState}}"
- //"responseError_Base64": "{{responseRpc.http.headers.responseError_Base64}}"
- //"responseData": "{{responseData}}",
- //"responseData.error": "{{responseData.error}}"
- }
- }
- ]
- }
- }
|