I am using the 1.0 release of apm-agent-go on our project at test environments. And there are some errors of same type occur sometime as following:
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "gocontext.go",
"abs_path": "/buildpath/src/code.com/demo/vendor/github.com/elastic/apm-agent-go/gocontext.go",
"line": {
"number": 64
},
"module": "code.com/demo/vendor/github.com/elastic/apm-agent-go",
"function": "CaptureError"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "conn.go",
"abs_path": "/buildpath/src/code.com/demo/vendor/github.com/elastic/apm-agent-go/module/apmsql/conn.go",
"line": {
"number": 71
},
"module": "code.com/demo/vendor/github.com/elastic/apm-agent-go/module/apmsql",
"function": "(*conn).finishSpan"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "conn.go",
"abs_path": "/buildpath/src/code.com/demo/vendor/github.com/elastic/apm-agent-go/module/apmsql/conn.go",
"line": {
"number": 93
},
"module": "code.com/demo/vendor/github.com/elastic/apm-agent-go/module/apmsql",
"function": "(*conn).QueryContext"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"abs_path": "/usr/local/go/src/database/sql/ctxutil.go",
"filename": "ctxutil.go",
"line": {
"number": 48
},
"module": "database/sql",
"function": "ctxDriverQuery"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "sql.go",
"abs_path": "/usr/local/go/src/database/sql/sql.go",
"line": {
"number": 1320
},
"module": "database/sql",
"function": "(*DB).queryDC.func1"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "sql.go",
"abs_path": "/usr/local/go/src/database/sql/sql.go",
"line": {
"number": 2867
},
"function": "withLock",
"module": "database/sql"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "sql.go",
"abs_path": "/usr/local/go/src/database/sql/sql.go",
"line": {
"number": 1319
},
"module": "database/sql",
"function": "(*DB).queryDC"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "sql.go",
"abs_path": "/usr/local/go/src/database/sql/sql.go",
"line": {
"number": 1304
},
"function": "(*DB).query",
"module": "database/sql"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"abs_path": "/usr/local/go/src/database/sql/sql.go",
"filename": "sql.go",
"line": {
"number": 1281
},
"module": "database/sql",
"function": "(*DB).QueryContext"
},
{
"exclude_from_grouping": false,
"library_frame": true,
"filename": "dbr.go",
"abs_path": "/buildpath/src/code.com/demo/vendor/git.xiaojukeji.com/houxinzhu/dbr/dbr.go",
"line": {
"number": 161
},
"module": "code.com/demo/vendor/git.xiaojukeji.com/houxinzhu/dbr",
"function": "query"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "select_builder.go",
"abs_path": "/buildpath/src/code.com/demo/vendor/git.xiaojukeji.com/houxinzhu/dbr/select_builder.go",
"line": {
"number": 94
},
"module": "code.com/demo/vendor/git.xiaojukeji.com/houxinzhu/dbr",
"function": "(*SelectBuilder).LoadContext"
},
{
"exclude_from_grouping": false,
"filename": "resource.go",
"abs_path": "/buildpath/src/code.com/demo/server/model/resource.go",
"line": {
"number": 423
},
"module": "code.com/demo/server/model",
"function": "(*Resource).GetTrashByDeadline"
},
{
"exclude_from_grouping": false,
"filename": "deletetrash.go",
"abs_path": "/buildpath/src/code.com/demo/server/services/plugins/deletetrash.go",
"line": {
"number": 40
},
"function": "(*TrashConfig).cronDeleteTrash",
"module": "code.com/demo/server/services/plugins"
},
{
"exclude_from_grouping": false,
"filename": "deletetrash.go",
"abs_path": "/buildpath/src/code.com/demo/server/services/plugins/deletetrash.go",
"line": {
"number": 28
},
"module": "code.com/demo/server/services/plugins",
"function": "(*TrashConfig).CronDeleteTrash"
},
{
"exclude_from_grouping": false,
"abs_path": "/buildpath/src/code.com/demo/server/services/plugins/deletetrash.go",
"filename": "deletetrash.go",
"line": {
"number": 81
},
"module": "code.com/demo/server/services/plugins",
"function": "(*TrashConfig).CronDeleteTrash-fm"
},
{
"exclude_from_grouping": false,
"filename": "cron.go",
"abs_path": "/buildpath/src/code.com/demo/server/common/cron/cron.go",
"line": {
"number": 33
},
"function": "Cron.CronJob.func1",
"module": "code.com/demo/server/common/cron"
},
{
"exclude_from_grouping": false,
"library_frame": true,
"filename": "cron.go",
"abs_path": "/buildpath/src/code.com/demo/vendor/github.com/robfig/cron/cron.go",
"line": {
"number": 83
},
"module": "code.com/demo/vendor/github.com/robfig/cron",
"function": "FuncJob.Run"
},
{
"library_frame": true,
"exclude_from_grouping": false,
"filename": "asm_amd64.s",
"abs_path": "/usr/local/go/src/runtime/asm_amd64.s",
"line": {
"number": 2337
},
"function": "goexit",
"module": "runtime"
}
Any clue of what would be the problem? Thanks.