Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new command: nomad debug captures a debug archive of cluster state #8244

Merged
merged 20 commits into from
Jun 25, 2020
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
1c395e8
command/debug: build a local archive of debug data
langmartin Jun 9, 2020
3421287
command/debug: query consul and vault directly
langmartin Jun 23, 2020
51180e8
command/debug: get consul and vault data
langmartin Jun 23, 2020
582da80
command/debug: refactor path handling, create awaitTask
langmartin Jun 23, 2020
7049c26
command/debug: monitor and await loops
langmartin Jun 24, 2020
6013f08
command/debug: monitor for multiple client/servers is working
langmartin Jun 24, 2020
f4eb7e1
command/debug: lint, remove -archive flag
langmartin Jun 24, 2020
ed8bb74
command/debug: include two pprof traces
langmartin Jun 24, 2020
95a7f23
command/debug: capture goroutine
langmartin Jun 24, 2020
b8cb67f
command/debug_test
langmartin Jun 24, 2020
b59106d
command/debug: write manifest index files
langmartin Jun 24, 2020
00a4da7
command/debug_test: missing file tests
langmartin Jun 24, 2020
4cd978d
command/debug: print the archive path at the end
langmartin Jun 24, 2020
9eff486
command/debug: comments
langmartin Jun 24, 2020
9746759
command/debug: capture signals and close the monitor requests
langmartin Jun 24, 2020
2e10cfc
command/debug: use context, sensible manifest, fix help
langmartin Jun 25, 2020
d6c7dec
command/debug_test: capture the output on flaky test
langmartin Jun 25, 2020
97fc1b7
command/debug_test: wait for the http server to start before test
langmartin Jun 25, 2020
10c012d
command/debug: cleanup help text, error messages
langmartin Jun 25, 2020
e2c3e89
command/debug_test: connect to the right nomad cluster address
langmartin Jun 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions command/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ func Commands(metaPtr *Meta, agentUi cli.Ui) map[string]cli.CommandFactory {
Meta: meta,
}, nil
},
"debug": func() (cli.Command, error) {
return &DebugCommand{
Meta: meta,
}, nil
},
"deployment": func() (cli.Command, error) {
return &DeploymentCommand{
Meta: meta,
Expand Down
Loading