Atlantiraptor Docs

profile

Type: Plugin · Category: developer

Returns a profile dump from the running process.

Argument Type Description
allocs bool A sampling of all past memory allocations
block bool Stack traces that led to blocking on synchronization primitives
goroutine bool Stack traces of all current goroutines
heap bool A sampling of memory allocations of live objects.
mutex bool Stack traces of holders of contended mutexes
profile bool CPU profile.
trace bool CPU trace.
debug int64 Debug level
logs bool Recent logs
queries bool Recent Queries run
metrics bool Collect metrics
duration int64 Duration of samples (default 30 sec)
type string The type of profile (this is a regex of debug output types that will be shown).

Required permissions: MACHINE_STATE

Platforms: macOS, Linux, Windows

Source: vql/golang/profile.go