Crate mz_debug

Source
Expand description

Debug tool for self managed environments.

Modulesยง

docker_dumper ๐Ÿ”’
Dumps Docker resources to files.
internal_http_dumper ๐Ÿ”’
Dumps internal http debug information to files.
k8s_dumper ๐Ÿ”’
Dumps k8s resources to files.
kubectl_port_forwarder ๐Ÿ”’
Port forwards k8s service via Kubectl
system_catalog_dumper ๐Ÿ”’
Dumps catalog information to files. We run queries in serial rather than parallel because all queries in the pgwire connection are run in serial anyways. Running the queries in serial also makes cleaning up / aborting queries much easier.
utils ๐Ÿ”’

Structsยง

Args
ContainerIpInfo ๐Ÿ”’
Context
EmulatorContext ๐Ÿ”’
EmulatorDebugModeArgs
PasswordAuthCredentials
PortForwardConnectionInfo ๐Ÿ”’
SelfManagedContext ๐Ÿ”’
SelfManagedDebugModeArgs

Enumsยง

AuthMode
DebugModeArgs
DebugModeContext ๐Ÿ”’
EmulatorMzConnectionInfo ๐Ÿ”’
SelfManagedMzConnectionInfo ๐Ÿ”’

Constantsยง

BUILD_INFO ๐Ÿ”’

Staticsยง

DEFAULT_MZ_ENVIRONMENTD_PORT
ENV_FILTER ๐Ÿ”’
VERSION ๐Ÿ”’

Traitsยง

ContainerDumper

Functionsยง

create_k8s_client ๐Ÿ”’
Creates a k8s client given a context. If no context is provided, the default context is used.
create_mz_connection_url ๐Ÿ”’
initialize_context ๐Ÿ”’
main ๐Ÿ”’
run ๐Ÿ”’