Commit 993bd3b
authored
feat(tracing): Track appLoaded and extendAppStart adoption (#6426)
* feat(core): Track GlobalErrorBoundary adoption
Register a no-op `GlobalErrorBoundary` integration when the
component mounts so the name flows through to
`event.sdk.integrations` — the same channel used for feature-
adoption signals like `MobileFeedback` and `AppStart`.
Also introduces a shared `registerFeatureMarker` helper.
Subsequent markers for other opt-in features
(NavigationContainer, ExpoRouter error boundary, AppLoaded, ...)
will use this helper — see #6415.
Refs: #6415
* feat(tracing): Track appLoaded and extendAppStart adoption
Register no-op `AppLoaded` and `ExtendedAppStart` integrations on
first call so the names flow through to
`event.sdk.integrations`. `ExtendedAppStart` covers all three
extend API entry points: `extendAppStart`,
`getExtendedAppStartSpan`, and `finishExtendedAppStart`.
Refs: #64151 parent 05047ad commit 993bd3b
2 files changed
Lines changed: 31 additions & 0 deletions
File tree
- packages/core
- src/js/tracing/integrations
- test/tracing/integrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| |||
204 | 208 | | |
205 | 209 | | |
206 | 210 | | |
| 211 | + | |
207 | 212 | | |
208 | 213 | | |
209 | 214 | | |
| |||
214 | 219 | | |
215 | 220 | | |
216 | 221 | | |
| 222 | + | |
217 | 223 | | |
218 | 224 | | |
219 | 225 | | |
| |||
227 | 233 | | |
228 | 234 | | |
229 | 235 | | |
| 236 | + | |
230 | 237 | | |
231 | 238 | | |
232 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
1219 | 1222 | | |
1220 | 1223 | | |
1221 | 1224 | | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1222 | 1238 | | |
1223 | 1239 | | |
1224 | 1240 | | |
| |||
1573 | 1589 | | |
1574 | 1590 | | |
1575 | 1591 | | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
1576 | 1600 | | |
1577 | 1601 | | |
1578 | 1602 | | |
| |||
0 commit comments