{ "apmSpan": { "traceId": "${traceId}", "segmentId": "-1", "spanId": "1", "superSegmentId": "-1", "superSpanId": "-1", "apmServiceCode": "app-monitor-ms", "apmServiceInstId": "xxxx", "cmdbId": "${app-cmdb里的系统id}", "apmEndpointName": "/monitor/ms/test", "startTime": 1667282416869, "endTime": 1667282416869, "type": "ENTRY", "layer": "HTTP", "success": true, "statusCode": "200", "subSpan": [ { "traceId": "${traceId}", "segmentId": "-1", "spanId": "2", "superSegmentId": "-1", "superSpanId": "1", "apmServiceCode": "app-monitor-ms", "apmServiceInstId": "xxxx", "cmdbId": "${app-cmdb里的系统id}", "apmEndpointName": "com.abc.app.monitor.service.TestService.testMethod", "startTime": 1667282416869, "endTime": 1667282416869, "type": "LOCAL", "layer": "METHOD", "success": true, "statusCode": "200", "subSpan": [ { "traceId": "${traceId}", "segmentId": "-1", "spanId": "3", "superSegmentId": "-1", "superSpanId": "2", "apmServiceCode": "app-monitor-ms", "apmServiceInstId": "xxxx", "cmdbId": "${app-cmdb里的系统id}", "apmEndpointName": "Oracle/PreparedStatemnt/query", "startTime": 1667282416869, "endTime": 1667282416869, "type": "EXIT", "layer": "DB", "success": false, "statusCode": "500", "errorMsg": "sql执行失败", "event": { "level": "error", "message": "IO 错误: Connection refused", "name": "java.sql.SQLRecoverableException", "stack": "java.sql.SQLRecoverableException: IO 错误: Connection refused\r\nat oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:458)\r\nat oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:546)\r\nat oracle.jdbc.driveRr.T4CConnection.(T4CConnection.java:236)\r\nat oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)\r\nat oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)\r\nat java.sql.DriverManager.getConnection(DriverManager.java:664)\r\nat java.sql.DriverManager.getConnection(DriverManager.java:247)\r\nat com.abc.app.monitor.service.TestDao.testMethod(TestDao.java:55)" }, "peer": "10.144.155.92:1521", "tag": [ { "key": "db.statment", "value": "select 1 from dual" }, { "key": "db.instance", "value": "app" } ] } ] } ] }, "msgType": "apm", "secZoneId": "40003102" }