getsentry / getsentry/sentry-javascript

Create `@sentry/profiling-node` Lambda Layer

未关闭
#13,049 4 条评论 3 个 reaction 已指派 1 人 已被 @andreiborza 认领 在 GitHub 查看
Feature: Serverless Improvement Profiles profiling-node
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

As highlighted [here](https://github.com/getsentry/sentry-javascript/tree/master/packages/profiling-node#bundling), there are a few steps needed to successfully make use of `@sentry/profiling-node` in serverless environments.

While there are clear benefits to users bundling all of their code on those environments, it's a complicated process. People often use tools that abstract away low level interactions with bundlers, like [AWS SAM](https://aws.amazon.com/serverless/sam/), which makes it even harder to follow the outlined steps.

We can alleviate that by publishing an AWS Lambda layer for `@sentry/profiling-node` that people can add to their Lambda functions to use `@sentry/profling-node` out of the box.

Relevant issue: https://github.com/getsentry/sentry-javascript/issues/12994
cc @JonasBa

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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