Skip to content

Added more analytics #1420

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

Merged
merged 3 commits into from
Oct 6, 2021
Merged

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Oct 4, 2021

Emit events containing more metrics:

  • devtools load time
  • hot restart time
  • full reload time
  • serve requests exceptions that we no longer crash on.

Helps: #1419

@google-cla google-cla bot added the cla: yes label Oct 4, 2021
@annagrin annagrin requested review from grouma and nshahan October 4, 2021 21:14
@annagrin annagrin requested a review from natebosch October 5, 2021 20:03
try {
return result = await function();
} catch (e) {
emitEvent(event(result)
Copy link
Member

Choose a reason for hiding this comment

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

result will only ever be null here right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right....

@annagrin annagrin merged commit 89dcded into dart-lang:master Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants