Crash your app in style (Golang)
Parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized process.
https://github.com/maruel/panicparse/tree/master/stack/webstack
import ("log""net""net/http""strings""sync""time""github.com/maruel/panicparse/v2/stack/webstack")func ExampleSnapshotHandler() {http.HandleFunc("/debug/panicparse", webstack.SnapshotHandler)// Access as http://localhost:6060/debug/panicparselog.Println(http.ListenAndServe("localhost:6060", nil))}
go栈信息格式化
datadog 开源的 go stack 输出解析工具。
https://github.com/DataDog/gostackparse
