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: Record preceding init/upgrade on error events #20099

Closed
wants to merge 1 commit into from

Conversation

shilman
Copy link
Member

@shilman shilman commented Dec 6, 2022

Issue: N/A

What I did

In #20084 I added info about the most recent upgrade to dev / build events. But this is useless for monitoring success rates unless we also track errors.

How to test

In a test project, where sb is aliased to your local version:

STORYBOOK_TELEMETRY_DEBUG=true sb upgrade --prerelease
# edit .storybook/main.js to throw an error
STORYBOOK_TELEMETRY_DEBUG=true sb dev    

It should report the error and reference the last upgrade event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks telemetry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant