Registry / observability / datadog-gostackparse

datadog-gostackparse

JSON →
library0.7.0gogounverified

Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at high speed.

go get github.com/DataDog/gostackparse
INSTALL
IMPORT
SIG · DATADOG-GOSTACKPAR
D
datadog-gostackparse
observabilitygov0.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gostackparse
✓ github.com/DataDog/gostackparse

Parses and prints goroutine stack traces.

package main import ( "fmt" "runtime/debug" "github.com/DataDog/gostackparse" ) func main() { stack := debug.Stack() goroutines, _ := gostackparse.Parse(stack) for _, g := range goroutines { fmt.Printf("Goroutine %d: %s\n", g.ID, g.State) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
18
OpenAI (training)
2
Bingbot
1
Resources
datadog-gostackparse — go get datadog-gostackparse · libregistry