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
Alternatively, to further customize the SDK setup, you can also manually initialize the SDK in your lambda function. The benefit of this installation method is that you can fully customize your Sentry SDK setup in a Sentry.init call.
19
36
20
-
```javascript
37
+
Create a new file, for example `instrument.js` to initialize the SDK:
38
+
39
+
```js
21
40
import*asSentryfrom'@sentry/aws-serverless';
22
41
23
42
Sentry.init({
24
43
dsn:'__DSN__',
25
-
// ...
44
+
// Adds request headers and IP for users, for more info visit:
0 commit comments