getsentry / getsentry/sentry-javascript

NodeJS SEA support

未关闭
#20,625 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Feature Node.js Profiles
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
523

描述

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

贡献指南

打开贡献指南

调研方向

Start with the linked Node.js SEA documentation and the existing Node.js SDK startup and instrumentation entry points. Investigate how --import can load Sentry instrumentation for ESM SEA applications and wrapper frameworks, then verify profiling, Express, and database instrumentation. Done means a documented quick-start path with the supported limitations clearly stated.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, node.js
领域
backend, observability
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。