package
23.2.20+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
Package replay implements a debug-server HTTP handler for managing storage-level workload capture.
# Functions
CPUProfileDo invokes the closure while enabling (and disabling) the supplied CPUProfileMode.
CPUProfileHandler is replacement for `pprof.Profile` that supports additional options.
CPUProfileOptionsFromRequest parses the `seconds` and `labels` fragments from the URL and populates CPUProfileOptions from it.
NewActiveQueriesWriter instantiates and returns a new ActiveQueriesWriter, using the provided sessions slice and io.Writer.
NewServer sets up a debug server.
# Constants
Endpoint is the entry point under which the debug tools are housed.
# Structs
ActiveQueriesWriter writes debug information about the active queries for each session in the SessionRegistry to CSV format, using the provided io.Writer.
CPUProfileOptions contains options for generating a CPU profile.
Server serves the /debug/* family of tools.