getsentry / getsentry/sentry-javascript

Create `@sentry/profiling-node` Lambda Layer

Offen
#13,049 4 Kommentare 3 Reaktionen 1 zugewiesene Person Beansprucht von @andreiborza Auf GitHub ansehen
Feature: Serverless Improvement Profiles profiling-node
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.