Commit 022d858
committed
telemetry(auth): emit metric when Auth webview loaded
Problem:
The inital problem is that when we focused chat, it returned succeeded even though it didn't
have any idea if the UI was actually rendered to the user.
Solution:
This new solution will have the UI emit a telemetry metric once per session that indicates
when the UI has loaded. It will also distinguish between the login and reauth page.
The metric is `webview_load` and the `webviewName` field will distinguish between login and reauth
NOTE:
When Q chat itself has its UI ready we already emit a `webview_load` metric. So use all of these metrics
to determine what the user actually saw
Signed-off-by: nkomonen-amazon <[email protected]>1 parent 969f1ec commit 022d858
File tree
3 files changed
+21
-0
lines changed- packages/core/src/login/webview/vue
3 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
64 | 80 | | |
65 | 81 | | |
66 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
371 | 373 | | |
372 | 374 | | |
373 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
0 commit comments