Documentation
¶
Overview ¶
Package command profiles with any tool you can run: async-profiler for the JVM, perf, py-spy, rbspy, dotnet-trace, ... Each profile kind is a command run inside the service (through the runtime's exec) or on this machine against the service's pid; what it prints, or the file it writes, is the profile.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Kind ¶
type Kind struct {
// Command runs with {seconds}, {duration}, {pid} and {out} replaced.
Command []string `yaml:"command"`
// Where is "service" (exec inside the instance, the default) or "host" (this machine, for local runtimes).
Where string `yaml:"where"`
// Fetch, when set, runs after Command and its output is the profile (e.g. cat the file Command wrote).
Fetch []string `yaml:"fetch"`
Format string `yaml:"format"`
Ext string `yaml:"ext"`
}
Click to show internal directories.
Click to hide internal directories.