Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update Sentry telemetry to v8 #604

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Sep 10, 2024

Closes #579

Since we bundle the SDK into bundler-plugin-core, this PR migrates to using ServerRuntimeClient rather than the Node client because we don't need otel instrumentations and it reduces the bundle size by ~300kB. I copied and simplified the Node http transport because referencing the Node SDK at all caused bundling issues.

I also added a way to integration test the telemetry by setting a global which is used to store envelopes rather than sending them.

@timfish timfish marked this pull request as ready for review September 16, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update @sentry/node to v8
1 participant