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(telemetry): don't report usage data for dev builds #258

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

EverlastingBugstopper
Copy link
Contributor

@EverlastingBugstopper EverlastingBugstopper commented Feb 9, 2021

this should let us differentiate between our CI test suite/dev machines and our users executions. right now our charts are skewed pretty heavily by our test runners!

an alternative solution would be to pass a separate field entirely that lets us know if we're running a dev version. we could also just disable telemetry entirely for non-release builds! let me know what y'all think the best approach would be.

looks like npm 7 included some package.json changes here as well

@JakeDawkins
Copy link
Contributor

JakeDawkins commented Feb 10, 2021

Is there any practical reason to have telemetry in non-release builds, aside from checking that we don't break telemetry between releases? Because if there's no super compelling reason, I feel like it'd be easier to just not report in non-release builds. I know I usually run with it disabled on my machine, so it'd at least save that step :)

edit: I hope that comment didn't sound blunt. haha just trying to weigh the cost/benefits here :wendyparrot:

@EverlastingBugstopper
Copy link
Contributor Author

EverlastingBugstopper commented Feb 10, 2021

mmm-no, not really! happy to just turn it off completely - lets just do that

edit: no, not too blunt, i think you're right 😉

@EverlastingBugstopper EverlastingBugstopper changed the title feat(telemetry): reports if rover version is dev feat(telemetry): don't report usage data for dev builds Feb 10, 2021
Copy link
Contributor

@JakeDawkins JakeDawkins left a comment

Choose a reason for hiding this comment

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

❤️ 🎉

@EverlastingBugstopper EverlastingBugstopper merged commit aaca7a9 into main Feb 11, 2021
@EverlastingBugstopper EverlastingBugstopper deleted the avery/report-dev-builds branch February 11, 2021 17:36
@EverlastingBugstopper EverlastingBugstopper changed the title feat(telemetry): don't report usage data for dev builds fix(telemetry): don't report usage data for dev builds Feb 22, 2021
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.

2 participants