Skip to content

Add metrics for devtools IPL #1404

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 11 commits into from
Sep 10, 2021

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Sep 7, 2021

Add metrics to track DevTools IPL and VM calls on the critical path to loading DevTools app.
In addition, differentiate between errors returning ErrorRef and exceptions from evaluate and evaluateInFrame calls.

This change needs flutter/devtools#3346 to actually send events for devtools IPL, will be a noop with earlier devtools verssions.

Closes: #1403

@annagrin
Copy link
Contributor Author

annagrin commented Sep 8, 2021

Tests are failing due to the new stable SDK release, as intended. Will be fixed by #1405

@annagrin annagrin force-pushed the annagrin/add_ipl_metrics branch from 627dee5 to 922baf6 Compare September 8, 2021 22:17
@annagrin
Copy link
Contributor Author

annagrin commented Sep 8, 2021

Addressed the CR comments and removed reporting metrics for getObject call - I suspect that will flood the events stream, I will add aggregate metrics for frequent calls like that later.

@annagrin annagrin requested a review from natebosch September 8, 2021 22:26
@annagrin annagrin requested a review from grouma September 9, 2021 00:24
@annagrin
Copy link
Contributor Author

annagrin commented Sep 9, 2021

@grouma @natebosch I changed how events are created to concentrate all the constants in one place - appreciate another review.

@annagrin annagrin force-pushed the annagrin/add_ipl_metrics branch from fa02c57 to 8e5e88d Compare September 10, 2021 03:12
@annagrin annagrin merged commit 37ecb56 into dart-lang:master Sep 10, 2021
@annagrin annagrin deleted the annagrin/add_ipl_metrics branch September 10, 2021 17:20
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.

Add metrics for devtools IPL
5 participants