logagent-js icon indicating copy to clipboard operation
logagent-js copied to clipboard

Go stack traces are not shipped

Open rabbitstack opened this issue 5 years ago • 2 comments

Besides the pattern is declared here, it seems like Logagent is not able to parse Go stack traces.

rabbitstack avatar May 12 '20 12:05 rabbitstack

@rabbitstack Do you have a sample of Go stack traces that are not getting parsed that you could include here?

otisg avatar May 12 '20 13:05 otisg

Something like this:

panic: runtime error: index out of range

goroutine 1 [running]:
github.com/sematext/foo/beef.(*upbuilder).InitUprobes(0xc4202d3680)
    /home/johndoe/Sematext/dev-st/foo/src/github.com/sematext/foo/beef/uprobe_builder.go:94 +0x18
main.main.func1(0xc42045e000, 0x19b6180, 0x0, 0x0)
    /home/johndoe/Sematext/dev-st/foo/src/github.com/sematext/foo/cmd/foo/main.go:196 +0xc77
github.com/sematext/foo/vendor/github.com/spf13/cobra.(*Command).execute(0xc42045e000, 0xc4200a8170, 0x0, 0x0, 0xc42045e000, 0xc4200a8170)
    /home/johndoe/Sematext/dev-st/foo/src/github.com/sematext/foo/vendor/github.com/spf13/cobra/command.go:766 +0x2c1
github.com/sematext/foo/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc42045e000, 0x1, 0x100027b, 0x1)
    /home/johndoe/Sematext/dev-st/foo/src/github.com/sematext/foo/vendor/github.com/spf13/cobra/command.go:852 +0x30a
github.com/sematext/foo/vendor/github.com/spf13/cobra.(*Command).Execute(0xc42045e000, 0xc42045a000, 0xc42045e000)
    /home/johndoe/Sematext/dev-st/foo/src/github.com/sematext/foo/vendor/github.com/spf13/cobra/command.go:800 +0x2b
main.main()
    /home/johndoe/Sematext/dev-st/foo/src/github.com/sematext/foo/cmd/foo/main.go:307 +0x51c

rabbitstack avatar May 12 '20 13:05 rabbitstack