You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
telemetry(webview): Emit toolkit_X module telemetry on auth webview
Problem:
With our telemetry, we do not know when the frontend webview UI has actually loaded
Solution:
Emit certain metrics during the webview loading process to get a better idea of if the
webview UI successfully completed its initial load.
- toolkit_willOpenModule, indicates intent to render a webview
- toolkit_didLoadModule, indicates the final result of loading the webview
- On Success it it just a success result. We know a success when the frontend send a successful
message to the backend. It knows this by ensuring there were no errors and that a certain HTML element
can be found, then once the page finishes its initial load it will send a success message to the backend.
- On Failure, what happens is a timer times out after 10 seconds.
Signed-off-by: nkomonen-amazon <[email protected]>
0 commit comments