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

telemetry: track command errors #1164

Merged
merged 3 commits into from
Sep 27, 2024
Merged

telemetry: track command errors #1164

merged 3 commits into from
Sep 27, 2024

Conversation

Tpuljak
Copy link
Member

@Tpuljak Tpuljak commented Sep 26, 2024

Telemetry: Track Command Errors

Description

This PR adds proper tracking of CLI commands that ended with an error. To do this, all the commands needed to be refactored to return errors instead of throwing fatals. Additionally, fixed the tracking of user-interrupted commands (e.g. ctrl+c out of the workspace creation process)

  • This change requires a documentation update
  • I have made corresponding changes to the documentation

@Tpuljak Tpuljak requested a review from a team as a code owner September 26, 2024 12:45
- command errors are now properly tracked
- fixed tracking of user-interruped commands
- this change required refactoring CLI commands to return errors instead of throwing fatal errors

Signed-off-by: Toma Puljak <[email protected]>
@Tpuljak Tpuljak force-pushed the telemetry-handle-cmd-errors branch from 7981059 to cbdee81 Compare September 26, 2024 12:54
@Tpuljak Tpuljak merged commit 8d84ce0 into main Sep 27, 2024
12 checks passed
@Tpuljak Tpuljak deleted the telemetry-handle-cmd-errors branch September 27, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants