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
feat(ember): Add more render instrumentation to @sentry/ember (#2902)
* feat(ember): Add more render instrumentation to @sentry/ember
This PR will fill out the rest of the instrumentation for Ember to provide meaningful spans across most of the transaction.
It adds instrumentation for:
- initial load (which issues the build tools to inject a small script into head to measure script evaluation, which includes initial render)
- the runloop, to capture queues that take a long time, this can primarily be used to capture long render queues when someone is using the new glimmer components as they don't have instrumentation.
- components (non-glimmer) render times
Additionally it fixes a couple bugs with routes, especially when nesting, such as beforeModel not consistently getting instrumented.
Copy file name to clipboardExpand all lines: packages/ember/README.md
+47-6Lines changed: 47 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ Aside from configuration passed from this addon into `@sentry/browser` via the `
62
62
sentry:...// See sentry-javascript configuration https://docs.sentry.io/error-reporting/configuration/?platform=javascript
63
63
};
64
64
```
65
+
65
66
#### Disabling Performance
66
67
67
68
`@sentry/ember` captures performance by default, if you would like to disable the automatic performance instrumentation, you can add the following to your `config/environment.js`:
@@ -82,13 +83,53 @@ you can import `instrumentRoutePerformance` and wrap your route with it.
0 commit comments