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
Configuration is now passed directly to `Sentry.init()` instead of `config/environment.js`:
48
+
49
+
```typescript
50
+
// app/app.ts
51
+
importApplicationfrom'@ember/application';
52
+
import*asSentryfrom'@sentry/ember';
53
+
54
+
Sentry.init({
55
+
dsn: 'YOUR_DSN_HERE',
56
+
tracesSampleRate: 1.0,
57
+
});
58
+
59
+
exportdefaultclassAppextendsApplication {
60
+
// ...
61
+
}
62
+
```
63
+
64
+
### Initial Load Scripts
65
+
66
+
The v2 addon no longer automatically injects scripts into your HTML. For initial load performance measurement, manually add these scripts to `app/index.html`:
0 commit comments