Commit 3a7be5b
feat(metrics): Add secure connect navigation timing (#2980)
* feat(metrics): Add secure connect navigation timing
This is helpful to determine whether the span needed to do tls negotation, and if so, how long it takes. Had to modify the addPerformanceNavigationTiming function to allow a custom end since secure connect's end is connectEnd.
* Update packages/tracing/src/browser/metrics.ts
Co-authored-by: Alberto Leal <mail4alberto@gmail.com>
Co-authored-by: Alberto Leal <mail4alberto@gmail.com>1 parent 0a305f6 commit 3a7be5b
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| |||
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| 334 | + | |
333 | 335 | | |
334 | | - | |
| 336 | + | |
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
| |||
0 commit comments