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

fix(cli): Telemetry improvements #8798

Merged
merged 8 commits into from
Jul 4, 2023
Merged

Conversation

Josh-Walker-GM
Copy link
Collaborator

Changes

  1. Telemetry is automatically closed after 5 minutes to ensure long running commands still send their data in a timely fashion.
  2. The sender is more robust to glitched telemetry files.
  3. Removed the verbose flag logic and now 8 files of telemetry are kept by default.
  4. Added additional notes to the telemetry.out.log
  5. Records the command as --help or --version if those flags are passed. This is because we will never hit a handler in that case so command would be blank.

@Josh-Walker-GM Josh-Walker-GM added the release:fix This PR is a fix label Jun 30, 2023
@Josh-Walker-GM Josh-Walker-GM added this to the v6.0.0 milestone Jun 30, 2023
Copy link
Contributor

@jtoar jtoar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Josh-Walker-GM looks good to me! My comments are mostly just nits so feel free to ignore

packages/cli/src/index.js Outdated Show resolved Hide resolved
packages/cli/src/index.js Outdated Show resolved Hide resolved
packages/cli/src/index.js Outdated Show resolved Hide resolved
@Josh-Walker-GM Josh-Walker-GM enabled auto-merge (squash) July 4, 2023 14:22
@Josh-Walker-GM Josh-Walker-GM merged commit a4e21e9 into main Jul 4, 2023
29 checks passed
@Josh-Walker-GM Josh-Walker-GM deleted the jgmw-cli/telemetry-updates branch July 4, 2023 14:51
jtoar pushed a commit that referenced this pull request Jul 4, 2023
**Changes**
1. Telemetry is automatically closed after 5 minutes to ensure long
running commands still send their data in a timely fashion.
2. The sender is more robust to glitched telemetry files.
3. Removed the verbose flag logic and now 8 files of telemetry are kept
by default.
4. Added additional notes to the `telemetry.out.log`
5. Records the command as `--help` or `--version` if those flags are
passed. This is because we will never hit a handler in that case so
`command` would be blank.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix This PR is a fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants