Comments (6)
yeah that's fine. I was just under the impression that there's no direct replacement for the default init
from @sentry/serverless
but that's probably fine. Also remembered that we tell folks to use the Node SDK in the Azure functions guide anyway.
from sentry-javascript.
On that note, are we sure that serverless environments work with Otel? I guess as long as we're in a Node-compatible runtime they should work but not sure how well we investigated this yet.
With CJS they should work pretty fine! But we need to investigate esm (also the serverless packages use monkeypatching require
right now, that will break).
I'm gonna move forward with Option 2 - splitting the package up! Created a tasklist to reflect the work.
from sentry-javascript.
generally sounds good to me - should we still have a (generic?) serverless package? is there anything that could be in there? What about non-aws/gcp serverless environments, could they/would they so far have used the serverless package?
from sentry-javascript.
Agreed, sounds like a good change! Should the AWS/GCP packages inherit from @sentry/serverless
which in turn continues to be based on @sentry/node
?
On that note, are we sure that serverless environments work with Otel? I guess as long as we're in a Node-compatible runtime they should work but not sure how well we investigated this yet.
from sentry-javascript.
@mydea @Lms24 I don't particularly see the value behind a generic @sentry/serverless
package. What would be in there? So far any other serverless envs would have just used the Node pkg.
I think purely splitting it up into provider-specific packages is the way to go. Let's kill @sentry/serverless
.
from sentry-javascript.
If we don't have any "generic" serverless code (that could not also just live in core) then yes, let's delete it!
from sentry-javascript.
Related Issues (20)
- Nested `continueTrace` calls in `@sentry/node` cause new root span creation within callback
- Canvas is not sized correctly in replays
- Error in @sentry/nextjs, with sentry-cli when using `pnpm build` HOT 4
- `makeBrowserOfflineTransport` not fully compatible with Replay HOT 3
- Internal Sentry error after ViteJS build with Replays in a React environment using @sentry/[email protected] or higher HOT 7
- Investigate why terser/webpack defaults causes SDK code to break HOT 7
- Hapi performance spans are off HOT 2
- prismaInstrumentation.PrismaInstrumentation is not a constructor HOT 2
- Allow `sendFeedback()` to accept an event id HOT 1
- Error Unhandled Failed to execute 'createImageBitmap' on 'Window': The source image width is 0. HOT 7
- Ember Canary ember-release Test Failed
- [Metrics] Support cloudflare workers HOT 1
- "Converting circular structure to JSON" when using Syncfusion libraries and Sentry HOT 12
- Simplify multiplexed transport API (micro-frontends/module metadata)
- Ember Canary ember-release Test Failed
- Error: Cannot find module '/home/node/app/build/node_modules/@sentry/profiling-node on Sentry initialization. HOT 9
- Backport `7.109.0`
- Ember Canary ember-release Test Failed
- User Feedback ability to add custom fields... HOT 1
- No replays captured for errors events at a 1.0 rate HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-javascript.