Cian Johnston
8e1e0f04a4
feat(cli): support bundle: show links to docs/admin/healthcheck ( #12974 )
2024-04-16 16:21:09 +01:00
Cian Johnston
407e61ecd4
feat(cli): support bundle: dump healthcheck summary ( #12963 )
...
* refactor(codersdk): extract common fields from HealthReport and friends
* feat(codersdk/healthsdk): add Summarize() method
* feat(cli): support bundle: dump healthcheck summary
2024-04-16 13:31:56 +01:00
Cian Johnston
9a4703a311
feat(coderd/healthcheck): improve detection of STUN issues ( #12951 )
...
Adds checks to coderd/healthcheck/derphealth for STUN issues:
- Alerts if there is not least one healthy STUN server,
- Alerts if we see variable port mapping.
2024-04-15 17:10:49 +01:00
Cian Johnston
b163bc7f01
fix(support): correctly rename existing agent connection info, add real netcheck ( #12946 )
2024-04-12 09:40:04 +01:00
Cian Johnston
fad97a14f9
fix(cli): allow generating partial support bundles with no workspace or agent ( #12933 )
...
* fix(cli): allow generating partial support bundles with no workspace or agent
* nolint control flag
2024-04-11 10:09:10 +01:00
Cian Johnston
ba3879ac47
fix(cli): fix newline escape sequence in support blurb ( #12749 )
2024-03-25 16:51:48 +00:00
Cian Johnston
01f9a9ab77
feat(cli): unhide support bundle cmd ( #12745 )
...
* chore(cli): add another test to ensure no secret leakage
* feat(cli): unhide support bundle cmd
2024-03-25 15:14:27 +00:00
Cian Johnston
f2a9e515df
feat(cli/support): confirm before creating bundle ( #12684 )
...
Forces user to confirm before creating a support bundle.
Also adds contextual information to the bundle under cli_logs.txt.
2024-03-21 17:06:28 +00:00
Ammar Bandukwala
b4c0fa80d8
chore(cli): rename Cmd to Command ( #12616 )
...
I think Command is cleaner and my original decision to use "Cmd"
a mistake.
Plus this creates better parity with cobra.
2024-03-17 09:45:26 -05:00
Ammar Bandukwala
496232446d
chore(cli): replace clibase with external `coder/serpent` ( #12252 )
2024-03-15 11:24:38 -05:00
Cian Johnston
b0c4e7504c
feat(support): add client magicsock and agent prometheus metrics to support bundle ( #12604 )
...
* feat(codersdk): add ability to fetch prometheus metrics directly from agent
* feat(support): add client magicsock and agent prometheus metrics to support bundle
* refactor(support): simplify AgentInfo control flow
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2024-03-15 15:33:49 +00:00
Cian Johnston
2abc1cd2b7
feat(support): fetch agent network info over tailnet ( #12577 )
...
Adds agent-related information to support bundle command.
2024-03-15 11:01:39 +00:00
Cian Johnston
17caf58b5e
feat(support): add template info to support bundle ( #12451 )
...
Adds workspace build parameters, template, template version, and zipped template source to support bundle.
2024-03-07 14:43:46 +00:00
Cian Johnston
b1c2fea78b
feat(cli): add support cmd ( #12328 )
...
Part of #12163
- Adds a command coder support bundle <workspace> that generates a
support bundle and writes it to coder-support-$(date +%s).zip.
- Note: this is hidden currently until the rest of the functionality is fleshed out.
2024-03-01 17:13:50 +00:00