sentry-javascript
sentry-javascript copied to clipboard
Official Sentry SDKs for JavaScript
This is a big PR because of the tests added, the logic changes themselves are pretty minimal, so make sure to filter out the files when reviewing. ### Actual Changes...
> [!NOTE] > The pull request "[fix(core): Parse method from Request object in fetch](https://github.com/getsentry/sentry-javascript/pull/18453)" was created by @s1gr1d but did not reference an issue. Therefore this issue was created for...
### 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...
### Description We have an upper bound for flushing the metrics buffer (atm this is set to 1000 items) but this still does not prevent the SDK from queuing more...
### Problem Statement AWS [very recently](https://aws.amazon.com/blogs/aws/build-multi-step-applications-and-ai-workflows-with-aws-lambda-durable-functions/) launched the [Durable Execution feature](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html) for NodeJS 22/24 (and Python). This involves adding [a new SDK](https://github.com/aws/aws-durable-execution-sdk-js/tree/main/packages/aws-durable-execution-sdk-js) to your NodeJS Lambda code that wraps the...
Related to https://github.com/getsentry/testing-ai-sdk-integrations/pull/10 Fix JS-1218
### 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...
Solution brainstorm: These go through the server entry point. So I think we can just start a span in our provided wrapper and attach any relevant meta data. Tests: Need...
## Summary The OpenAI SDK returns `APIPromise` objects with additional methods like `.withResponse()`. The previous `async/await` instrumentation converted these to regular Promises, losing those methods. This PR uses `Proxy` +...