getsentry / getsentry/sentry-javascript

NodeJS SEA support

Open
#20,625 8 comments 0 reactions 0 assignees View on GitHub
Feature Node.js Profiles
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.