package
2.0.1+incompatible
Repository: https://github.com/pyroscope-io/ci.git
Documentation: pkg.go.dev
# Functions
Detect tries to detect the CIContext automatically If it cannot, it falls back to the values available in ExecCfg Note that it may return an invalid CIContext.
Exec executes a program and exports its captured profiles It works by creating an in-memory pyroscope server Then overwriting the default serverAddress using the PYROSCOPE_ADHOC_SERVER_ADDRESS env var Which then is uploaded to a) a pyroscope server that supports the /ci API b) to a local directory c) to a public API (here flamegraph.com) d) any combination of above options
Notice that it returns 2 different errors: cmdError refers to the error of the command exec'd and err to any other error.
No description provided by the author
No description provided by the author
NewPutter creates a Putter that stores Put data into memory Which can then be retrieved via GetPutItems.
No description provided by the author
# Type aliases
No description provided by the author