getsentry / getsentry/sentry-javascript

NodeJS SEA support

Aperta
#20,625 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Feature Node.js Profiles
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
523

Descrizione

### Problem Statement

Ideally I'd like a quick start setup guide for NodeJS + [SEA](https://nodejs.org/api/single-executable-applications.html) (optionally with specific instructions for common SEA wrapper frameworks like [yao-pkg](https://yao-pkg.github.io/pkg/)).

The main problem I'm running in to is that it's not clear how to support --import for my ESM SEA application and without --import instrumentation file, it's not clear if profiling will be supported or auto instrumentation of express middleware / routes and/or db queries.

Ideally I'd like to the full suite of sentry auto instrumentation available for my nodejs SEA application.

### Solution Brainstorm

I've been burning tokens trying to figure out a workaround and so far agents have come up empty, mostly trying to monkey patch VFS files.

### Additional Context

_No response_

### Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.