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
|`baseUri`| string |[uri](https://github.com/hapijs/joi/blob/master/API.md#stringurioptions) to be used as base for captured urls |
31
-
|`trackUser`| boolean | Whether or not to track the user via the per-request scope. Default: `true`|
32
-
|`scope.tags`| object | An array of tags to be sent with every event |
33
-
|`scope.tags.name`| string | The name of a tag |
34
-
|`scope.tags.value`| any | The value of a tag |
35
-
|`scope.extra`| object | An object of arbitrary format to be sent as extra data on every event |
36
-
|`client`| object |**required** A [@sentry/node](https://www.npmjs.com/package/@sentry/node) instance which was already initialized (using `Sentry.init`) OR an options object to be passed to an internally initialized [@sentry/node](https://www.npmjs.com/package/@sentry/node) (`client.dsn` is only required in the latter case) |
37
-
|`client.dsn`| string/false |**required** The Dsn used to connect to Sentry and identify the project. If false, the SDK will not send any data to Sentry. |
|`client.release`| string | Tag events with the version/release identifier of your application |
40
-
|`client.environment`| string | The current environment of your application (e.g. `'production'`) |
41
-
|`client.sampleRate`| number | A global sample rate to apply to all events (0 - 1) |
42
-
|`client.maxBreadcrumbs`| number | The maximum number of breadcrumbs sent with events. Default: `100`|
43
-
|`client.attachStacktrace`| any | Attaches stacktraces to pure capture message / log integrations |
44
-
|`client.sendDefaultPii`| boolean | If this flag is enabled, certain personally identifiable information is added by active integrations |
45
-
|`client.serverName`| string | Overwrite the server name (device name) |
46
-
|`client.beforeSend`| func | A callback invoked during event submission, allowing to optionally modify the event before it is sent to Sentry |
47
-
|`client.beforeBreadcrumb`| func | A callback invoked when adding a breadcrumb, allowing to optionally modify it before adding it to future events. |
48
-
|`catchLogErrors`| boolean/array | Whether or not to capture errors logged via `server.log` or `request.log`. Events must contain one `['error', 'fatal', 'fail']` tags or match one of the specified tags and pass an `Error` instance as data. Default: `false`|
|`baseUri`| string |[uri](https://github.com/hapijs/joi/blob/master/API.md#stringurioptions) to be used as base for captured urls |
31
+
|`trackUser`| boolean | Whether or not to track the user via the per-request scope. Default: `true`|
32
+
|`scope.tags`| object | An array of tags to be sent with every event |
33
+
|`scope.tags.name`| string | The name of a tag |
34
+
|`scope.tags.value`| any | The value of a tag |
35
+
|`scope.extra`| object | An object of arbitrary format to be sent as extra data on every event |
36
+
|`client`| object |**required** A [@sentry/node](https://www.npmjs.com/package/@sentry/node) instance which was already initialized (using `Sentry.init`) OR an options object to be passed to an internally initialized [@sentry/node](https://www.npmjs.com/package/@sentry/node) (`client.dsn` is only required in the latter case) |
37
+
|`client.dsn`| string/false |**required** The Dsn used to connect to Sentry and identify the project. If false, the SDK will not send any data to Sentry. |
0 commit comments