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
|`dsn`| ✓ | string | DSN (Data Source Name) key for sentry.io application. A DSN tells a Sentry SDK where to send events so the events are associated with the correct project. |
38
-
|`environment`| ✓ | string | The current environment of your application , such as _development_, _testing_, _staging_, or _production_. Environments help you better filter issues and transactions among other uses. |
39
-
|`debug`| ✓ | boolean | Enable debug functionality in the SDK itself. If debug is enabled SDK will attempt to print out useful debugging information in browser's console if something goes wrong with sending the event. |
40
-
|`tracesSampleRate`| ✓ | number | Sample rate to determine trace sampling. The default is 1.0 which means that 100% of error events are sent. |
41
-
|`tracingOrigins`| ✓ | string[]| Array of all the origin to browser trace |
42
-
|`customTags`|| { [tag: string]: string } | Add custom tags in all transactions for better tracking |
|`dsn`| ✓ |`string`| DSN (Data Source Name) key for sentry.io application. A DSN tells a Sentry SDK where to send events so the events are associated with the correct project. |
38
+
|`environment`| ✓ |`string`| The current environment of your application , such as _development_, _testing_, _staging_, or _production_. Environments help you better filter issues and transactions among other uses. |
39
+
|`debug`| ✓ |`boolean`| Enable debug functionality in the SDK itself. If debug is enabled SDK will attempt to print out useful debugging information in browser's console if something goes wrong with sending the event. |
40
+
|`tracesSampleRate`| ✓ |`number`| Sample rate to determine trace sampling. The default is 1.0 which means that 100% of error events are sent. |
41
+
|`tracingOrigins`| ✓ |`string[]`| Array of all the origin to browser trace |
42
+
|`customTags`||`{ [tag: string]: string }`| Add custom tags in all transactions for better tracking |
43
43
44
44
### Note
45
45
@@ -93,12 +93,12 @@ Where name is the module name for which we want to measure performance. Operatio
|`setTag`| name: string, value: string | Set tag in a transaction instance |
99
-
|`startSpan`| op: string, data: { [key: string]: number \| string } \| null | Create a span in a transaction instance to measure the performance for a sub event |
100
-
|`finishSpan`| op: string | Finish a running span in a transaction instance and complete the measurement for a sub event |
101
-
|`finish`| status: string | Finish a running transaction instance and complete the measurement for a main event |
|`setTag`|`name: string, value: string`| Set tag in a transaction instance |
99
+
|`startSpan`|`op: string, data: { [key: string]: number \| string } \| null`| Create a span in a transaction instance to measure the performance for a sub event |
100
+
|`finishSpan`|`op: string`| Finish a running span in a transaction instance and complete the measurement for a sub event |
101
+
|`finish`|`status: string`| Finish a running transaction instance and complete the measurement for a main event |
102
102
103
103
User can set tags, create new span and finish span & transaction at the end to send measured data to sentry. `capture.finish('Ok')`
0 commit comments