sentry-javascript
sentry-javascript copied to clipboard
Official Sentry SDKs for JavaScript
Based on the great feedback in https://github.com/getsentry/sentry-javascript/discussions/12191, this does some small adjustments to ensure that you actually can use the Node SDK properly with a custom OTEL setup: ## 1....
This PR adds a new `Sentry.startNewTrace` function that allows users to start a trace in isolation of a potentially still active trace. When this function is called, a new trace...
### Is there an existing issue for this? - [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues - [X] I have reviewed the documentation https://docs.sentry.io/ - [X] I am using...
### Is there an existing issue for this? - [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues - [X] I have reviewed the documentation https://docs.sentry.io/ - [X] I am using...
This PR implements a versioned Sentry carrier as described in #12188. The idea is that SDKs can from now on access their global Sentry instance and thereby no longer overwrite...
This allows to pass a custom scope to `Sentry.captureFeedback()`, like this: ```js Sentry.captureFeedback({message : 'test' }, {}, scope); ``` This should fix the use case from https://github.com/getsentry/sentry-javascript/issues/11072#issuecomment-2129259591
This should mimic the python SDK implementation: https://github.com/getsentry/sentry-python/blob/651f84d99a7b499feebf7e780fae910668bff839/sentry_sdk/metrics.py#L880
### Environment SaaS (https://sentry.io/) ### Steps to Reproduce 1. go to a sentry-injected page 2. run `XMLHttpRequest.prototype.open.toString()` - it returns `function () { [native code] }` even though it's wrapped...
Fixes https://github.com/getsentry/sentry-javascript/issues/12208
### Is there an existing issue for this? - [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues - [X] I have reviewed the documentation https://docs.sentry.io/ - [X] I am using...