getsentry / getsentry/sentry-javascript

NodeJS SEA support

Abierto
#20,625 8 comentarios 0 reacciones 0 asignados Ver en GitHub
Feature Node.js Profiles
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
515

Descripción

### 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.