feat(browser): Attach virtual stack traces to HttpClient events. - #14515

Merged
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints
Dec 12, 2024
Merged

feat(browser): Attach virtual stack traces to HttpClient events.#14515
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Resolves: #8353

Updated fetch and xhr wrappers to pass virtual errors to the HttpClient integration so we can group the events with the stack traces.

It seems we can't create the virtual errors inside the HttpClient integration, as we're losing the non-Sentry frames.

Sampled fetch event - Link
Sampled XHR event - Link

@github-actions

github-actionsBot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.11 KB+0.08%+18 B 🔺
@sentry/browser - with treeshaking flags21.84 KB+0.04%+8 B 🔺
@sentry/browser (incl. Tracing)35.51 KB+0.03%+10 B 🔺
@sentry/browser (incl. Tracing, Replay)72.39 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.88 KB+0.02%+12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas)76.71 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback)89.17 KB+0.01%+5 B 🔺
@sentry/browser (incl. Feedback)39.84 KB+0.02%+6 B 🔺
@sentry/browser (incl. sendFeedback)27.73 KB+0.05%+13 B 🔺
@sentry/browser (incl. FeedbackAsync)32.54 KB+0.04%+12 B 🔺
@sentry/react25.8 KB+0.02%+5 B 🔺
@sentry/react (incl. Tracing)38.41 KB+0.02%+5 B 🔺
@sentry/vue27.26 KB+0.05%+13 B 🔺
@sentry/vue (incl. Tracing)37.31 KB+0.03%+10 B 🔺
@sentry/svelte23.26 KB+0.06%+12 B 🔺
CDN Bundle24.33 KB+0.04%+8 B 🔺
CDN Bundle (incl. Tracing)37.21 KB+0.04%+14 B 🔺
CDN Bundle (incl. Tracing, Replay)72.1 KB+0.03%+18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback)77.43 KB+0.03%+20 B 🔺
CDN Bundle - uncompressed71.48 KB+0.05%+35 B 🔺
CDN Bundle (incl. Tracing) - uncompressed110.54 KB+0.04%+35 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed223.61 KB+0.02%+35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed236.83 KB+0.02%+35 B 🔺
@sentry/nextjs (client)38.71 KB+0.01%+2 B 🔺
@sentry/sveltekit (client)36.06 KB+0.03%+8 B 🔺
@sentry/node135.08 KB--
@sentry/node - without tracing97.13 KB--
@sentry/aws-serverless109.43 KB--

View base workflow run

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 2 times, most recently from 252e544 to 7597e64CompareNovember 27, 2024 18:43
@codecov

codecovBot commented Nov 27, 2024

Copy link
Copy Markdown

❌ 29 Tests Failed:

Tests completedFailedPassedSkipped
6612963227
View the top 3 failed tests by shortest run time
replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/test.tscapturestextrequestbody
Stack Traces | 0.219s run time
test.ts:11:11capturestextrequestbody
integrations/Breadcrumbs/fetch/statusCode/test.tscapturesBreadcrumbwithloglevelfor5xxresponsecode
Stack Traces | 0.229s run time
test.ts:44:11capturesBreadcrumbwithloglevelfor5xxresponsecode
integrations/Breadcrumbs/fetch/get/test.tscapturesBreadcrumbforbasicGETrequest
Stack Traces | 0.236s run time
test.ts:7:11capturesBreadcrumbforbasicGETrequest

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 3 times, most recently from ed1f24d to 21169f8CompareNovember 27, 2024 20:04
@onurtemizkan
onurtemizkan marked this pull request as ready for review November 27, 2024 20:04
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 21169f8 to d58da1cCompareNovember 28, 2024 03:08
endTimestamp: timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
error: httpClientInstrumented ? virtualError : undefined,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Can we just directly attach the stackframe here, instead of passing the error around? then we can maybe just ignore these checks and simply always attach this here 🤔

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this made it work with ESM builds. Thanks!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 05e3351 to c0b864aCompareNovember 28, 2024 11:54
Comment on lines +58 to +59
const virtualError = new Error();
const virtualStackTrace = virtualError.stack;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is relatively expensive for engines to compute stack traces. I wonder if we could change this a bit so we don't create stack traces every time fetch is called but only when we actually need it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, passing a boolean whether the fetch/xhr instrumentations are triggered by HttpClient was flaky because of maybeInstrument, so passing the error itself in handler data under virtualError key (not to conflict with other integrations like Breadcrumbs that use error key) and creating the stacks inside HttpClient will hopefully give us a slight performance improvement. a7b89bc

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from c0b864a to 8929cd3CompareNovember 29, 2024 15:23
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 8929cd3 to a7b89bcCompareNovember 29, 2024 15:57

@lforstlforst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big

@lforst
lforst merged commit 63476fa into developDec 12, 2024
@lforst
lforst deleted the onur/httpclient-fingerprints branch December 12, 2024 15:39
@harry-gocity

Copy link
Copy Markdown

thank you!

mergifyBot added a commit to reisene/HulajDusza-serwis that referenced this pull request Jan 23, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<h3>Snyk has created this PR to upgrade @sentry/profiling-node from
8.43.0 to 8.47.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **5 versions** ahead of your current
version.
- The recommended version was released **a month ago**.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>@sentry/profiling-node</b></summary>
<ul>
<li>
<b>8.47.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.47.0">2024-12-18</a></br><ul>
<li>feat(v8/core): Add <code>updateSpanName</code> helper function (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2742710163" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14736"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14736/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14736">#14736</a>)</li>
<li>feat(v8/node): Do not overwrite prisma <code>db.system</code> in
newer Prisma versions (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="2747169540"
data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14772"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14772/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14772">#14772</a>)</li>
<li>feat(v8/node/deps): Bump @ prisma/instrumentation from 5.19.1 to
5.22.0 (<a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="2744850994" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14755"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14755/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14755">#14755</a>)</li>
<li>feat(v8/replay): Mask srcdoc iframe contents per default (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747500508" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14779"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14779/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14779">#14779</a>)</li>
<li>ref(v8/nextjs): Fix typo in source maps deletion warning (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747300057" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14776"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14776/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14776">#14776</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/aloisklink/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/aloisklink">@ aloisklink</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/benjick/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/benjick">@ benjick</a>. Thank you for
your contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.06 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.45 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.37 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.85 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.64 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.52 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.67 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.47 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.51 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.71 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.1 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.85 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.23 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.3 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.52 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.9 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.32 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.7 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.87 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.53 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.46.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.46.0">2024-12-17</a></br><ul>
<li>feat: Allow capture of more than 1 ANR event [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14713"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14713/hovercard">#14713</a>)</li>
<li>feat(node): Detect Railway release name [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14714"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14714/hovercard">#14714</a>)</li>
<li>fix: Normalise ANR debug image file paths if appRoot was supplied
[v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14709"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14709/hovercard">#14709</a>)</li>
<li>fix(nuxt): Remove build config from tsconfig (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14737"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14737/hovercard">#14737</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/conor-ob/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/conor-ob">@ conor-ob</a>. Thank you
for your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.53 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.72 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.4 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.1</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.1">2024-12-16</a></br><ul>
<li>fix(feedback): Return when the <code>sendFeedback</code> promise
resolves (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14683"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14683/hovercard">#14683</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/antonis/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/antonis">@ antonis</a>. Thank you for
your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.39 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.0">2024-12-13</a></br><ul>
<li>feat(core): Add <code>handled</code> option to
<code>captureConsoleIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14664"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14664/hovercard">#14664</a>)</li>
<li>feat(browser): Attach virtual stack traces to
<code>HttpClient</code> events (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14515"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14515/hovercard">#14515</a>)</li>
<li>feat(replay): Upgrade rrweb packages to 2.31.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14689"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14689/hovercard">#14689</a>)</li>
<li>fix(aws-serverless): Remove v8 layer as it overwrites the current
layer for docs (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14679"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14679/hovercard">#14679</a>)</li>
<li>fix(browser): Mark stack trace from <code>captureMessage</code> with
<code>attachStacktrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14668"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14668/hovercard">#14668</a>)</li>
<li>fix(core): Mark stack trace from <code>captureMessage</code> with
<code>attatchStackTrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14670"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14670/hovercard">#14670</a>)</li>
<li>fix(core): Set <code>level</code> in server runtime
<code>captureException</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/10587"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/10587/hovercard">#10587</a>)</li>
<li>fix(profiling-node): Guard invocation of native profiling methods
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14676"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14676/hovercard">#14676</a>)</li>
<li>fix(nuxt): Inline nitro-utils function (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14680"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14680/hovercard">#14680</a>)</li>
<li>fix(profiling-node): Ensure profileId is added to transaction event
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14681"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14681/hovercard">#14681</a>)</li>
<li>fix(react): Add React Router Descendant Routes support (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14304"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14304/hovercard">#14304</a>)</li>
<li>fix: Disable ANR and Local Variables if debugger is enabled via CLI
args (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14643"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14643/hovercard">#14643</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/anonrig/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/anonrig">@ anonrig</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Zih0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zih0">@ Zih0</a>. Thank you for your
contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.69 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.89 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.38 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.44.0</b> - 2024-12-12
</li>
<li>
<b>8.43.0</b> - 2024-12-10
</li>
</ul>
from <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/profiling-node
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkODM5YmMwYi00ZGY4LTQ5ZTctYjAyZS0wMjJmNTIxYjc2NGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQ4MzliYzBiLTRkZjgtNDllNy1iMDJlLTAyMmY1MjFiNzY0ZiJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg&#x3D;@sentry/profiling-node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/profiling-node","from":"8.43.0","to":"8.47.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d839bc0b-4df8-49e7-b02e-022f521b764f","prPublicId":"d839bc0b-4df8-49e7-b02e-022f521b764f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-12-18T16:01:56.517Z"},"vulns":[]}'
## Podsumowanie przez Sourcery
Aktualizacja @sentry/profiling-node z wersji 8.43.0 do 8.47.0.
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Upgrade @sentry/profiling-node from 8.43.0 to 8.47.0.
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attach stack trace to events from HTTPClient integration so they are not merged (fingerprinted) into a single issue

4 participants

@onurtemizkan@harry-gocity@mydea@lforst
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

feat(browser): Attach virtual stack traces to HttpClient events. - #14515

Merged
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints
Dec 12, 2024
Merged

feat(browser): Attach virtual stack traces to HttpClient events.#14515
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Resolves: #8353

Updated fetch and xhr wrappers to pass virtual errors to the HttpClient integration so we can group the events with the stack traces.

It seems we can't create the virtual errors inside the HttpClient integration, as we're losing the non-Sentry frames.

Sampled fetch event - Link
Sampled XHR event - Link

@github-actions

github-actionsBot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.11 KB+0.08%+18 B 🔺
@sentry/browser - with treeshaking flags21.84 KB+0.04%+8 B 🔺
@sentry/browser (incl. Tracing)35.51 KB+0.03%+10 B 🔺
@sentry/browser (incl. Tracing, Replay)72.39 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.88 KB+0.02%+12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas)76.71 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback)89.17 KB+0.01%+5 B 🔺
@sentry/browser (incl. Feedback)39.84 KB+0.02%+6 B 🔺
@sentry/browser (incl. sendFeedback)27.73 KB+0.05%+13 B 🔺
@sentry/browser (incl. FeedbackAsync)32.54 KB+0.04%+12 B 🔺
@sentry/react25.8 KB+0.02%+5 B 🔺
@sentry/react (incl. Tracing)38.41 KB+0.02%+5 B 🔺
@sentry/vue27.26 KB+0.05%+13 B 🔺
@sentry/vue (incl. Tracing)37.31 KB+0.03%+10 B 🔺
@sentry/svelte23.26 KB+0.06%+12 B 🔺
CDN Bundle24.33 KB+0.04%+8 B 🔺
CDN Bundle (incl. Tracing)37.21 KB+0.04%+14 B 🔺
CDN Bundle (incl. Tracing, Replay)72.1 KB+0.03%+18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback)77.43 KB+0.03%+20 B 🔺
CDN Bundle - uncompressed71.48 KB+0.05%+35 B 🔺
CDN Bundle (incl. Tracing) - uncompressed110.54 KB+0.04%+35 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed223.61 KB+0.02%+35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed236.83 KB+0.02%+35 B 🔺
@sentry/nextjs (client)38.71 KB+0.01%+2 B 🔺
@sentry/sveltekit (client)36.06 KB+0.03%+8 B 🔺
@sentry/node135.08 KB--
@sentry/node - without tracing97.13 KB--
@sentry/aws-serverless109.43 KB--

View base workflow run

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 2 times, most recently from 252e544 to 7597e64CompareNovember 27, 2024 18:43
@codecov

codecovBot commented Nov 27, 2024

Copy link
Copy Markdown

❌ 29 Tests Failed:

Tests completedFailedPassedSkipped
6612963227
View the top 3 failed tests by shortest run time
replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/test.tscapturestextrequestbody
Stack Traces | 0.219s run time
test.ts:11:11capturestextrequestbody
integrations/Breadcrumbs/fetch/statusCode/test.tscapturesBreadcrumbwithloglevelfor5xxresponsecode
Stack Traces | 0.229s run time
test.ts:44:11capturesBreadcrumbwithloglevelfor5xxresponsecode
integrations/Breadcrumbs/fetch/get/test.tscapturesBreadcrumbforbasicGETrequest
Stack Traces | 0.236s run time
test.ts:7:11capturesBreadcrumbforbasicGETrequest

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 3 times, most recently from ed1f24d to 21169f8CompareNovember 27, 2024 20:04
@onurtemizkan
onurtemizkan marked this pull request as ready for review November 27, 2024 20:04
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 21169f8 to d58da1cCompareNovember 28, 2024 03:08
endTimestamp: timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
error: httpClientInstrumented ? virtualError : undefined,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Can we just directly attach the stackframe here, instead of passing the error around? then we can maybe just ignore these checks and simply always attach this here 🤔

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this made it work with ESM builds. Thanks!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 05e3351 to c0b864aCompareNovember 28, 2024 11:54
Comment on lines +58 to +59
const virtualError = new Error();
const virtualStackTrace = virtualError.stack;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is relatively expensive for engines to compute stack traces. I wonder if we could change this a bit so we don't create stack traces every time fetch is called but only when we actually need it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, passing a boolean whether the fetch/xhr instrumentations are triggered by HttpClient was flaky because of maybeInstrument, so passing the error itself in handler data under virtualError key (not to conflict with other integrations like Breadcrumbs that use error key) and creating the stacks inside HttpClient will hopefully give us a slight performance improvement. a7b89bc

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from c0b864a to 8929cd3CompareNovember 29, 2024 15:23
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 8929cd3 to a7b89bcCompareNovember 29, 2024 15:57

@lforstlforst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big

@lforst
lforst merged commit 63476fa into developDec 12, 2024
@lforst
lforst deleted the onur/httpclient-fingerprints branch December 12, 2024 15:39
@harry-gocity

Copy link
Copy Markdown

thank you!

mergifyBot added a commit to reisene/HulajDusza-serwis that referenced this pull request Jan 23, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<h3>Snyk has created this PR to upgrade @sentry/profiling-node from
8.43.0 to 8.47.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **5 versions** ahead of your current
version.
- The recommended version was released **a month ago**.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>@sentry/profiling-node</b></summary>
<ul>
<li>
<b>8.47.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.47.0">2024-12-18</a></br><ul>
<li>feat(v8/core): Add <code>updateSpanName</code> helper function (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2742710163" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14736"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14736/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14736">#14736</a>)</li>
<li>feat(v8/node): Do not overwrite prisma <code>db.system</code> in
newer Prisma versions (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="2747169540"
data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14772"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14772/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14772">#14772</a>)</li>
<li>feat(v8/node/deps): Bump @ prisma/instrumentation from 5.19.1 to
5.22.0 (<a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="2744850994" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14755"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14755/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14755">#14755</a>)</li>
<li>feat(v8/replay): Mask srcdoc iframe contents per default (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747500508" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14779"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14779/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14779">#14779</a>)</li>
<li>ref(v8/nextjs): Fix typo in source maps deletion warning (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747300057" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14776"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14776/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14776">#14776</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/aloisklink/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/aloisklink">@ aloisklink</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/benjick/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/benjick">@ benjick</a>. Thank you for
your contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.06 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.45 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.37 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.85 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.64 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.52 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.67 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.47 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.51 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.71 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.1 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.85 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.23 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.3 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.52 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.9 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.32 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.7 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.87 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.53 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.46.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.46.0">2024-12-17</a></br><ul>
<li>feat: Allow capture of more than 1 ANR event [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14713"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14713/hovercard">#14713</a>)</li>
<li>feat(node): Detect Railway release name [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14714"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14714/hovercard">#14714</a>)</li>
<li>fix: Normalise ANR debug image file paths if appRoot was supplied
[v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14709"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14709/hovercard">#14709</a>)</li>
<li>fix(nuxt): Remove build config from tsconfig (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14737"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14737/hovercard">#14737</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/conor-ob/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/conor-ob">@ conor-ob</a>. Thank you
for your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.53 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.72 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.4 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.1</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.1">2024-12-16</a></br><ul>
<li>fix(feedback): Return when the <code>sendFeedback</code> promise
resolves (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14683"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14683/hovercard">#14683</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/antonis/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/antonis">@ antonis</a>. Thank you for
your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.39 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.0">2024-12-13</a></br><ul>
<li>feat(core): Add <code>handled</code> option to
<code>captureConsoleIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14664"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14664/hovercard">#14664</a>)</li>
<li>feat(browser): Attach virtual stack traces to
<code>HttpClient</code> events (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14515"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14515/hovercard">#14515</a>)</li>
<li>feat(replay): Upgrade rrweb packages to 2.31.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14689"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14689/hovercard">#14689</a>)</li>
<li>fix(aws-serverless): Remove v8 layer as it overwrites the current
layer for docs (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14679"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14679/hovercard">#14679</a>)</li>
<li>fix(browser): Mark stack trace from <code>captureMessage</code> with
<code>attachStacktrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14668"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14668/hovercard">#14668</a>)</li>
<li>fix(core): Mark stack trace from <code>captureMessage</code> with
<code>attatchStackTrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14670"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14670/hovercard">#14670</a>)</li>
<li>fix(core): Set <code>level</code> in server runtime
<code>captureException</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/10587"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/10587/hovercard">#10587</a>)</li>
<li>fix(profiling-node): Guard invocation of native profiling methods
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14676"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14676/hovercard">#14676</a>)</li>
<li>fix(nuxt): Inline nitro-utils function (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14680"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14680/hovercard">#14680</a>)</li>
<li>fix(profiling-node): Ensure profileId is added to transaction event
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14681"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14681/hovercard">#14681</a>)</li>
<li>fix(react): Add React Router Descendant Routes support (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14304"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14304/hovercard">#14304</a>)</li>
<li>fix: Disable ANR and Local Variables if debugger is enabled via CLI
args (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14643"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14643/hovercard">#14643</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/anonrig/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/anonrig">@ anonrig</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Zih0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zih0">@ Zih0</a>. Thank you for your
contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.69 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.89 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.38 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.44.0</b> - 2024-12-12
</li>
<li>
<b>8.43.0</b> - 2024-12-10
</li>
</ul>
from <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/profiling-node
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkODM5YmMwYi00ZGY4LTQ5ZTctYjAyZS0wMjJmNTIxYjc2NGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQ4MzliYzBiLTRkZjgtNDllNy1iMDJlLTAyMmY1MjFiNzY0ZiJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg&#x3D;@sentry/profiling-node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/profiling-node","from":"8.43.0","to":"8.47.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d839bc0b-4df8-49e7-b02e-022f521b764f","prPublicId":"d839bc0b-4df8-49e7-b02e-022f521b764f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-12-18T16:01:56.517Z"},"vulns":[]}'
## Podsumowanie przez Sourcery
Aktualizacja @sentry/profiling-node z wersji 8.43.0 do 8.47.0.
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Upgrade @sentry/profiling-node from 8.43.0 to 8.47.0.
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attach stack trace to events from HTTPClient integration so they are not merged (fingerprinted) into a single issue

4 participants

@onurtemizkan@harry-gocity@mydea@lforst
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

feat(browser): Attach virtual stack traces to HttpClient events. - #14515

Merged
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints
Dec 12, 2024
Merged

feat(browser): Attach virtual stack traces to HttpClient events.#14515
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Resolves: #8353

Updated fetch and xhr wrappers to pass virtual errors to the HttpClient integration so we can group the events with the stack traces.

It seems we can't create the virtual errors inside the HttpClient integration, as we're losing the non-Sentry frames.

Sampled fetch event - Link
Sampled XHR event - Link

@github-actions

github-actionsBot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.11 KB+0.08%+18 B 🔺
@sentry/browser - with treeshaking flags21.84 KB+0.04%+8 B 🔺
@sentry/browser (incl. Tracing)35.51 KB+0.03%+10 B 🔺
@sentry/browser (incl. Tracing, Replay)72.39 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.88 KB+0.02%+12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas)76.71 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback)89.17 KB+0.01%+5 B 🔺
@sentry/browser (incl. Feedback)39.84 KB+0.02%+6 B 🔺
@sentry/browser (incl. sendFeedback)27.73 KB+0.05%+13 B 🔺
@sentry/browser (incl. FeedbackAsync)32.54 KB+0.04%+12 B 🔺
@sentry/react25.8 KB+0.02%+5 B 🔺
@sentry/react (incl. Tracing)38.41 KB+0.02%+5 B 🔺
@sentry/vue27.26 KB+0.05%+13 B 🔺
@sentry/vue (incl. Tracing)37.31 KB+0.03%+10 B 🔺
@sentry/svelte23.26 KB+0.06%+12 B 🔺
CDN Bundle24.33 KB+0.04%+8 B 🔺
CDN Bundle (incl. Tracing)37.21 KB+0.04%+14 B 🔺
CDN Bundle (incl. Tracing, Replay)72.1 KB+0.03%+18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback)77.43 KB+0.03%+20 B 🔺
CDN Bundle - uncompressed71.48 KB+0.05%+35 B 🔺
CDN Bundle (incl. Tracing) - uncompressed110.54 KB+0.04%+35 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed223.61 KB+0.02%+35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed236.83 KB+0.02%+35 B 🔺
@sentry/nextjs (client)38.71 KB+0.01%+2 B 🔺
@sentry/sveltekit (client)36.06 KB+0.03%+8 B 🔺
@sentry/node135.08 KB--
@sentry/node - without tracing97.13 KB--
@sentry/aws-serverless109.43 KB--

View base workflow run

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 2 times, most recently from 252e544 to 7597e64CompareNovember 27, 2024 18:43
@codecov

codecovBot commented Nov 27, 2024

Copy link
Copy Markdown

❌ 29 Tests Failed:

Tests completedFailedPassedSkipped
6612963227
View the top 3 failed tests by shortest run time
replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/test.tscapturestextrequestbody
Stack Traces | 0.219s run time
test.ts:11:11capturestextrequestbody
integrations/Breadcrumbs/fetch/statusCode/test.tscapturesBreadcrumbwithloglevelfor5xxresponsecode
Stack Traces | 0.229s run time
test.ts:44:11capturesBreadcrumbwithloglevelfor5xxresponsecode
integrations/Breadcrumbs/fetch/get/test.tscapturesBreadcrumbforbasicGETrequest
Stack Traces | 0.236s run time
test.ts:7:11capturesBreadcrumbforbasicGETrequest

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 3 times, most recently from ed1f24d to 21169f8CompareNovember 27, 2024 20:04
@onurtemizkan
onurtemizkan marked this pull request as ready for review November 27, 2024 20:04
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 21169f8 to d58da1cCompareNovember 28, 2024 03:08
endTimestamp: timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
error: httpClientInstrumented ? virtualError : undefined,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Can we just directly attach the stackframe here, instead of passing the error around? then we can maybe just ignore these checks and simply always attach this here 🤔

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this made it work with ESM builds. Thanks!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 05e3351 to c0b864aCompareNovember 28, 2024 11:54
Comment on lines +58 to +59
const virtualError = new Error();
const virtualStackTrace = virtualError.stack;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is relatively expensive for engines to compute stack traces. I wonder if we could change this a bit so we don't create stack traces every time fetch is called but only when we actually need it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, passing a boolean whether the fetch/xhr instrumentations are triggered by HttpClient was flaky because of maybeInstrument, so passing the error itself in handler data under virtualError key (not to conflict with other integrations like Breadcrumbs that use error key) and creating the stacks inside HttpClient will hopefully give us a slight performance improvement. a7b89bc

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from c0b864a to 8929cd3CompareNovember 29, 2024 15:23
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 8929cd3 to a7b89bcCompareNovember 29, 2024 15:57

@lforstlforst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big

@lforst
lforst merged commit 63476fa into developDec 12, 2024
@lforst
lforst deleted the onur/httpclient-fingerprints branch December 12, 2024 15:39
@harry-gocity

Copy link
Copy Markdown

thank you!

mergifyBot added a commit to reisene/HulajDusza-serwis that referenced this pull request Jan 23, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<h3>Snyk has created this PR to upgrade @sentry/profiling-node from
8.43.0 to 8.47.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **5 versions** ahead of your current
version.
- The recommended version was released **a month ago**.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>@sentry/profiling-node</b></summary>
<ul>
<li>
<b>8.47.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.47.0">2024-12-18</a></br><ul>
<li>feat(v8/core): Add <code>updateSpanName</code> helper function (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2742710163" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14736"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14736/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14736">#14736</a>)</li>
<li>feat(v8/node): Do not overwrite prisma <code>db.system</code> in
newer Prisma versions (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="2747169540"
data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14772"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14772/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14772">#14772</a>)</li>
<li>feat(v8/node/deps): Bump @ prisma/instrumentation from 5.19.1 to
5.22.0 (<a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="2744850994" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14755"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14755/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14755">#14755</a>)</li>
<li>feat(v8/replay): Mask srcdoc iframe contents per default (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747500508" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14779"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14779/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14779">#14779</a>)</li>
<li>ref(v8/nextjs): Fix typo in source maps deletion warning (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747300057" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14776"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14776/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14776">#14776</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/aloisklink/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/aloisklink">@ aloisklink</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/benjick/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/benjick">@ benjick</a>. Thank you for
your contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.06 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.45 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.37 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.85 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.64 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.52 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.67 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.47 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.51 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.71 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.1 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.85 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.23 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.3 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.52 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.9 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.32 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.7 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.87 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.53 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.46.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.46.0">2024-12-17</a></br><ul>
<li>feat: Allow capture of more than 1 ANR event [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14713"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14713/hovercard">#14713</a>)</li>
<li>feat(node): Detect Railway release name [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14714"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14714/hovercard">#14714</a>)</li>
<li>fix: Normalise ANR debug image file paths if appRoot was supplied
[v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14709"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14709/hovercard">#14709</a>)</li>
<li>fix(nuxt): Remove build config from tsconfig (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14737"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14737/hovercard">#14737</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/conor-ob/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/conor-ob">@ conor-ob</a>. Thank you
for your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.53 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.72 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.4 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.1</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.1">2024-12-16</a></br><ul>
<li>fix(feedback): Return when the <code>sendFeedback</code> promise
resolves (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14683"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14683/hovercard">#14683</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/antonis/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/antonis">@ antonis</a>. Thank you for
your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.39 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.0">2024-12-13</a></br><ul>
<li>feat(core): Add <code>handled</code> option to
<code>captureConsoleIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14664"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14664/hovercard">#14664</a>)</li>
<li>feat(browser): Attach virtual stack traces to
<code>HttpClient</code> events (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14515"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14515/hovercard">#14515</a>)</li>
<li>feat(replay): Upgrade rrweb packages to 2.31.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14689"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14689/hovercard">#14689</a>)</li>
<li>fix(aws-serverless): Remove v8 layer as it overwrites the current
layer for docs (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14679"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14679/hovercard">#14679</a>)</li>
<li>fix(browser): Mark stack trace from <code>captureMessage</code> with
<code>attachStacktrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14668"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14668/hovercard">#14668</a>)</li>
<li>fix(core): Mark stack trace from <code>captureMessage</code> with
<code>attatchStackTrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14670"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14670/hovercard">#14670</a>)</li>
<li>fix(core): Set <code>level</code> in server runtime
<code>captureException</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/10587"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/10587/hovercard">#10587</a>)</li>
<li>fix(profiling-node): Guard invocation of native profiling methods
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14676"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14676/hovercard">#14676</a>)</li>
<li>fix(nuxt): Inline nitro-utils function (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14680"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14680/hovercard">#14680</a>)</li>
<li>fix(profiling-node): Ensure profileId is added to transaction event
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14681"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14681/hovercard">#14681</a>)</li>
<li>fix(react): Add React Router Descendant Routes support (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14304"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14304/hovercard">#14304</a>)</li>
<li>fix: Disable ANR and Local Variables if debugger is enabled via CLI
args (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14643"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14643/hovercard">#14643</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/anonrig/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/anonrig">@ anonrig</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Zih0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zih0">@ Zih0</a>. Thank you for your
contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.69 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.89 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.38 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.44.0</b> - 2024-12-12
</li>
<li>
<b>8.43.0</b> - 2024-12-10
</li>
</ul>
from <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/profiling-node
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkODM5YmMwYi00ZGY4LTQ5ZTctYjAyZS0wMjJmNTIxYjc2NGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQ4MzliYzBiLTRkZjgtNDllNy1iMDJlLTAyMmY1MjFiNzY0ZiJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg&#x3D;@sentry/profiling-node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/profiling-node","from":"8.43.0","to":"8.47.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d839bc0b-4df8-49e7-b02e-022f521b764f","prPublicId":"d839bc0b-4df8-49e7-b02e-022f521b764f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-12-18T16:01:56.517Z"},"vulns":[]}'
## Podsumowanie przez Sourcery
Aktualizacja @sentry/profiling-node z wersji 8.43.0 do 8.47.0.
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Upgrade @sentry/profiling-node from 8.43.0 to 8.47.0.
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attach stack trace to events from HTTPClient integration so they are not merged (fingerprinted) into a single issue

4 participants

@onurtemizkan@harry-gocity@mydea@lforst
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

feat(browser): Attach virtual stack traces to HttpClient events. - #14515

Merged
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints
Dec 12, 2024
Merged

feat(browser): Attach virtual stack traces to HttpClient events.#14515
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Resolves: #8353

Updated fetch and xhr wrappers to pass virtual errors to the HttpClient integration so we can group the events with the stack traces.

It seems we can't create the virtual errors inside the HttpClient integration, as we're losing the non-Sentry frames.

Sampled fetch event - Link
Sampled XHR event - Link

@github-actions

github-actionsBot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.11 KB+0.08%+18 B 🔺
@sentry/browser - with treeshaking flags21.84 KB+0.04%+8 B 🔺
@sentry/browser (incl. Tracing)35.51 KB+0.03%+10 B 🔺
@sentry/browser (incl. Tracing, Replay)72.39 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.88 KB+0.02%+12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas)76.71 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback)89.17 KB+0.01%+5 B 🔺
@sentry/browser (incl. Feedback)39.84 KB+0.02%+6 B 🔺
@sentry/browser (incl. sendFeedback)27.73 KB+0.05%+13 B 🔺
@sentry/browser (incl. FeedbackAsync)32.54 KB+0.04%+12 B 🔺
@sentry/react25.8 KB+0.02%+5 B 🔺
@sentry/react (incl. Tracing)38.41 KB+0.02%+5 B 🔺
@sentry/vue27.26 KB+0.05%+13 B 🔺
@sentry/vue (incl. Tracing)37.31 KB+0.03%+10 B 🔺
@sentry/svelte23.26 KB+0.06%+12 B 🔺
CDN Bundle24.33 KB+0.04%+8 B 🔺
CDN Bundle (incl. Tracing)37.21 KB+0.04%+14 B 🔺
CDN Bundle (incl. Tracing, Replay)72.1 KB+0.03%+18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback)77.43 KB+0.03%+20 B 🔺
CDN Bundle - uncompressed71.48 KB+0.05%+35 B 🔺
CDN Bundle (incl. Tracing) - uncompressed110.54 KB+0.04%+35 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed223.61 KB+0.02%+35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed236.83 KB+0.02%+35 B 🔺
@sentry/nextjs (client)38.71 KB+0.01%+2 B 🔺
@sentry/sveltekit (client)36.06 KB+0.03%+8 B 🔺
@sentry/node135.08 KB--
@sentry/node - without tracing97.13 KB--
@sentry/aws-serverless109.43 KB--

View base workflow run

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 2 times, most recently from 252e544 to 7597e64CompareNovember 27, 2024 18:43
@codecov

codecovBot commented Nov 27, 2024

Copy link
Copy Markdown

❌ 29 Tests Failed:

Tests completedFailedPassedSkipped
6612963227
View the top 3 failed tests by shortest run time
replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/test.tscapturestextrequestbody
Stack Traces | 0.219s run time
test.ts:11:11capturestextrequestbody
integrations/Breadcrumbs/fetch/statusCode/test.tscapturesBreadcrumbwithloglevelfor5xxresponsecode
Stack Traces | 0.229s run time
test.ts:44:11capturesBreadcrumbwithloglevelfor5xxresponsecode
integrations/Breadcrumbs/fetch/get/test.tscapturesBreadcrumbforbasicGETrequest
Stack Traces | 0.236s run time
test.ts:7:11capturesBreadcrumbforbasicGETrequest

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 3 times, most recently from ed1f24d to 21169f8CompareNovember 27, 2024 20:04
@onurtemizkan
onurtemizkan marked this pull request as ready for review November 27, 2024 20:04
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 21169f8 to d58da1cCompareNovember 28, 2024 03:08
endTimestamp: timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
error: httpClientInstrumented ? virtualError : undefined,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Can we just directly attach the stackframe here, instead of passing the error around? then we can maybe just ignore these checks and simply always attach this here 🤔

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this made it work with ESM builds. Thanks!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 05e3351 to c0b864aCompareNovember 28, 2024 11:54
Comment on lines +58 to +59
const virtualError = new Error();
const virtualStackTrace = virtualError.stack;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is relatively expensive for engines to compute stack traces. I wonder if we could change this a bit so we don't create stack traces every time fetch is called but only when we actually need it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, passing a boolean whether the fetch/xhr instrumentations are triggered by HttpClient was flaky because of maybeInstrument, so passing the error itself in handler data under virtualError key (not to conflict with other integrations like Breadcrumbs that use error key) and creating the stacks inside HttpClient will hopefully give us a slight performance improvement. a7b89bc

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from c0b864a to 8929cd3CompareNovember 29, 2024 15:23
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 8929cd3 to a7b89bcCompareNovember 29, 2024 15:57

@lforstlforst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big

@lforst
lforst merged commit 63476fa into developDec 12, 2024
@lforst
lforst deleted the onur/httpclient-fingerprints branch December 12, 2024 15:39
@harry-gocity

Copy link
Copy Markdown

thank you!

mergifyBot added a commit to reisene/HulajDusza-serwis that referenced this pull request Jan 23, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<h3>Snyk has created this PR to upgrade @sentry/profiling-node from
8.43.0 to 8.47.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **5 versions** ahead of your current
version.
- The recommended version was released **a month ago**.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>@sentry/profiling-node</b></summary>
<ul>
<li>
<b>8.47.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.47.0">2024-12-18</a></br><ul>
<li>feat(v8/core): Add <code>updateSpanName</code> helper function (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2742710163" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14736"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14736/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14736">#14736</a>)</li>
<li>feat(v8/node): Do not overwrite prisma <code>db.system</code> in
newer Prisma versions (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="2747169540"
data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14772"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14772/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14772">#14772</a>)</li>
<li>feat(v8/node/deps): Bump @ prisma/instrumentation from 5.19.1 to
5.22.0 (<a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="2744850994" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14755"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14755/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14755">#14755</a>)</li>
<li>feat(v8/replay): Mask srcdoc iframe contents per default (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747500508" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14779"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14779/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14779">#14779</a>)</li>
<li>ref(v8/nextjs): Fix typo in source maps deletion warning (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747300057" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14776"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14776/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14776">#14776</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/aloisklink/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/aloisklink">@ aloisklink</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/benjick/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/benjick">@ benjick</a>. Thank you for
your contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.06 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.45 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.37 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.85 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.64 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.52 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.67 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.47 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.51 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.71 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.1 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.85 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.23 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.3 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.52 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.9 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.32 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.7 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.87 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.53 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.46.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.46.0">2024-12-17</a></br><ul>
<li>feat: Allow capture of more than 1 ANR event [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14713"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14713/hovercard">#14713</a>)</li>
<li>feat(node): Detect Railway release name [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14714"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14714/hovercard">#14714</a>)</li>
<li>fix: Normalise ANR debug image file paths if appRoot was supplied
[v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14709"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14709/hovercard">#14709</a>)</li>
<li>fix(nuxt): Remove build config from tsconfig (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14737"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14737/hovercard">#14737</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/conor-ob/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/conor-ob">@ conor-ob</a>. Thank you
for your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.53 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.72 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.4 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.1</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.1">2024-12-16</a></br><ul>
<li>fix(feedback): Return when the <code>sendFeedback</code> promise
resolves (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14683"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14683/hovercard">#14683</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/antonis/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/antonis">@ antonis</a>. Thank you for
your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.39 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.0">2024-12-13</a></br><ul>
<li>feat(core): Add <code>handled</code> option to
<code>captureConsoleIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14664"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14664/hovercard">#14664</a>)</li>
<li>feat(browser): Attach virtual stack traces to
<code>HttpClient</code> events (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14515"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14515/hovercard">#14515</a>)</li>
<li>feat(replay): Upgrade rrweb packages to 2.31.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14689"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14689/hovercard">#14689</a>)</li>
<li>fix(aws-serverless): Remove v8 layer as it overwrites the current
layer for docs (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14679"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14679/hovercard">#14679</a>)</li>
<li>fix(browser): Mark stack trace from <code>captureMessage</code> with
<code>attachStacktrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14668"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14668/hovercard">#14668</a>)</li>
<li>fix(core): Mark stack trace from <code>captureMessage</code> with
<code>attatchStackTrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14670"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14670/hovercard">#14670</a>)</li>
<li>fix(core): Set <code>level</code> in server runtime
<code>captureException</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/10587"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/10587/hovercard">#10587</a>)</li>
<li>fix(profiling-node): Guard invocation of native profiling methods
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14676"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14676/hovercard">#14676</a>)</li>
<li>fix(nuxt): Inline nitro-utils function (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14680"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14680/hovercard">#14680</a>)</li>
<li>fix(profiling-node): Ensure profileId is added to transaction event
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14681"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14681/hovercard">#14681</a>)</li>
<li>fix(react): Add React Router Descendant Routes support (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14304"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14304/hovercard">#14304</a>)</li>
<li>fix: Disable ANR and Local Variables if debugger is enabled via CLI
args (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14643"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14643/hovercard">#14643</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/anonrig/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/anonrig">@ anonrig</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Zih0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zih0">@ Zih0</a>. Thank you for your
contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.69 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.89 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.38 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.44.0</b> - 2024-12-12
</li>
<li>
<b>8.43.0</b> - 2024-12-10
</li>
</ul>
from <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/profiling-node
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkODM5YmMwYi00ZGY4LTQ5ZTctYjAyZS0wMjJmNTIxYjc2NGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQ4MzliYzBiLTRkZjgtNDllNy1iMDJlLTAyMmY1MjFiNzY0ZiJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg&#x3D;@sentry/profiling-node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/profiling-node","from":"8.43.0","to":"8.47.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d839bc0b-4df8-49e7-b02e-022f521b764f","prPublicId":"d839bc0b-4df8-49e7-b02e-022f521b764f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-12-18T16:01:56.517Z"},"vulns":[]}'
## Podsumowanie przez Sourcery
Aktualizacja @sentry/profiling-node z wersji 8.43.0 do 8.47.0.
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Upgrade @sentry/profiling-node from 8.43.0 to 8.47.0.
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attach stack trace to events from HTTPClient integration so they are not merged (fingerprinted) into a single issue

4 participants

@onurtemizkan@harry-gocity@mydea@lforst
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

feat(browser): Attach virtual stack traces to HttpClient events. - #14515

Merged
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints
Dec 12, 2024
Merged

feat(browser): Attach virtual stack traces to HttpClient events.#14515
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Resolves: #8353

Updated fetch and xhr wrappers to pass virtual errors to the HttpClient integration so we can group the events with the stack traces.

It seems we can't create the virtual errors inside the HttpClient integration, as we're losing the non-Sentry frames.

Sampled fetch event - Link
Sampled XHR event - Link

@github-actions

github-actionsBot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.11 KB+0.08%+18 B 🔺
@sentry/browser - with treeshaking flags21.84 KB+0.04%+8 B 🔺
@sentry/browser (incl. Tracing)35.51 KB+0.03%+10 B 🔺
@sentry/browser (incl. Tracing, Replay)72.39 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.88 KB+0.02%+12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas)76.71 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback)89.17 KB+0.01%+5 B 🔺
@sentry/browser (incl. Feedback)39.84 KB+0.02%+6 B 🔺
@sentry/browser (incl. sendFeedback)27.73 KB+0.05%+13 B 🔺
@sentry/browser (incl. FeedbackAsync)32.54 KB+0.04%+12 B 🔺
@sentry/react25.8 KB+0.02%+5 B 🔺
@sentry/react (incl. Tracing)38.41 KB+0.02%+5 B 🔺
@sentry/vue27.26 KB+0.05%+13 B 🔺
@sentry/vue (incl. Tracing)37.31 KB+0.03%+10 B 🔺
@sentry/svelte23.26 KB+0.06%+12 B 🔺
CDN Bundle24.33 KB+0.04%+8 B 🔺
CDN Bundle (incl. Tracing)37.21 KB+0.04%+14 B 🔺
CDN Bundle (incl. Tracing, Replay)72.1 KB+0.03%+18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback)77.43 KB+0.03%+20 B 🔺
CDN Bundle - uncompressed71.48 KB+0.05%+35 B 🔺
CDN Bundle (incl. Tracing) - uncompressed110.54 KB+0.04%+35 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed223.61 KB+0.02%+35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed236.83 KB+0.02%+35 B 🔺
@sentry/nextjs (client)38.71 KB+0.01%+2 B 🔺
@sentry/sveltekit (client)36.06 KB+0.03%+8 B 🔺
@sentry/node135.08 KB--
@sentry/node - without tracing97.13 KB--
@sentry/aws-serverless109.43 KB--

View base workflow run

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 2 times, most recently from 252e544 to 7597e64CompareNovember 27, 2024 18:43
@codecov

codecovBot commented Nov 27, 2024

Copy link
Copy Markdown

❌ 29 Tests Failed:

Tests completedFailedPassedSkipped
6612963227
View the top 3 failed tests by shortest run time
replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/test.tscapturestextrequestbody
Stack Traces | 0.219s run time
test.ts:11:11capturestextrequestbody
integrations/Breadcrumbs/fetch/statusCode/test.tscapturesBreadcrumbwithloglevelfor5xxresponsecode
Stack Traces | 0.229s run time
test.ts:44:11capturesBreadcrumbwithloglevelfor5xxresponsecode
integrations/Breadcrumbs/fetch/get/test.tscapturesBreadcrumbforbasicGETrequest
Stack Traces | 0.236s run time
test.ts:7:11capturesBreadcrumbforbasicGETrequest

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 3 times, most recently from ed1f24d to 21169f8CompareNovember 27, 2024 20:04
@onurtemizkan
onurtemizkan marked this pull request as ready for review November 27, 2024 20:04
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 21169f8 to d58da1cCompareNovember 28, 2024 03:08
endTimestamp: timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
error: httpClientInstrumented ? virtualError : undefined,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Can we just directly attach the stackframe here, instead of passing the error around? then we can maybe just ignore these checks and simply always attach this here 🤔

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this made it work with ESM builds. Thanks!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 05e3351 to c0b864aCompareNovember 28, 2024 11:54
Comment on lines +58 to +59
const virtualError = new Error();
const virtualStackTrace = virtualError.stack;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is relatively expensive for engines to compute stack traces. I wonder if we could change this a bit so we don't create stack traces every time fetch is called but only when we actually need it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, passing a boolean whether the fetch/xhr instrumentations are triggered by HttpClient was flaky because of maybeInstrument, so passing the error itself in handler data under virtualError key (not to conflict with other integrations like Breadcrumbs that use error key) and creating the stacks inside HttpClient will hopefully give us a slight performance improvement. a7b89bc

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from c0b864a to 8929cd3CompareNovember 29, 2024 15:23
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 8929cd3 to a7b89bcCompareNovember 29, 2024 15:57

@lforstlforst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big

@lforst
lforst merged commit 63476fa into developDec 12, 2024
@lforst
lforst deleted the onur/httpclient-fingerprints branch December 12, 2024 15:39
@harry-gocity

Copy link
Copy Markdown

thank you!

mergifyBot added a commit to reisene/HulajDusza-serwis that referenced this pull request Jan 23, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<h3>Snyk has created this PR to upgrade @sentry/profiling-node from
8.43.0 to 8.47.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **5 versions** ahead of your current
version.
- The recommended version was released **a month ago**.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>@sentry/profiling-node</b></summary>
<ul>
<li>
<b>8.47.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.47.0">2024-12-18</a></br><ul>
<li>feat(v8/core): Add <code>updateSpanName</code> helper function (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2742710163" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14736"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14736/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14736">#14736</a>)</li>
<li>feat(v8/node): Do not overwrite prisma <code>db.system</code> in
newer Prisma versions (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="2747169540"
data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14772"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14772/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14772">#14772</a>)</li>
<li>feat(v8/node/deps): Bump @ prisma/instrumentation from 5.19.1 to
5.22.0 (<a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="2744850994" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14755"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14755/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14755">#14755</a>)</li>
<li>feat(v8/replay): Mask srcdoc iframe contents per default (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747500508" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14779"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14779/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14779">#14779</a>)</li>
<li>ref(v8/nextjs): Fix typo in source maps deletion warning (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747300057" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14776"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14776/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14776">#14776</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/aloisklink/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/aloisklink">@ aloisklink</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/benjick/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/benjick">@ benjick</a>. Thank you for
your contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.06 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.45 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.37 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.85 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.64 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.52 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.67 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.47 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.51 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.71 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.1 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.85 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.23 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.3 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.52 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.9 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.32 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.7 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.87 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.53 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.46.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.46.0">2024-12-17</a></br><ul>
<li>feat: Allow capture of more than 1 ANR event [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14713"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14713/hovercard">#14713</a>)</li>
<li>feat(node): Detect Railway release name [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14714"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14714/hovercard">#14714</a>)</li>
<li>fix: Normalise ANR debug image file paths if appRoot was supplied
[v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14709"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14709/hovercard">#14709</a>)</li>
<li>fix(nuxt): Remove build config from tsconfig (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14737"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14737/hovercard">#14737</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/conor-ob/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/conor-ob">@ conor-ob</a>. Thank you
for your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.53 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.72 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.4 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.1</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.1">2024-12-16</a></br><ul>
<li>fix(feedback): Return when the <code>sendFeedback</code> promise
resolves (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14683"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14683/hovercard">#14683</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/antonis/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/antonis">@ antonis</a>. Thank you for
your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.39 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.0">2024-12-13</a></br><ul>
<li>feat(core): Add <code>handled</code> option to
<code>captureConsoleIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14664"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14664/hovercard">#14664</a>)</li>
<li>feat(browser): Attach virtual stack traces to
<code>HttpClient</code> events (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14515"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14515/hovercard">#14515</a>)</li>
<li>feat(replay): Upgrade rrweb packages to 2.31.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14689"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14689/hovercard">#14689</a>)</li>
<li>fix(aws-serverless): Remove v8 layer as it overwrites the current
layer for docs (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14679"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14679/hovercard">#14679</a>)</li>
<li>fix(browser): Mark stack trace from <code>captureMessage</code> with
<code>attachStacktrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14668"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14668/hovercard">#14668</a>)</li>
<li>fix(core): Mark stack trace from <code>captureMessage</code> with
<code>attatchStackTrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14670"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14670/hovercard">#14670</a>)</li>
<li>fix(core): Set <code>level</code> in server runtime
<code>captureException</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/10587"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/10587/hovercard">#10587</a>)</li>
<li>fix(profiling-node): Guard invocation of native profiling methods
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14676"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14676/hovercard">#14676</a>)</li>
<li>fix(nuxt): Inline nitro-utils function (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14680"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14680/hovercard">#14680</a>)</li>
<li>fix(profiling-node): Ensure profileId is added to transaction event
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14681"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14681/hovercard">#14681</a>)</li>
<li>fix(react): Add React Router Descendant Routes support (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14304"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14304/hovercard">#14304</a>)</li>
<li>fix: Disable ANR and Local Variables if debugger is enabled via CLI
args (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14643"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14643/hovercard">#14643</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/anonrig/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/anonrig">@ anonrig</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Zih0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zih0">@ Zih0</a>. Thank you for your
contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.69 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.89 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.38 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.44.0</b> - 2024-12-12
</li>
<li>
<b>8.43.0</b> - 2024-12-10
</li>
</ul>
from <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/profiling-node
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkODM5YmMwYi00ZGY4LTQ5ZTctYjAyZS0wMjJmNTIxYjc2NGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQ4MzliYzBiLTRkZjgtNDllNy1iMDJlLTAyMmY1MjFiNzY0ZiJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg&#x3D;@sentry/profiling-node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/profiling-node","from":"8.43.0","to":"8.47.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d839bc0b-4df8-49e7-b02e-022f521b764f","prPublicId":"d839bc0b-4df8-49e7-b02e-022f521b764f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-12-18T16:01:56.517Z"},"vulns":[]}'
## Podsumowanie przez Sourcery
Aktualizacja @sentry/profiling-node z wersji 8.43.0 do 8.47.0.
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Upgrade @sentry/profiling-node from 8.43.0 to 8.47.0.
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attach stack trace to events from HTTPClient integration so they are not merged (fingerprinted) into a single issue

4 participants

@onurtemizkan@harry-gocity@mydea@lforst
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

feat(browser): Attach virtual stack traces to HttpClient events. - #14515

Merged
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints
Dec 12, 2024
Merged

feat(browser): Attach virtual stack traces to HttpClient events.#14515
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Resolves: #8353

Updated fetch and xhr wrappers to pass virtual errors to the HttpClient integration so we can group the events with the stack traces.

It seems we can't create the virtual errors inside the HttpClient integration, as we're losing the non-Sentry frames.

Sampled fetch event - Link
Sampled XHR event - Link

@github-actions

github-actionsBot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.11 KB+0.08%+18 B 🔺
@sentry/browser - with treeshaking flags21.84 KB+0.04%+8 B 🔺
@sentry/browser (incl. Tracing)35.51 KB+0.03%+10 B 🔺
@sentry/browser (incl. Tracing, Replay)72.39 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.88 KB+0.02%+12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas)76.71 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback)89.17 KB+0.01%+5 B 🔺
@sentry/browser (incl. Feedback)39.84 KB+0.02%+6 B 🔺
@sentry/browser (incl. sendFeedback)27.73 KB+0.05%+13 B 🔺
@sentry/browser (incl. FeedbackAsync)32.54 KB+0.04%+12 B 🔺
@sentry/react25.8 KB+0.02%+5 B 🔺
@sentry/react (incl. Tracing)38.41 KB+0.02%+5 B 🔺
@sentry/vue27.26 KB+0.05%+13 B 🔺
@sentry/vue (incl. Tracing)37.31 KB+0.03%+10 B 🔺
@sentry/svelte23.26 KB+0.06%+12 B 🔺
CDN Bundle24.33 KB+0.04%+8 B 🔺
CDN Bundle (incl. Tracing)37.21 KB+0.04%+14 B 🔺
CDN Bundle (incl. Tracing, Replay)72.1 KB+0.03%+18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback)77.43 KB+0.03%+20 B 🔺
CDN Bundle - uncompressed71.48 KB+0.05%+35 B 🔺
CDN Bundle (incl. Tracing) - uncompressed110.54 KB+0.04%+35 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed223.61 KB+0.02%+35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed236.83 KB+0.02%+35 B 🔺
@sentry/nextjs (client)38.71 KB+0.01%+2 B 🔺
@sentry/sveltekit (client)36.06 KB+0.03%+8 B 🔺
@sentry/node135.08 KB--
@sentry/node - without tracing97.13 KB--
@sentry/aws-serverless109.43 KB--

View base workflow run

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 2 times, most recently from 252e544 to 7597e64CompareNovember 27, 2024 18:43
@codecov

codecovBot commented Nov 27, 2024

Copy link
Copy Markdown

❌ 29 Tests Failed:

Tests completedFailedPassedSkipped
6612963227
View the top 3 failed tests by shortest run time
replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/test.tscapturestextrequestbody
Stack Traces | 0.219s run time
test.ts:11:11capturestextrequestbody
integrations/Breadcrumbs/fetch/statusCode/test.tscapturesBreadcrumbwithloglevelfor5xxresponsecode
Stack Traces | 0.229s run time
test.ts:44:11capturesBreadcrumbwithloglevelfor5xxresponsecode
integrations/Breadcrumbs/fetch/get/test.tscapturesBreadcrumbforbasicGETrequest
Stack Traces | 0.236s run time
test.ts:7:11capturesBreadcrumbforbasicGETrequest

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 3 times, most recently from ed1f24d to 21169f8CompareNovember 27, 2024 20:04
@onurtemizkan
onurtemizkan marked this pull request as ready for review November 27, 2024 20:04
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 21169f8 to d58da1cCompareNovember 28, 2024 03:08
endTimestamp: timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
error: httpClientInstrumented ? virtualError : undefined,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Can we just directly attach the stackframe here, instead of passing the error around? then we can maybe just ignore these checks and simply always attach this here 🤔

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this made it work with ESM builds. Thanks!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 05e3351 to c0b864aCompareNovember 28, 2024 11:54
Comment on lines +58 to +59
const virtualError = new Error();
const virtualStackTrace = virtualError.stack;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is relatively expensive for engines to compute stack traces. I wonder if we could change this a bit so we don't create stack traces every time fetch is called but only when we actually need it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, passing a boolean whether the fetch/xhr instrumentations are triggered by HttpClient was flaky because of maybeInstrument, so passing the error itself in handler data under virtualError key (not to conflict with other integrations like Breadcrumbs that use error key) and creating the stacks inside HttpClient will hopefully give us a slight performance improvement. a7b89bc

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from c0b864a to 8929cd3CompareNovember 29, 2024 15:23
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 8929cd3 to a7b89bcCompareNovember 29, 2024 15:57

@lforstlforst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big

@lforst
lforst merged commit 63476fa into developDec 12, 2024
@lforst
lforst deleted the onur/httpclient-fingerprints branch December 12, 2024 15:39
@harry-gocity

Copy link
Copy Markdown

thank you!

mergifyBot added a commit to reisene/HulajDusza-serwis that referenced this pull request Jan 23, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<h3>Snyk has created this PR to upgrade @sentry/profiling-node from
8.43.0 to 8.47.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **5 versions** ahead of your current
version.
- The recommended version was released **a month ago**.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>@sentry/profiling-node</b></summary>
<ul>
<li>
<b>8.47.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.47.0">2024-12-18</a></br><ul>
<li>feat(v8/core): Add <code>updateSpanName</code> helper function (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2742710163" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14736"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14736/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14736">#14736</a>)</li>
<li>feat(v8/node): Do not overwrite prisma <code>db.system</code> in
newer Prisma versions (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="2747169540"
data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14772"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14772/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14772">#14772</a>)</li>
<li>feat(v8/node/deps): Bump @ prisma/instrumentation from 5.19.1 to
5.22.0 (<a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="2744850994" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14755"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14755/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14755">#14755</a>)</li>
<li>feat(v8/replay): Mask srcdoc iframe contents per default (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747500508" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14779"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14779/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14779">#14779</a>)</li>
<li>ref(v8/nextjs): Fix typo in source maps deletion warning (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747300057" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14776"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14776/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14776">#14776</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/aloisklink/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/aloisklink">@ aloisklink</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/benjick/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/benjick">@ benjick</a>. Thank you for
your contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.06 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.45 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.37 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.85 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.64 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.52 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.67 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.47 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.51 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.71 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.1 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.85 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.23 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.3 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.52 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.9 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.32 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.7 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.87 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.53 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.46.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.46.0">2024-12-17</a></br><ul>
<li>feat: Allow capture of more than 1 ANR event [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14713"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14713/hovercard">#14713</a>)</li>
<li>feat(node): Detect Railway release name [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14714"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14714/hovercard">#14714</a>)</li>
<li>fix: Normalise ANR debug image file paths if appRoot was supplied
[v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14709"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14709/hovercard">#14709</a>)</li>
<li>fix(nuxt): Remove build config from tsconfig (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14737"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14737/hovercard">#14737</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/conor-ob/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/conor-ob">@ conor-ob</a>. Thank you
for your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.53 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.72 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.4 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.1</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.1">2024-12-16</a></br><ul>
<li>fix(feedback): Return when the <code>sendFeedback</code> promise
resolves (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14683"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14683/hovercard">#14683</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/antonis/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/antonis">@ antonis</a>. Thank you for
your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.39 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.0">2024-12-13</a></br><ul>
<li>feat(core): Add <code>handled</code> option to
<code>captureConsoleIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14664"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14664/hovercard">#14664</a>)</li>
<li>feat(browser): Attach virtual stack traces to
<code>HttpClient</code> events (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14515"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14515/hovercard">#14515</a>)</li>
<li>feat(replay): Upgrade rrweb packages to 2.31.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14689"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14689/hovercard">#14689</a>)</li>
<li>fix(aws-serverless): Remove v8 layer as it overwrites the current
layer for docs (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14679"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14679/hovercard">#14679</a>)</li>
<li>fix(browser): Mark stack trace from <code>captureMessage</code> with
<code>attachStacktrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14668"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14668/hovercard">#14668</a>)</li>
<li>fix(core): Mark stack trace from <code>captureMessage</code> with
<code>attatchStackTrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14670"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14670/hovercard">#14670</a>)</li>
<li>fix(core): Set <code>level</code> in server runtime
<code>captureException</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/10587"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/10587/hovercard">#10587</a>)</li>
<li>fix(profiling-node): Guard invocation of native profiling methods
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14676"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14676/hovercard">#14676</a>)</li>
<li>fix(nuxt): Inline nitro-utils function (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14680"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14680/hovercard">#14680</a>)</li>
<li>fix(profiling-node): Ensure profileId is added to transaction event
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14681"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14681/hovercard">#14681</a>)</li>
<li>fix(react): Add React Router Descendant Routes support (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14304"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14304/hovercard">#14304</a>)</li>
<li>fix: Disable ANR and Local Variables if debugger is enabled via CLI
args (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14643"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14643/hovercard">#14643</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/anonrig/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/anonrig">@ anonrig</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Zih0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zih0">@ Zih0</a>. Thank you for your
contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.69 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.89 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.38 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.44.0</b> - 2024-12-12
</li>
<li>
<b>8.43.0</b> - 2024-12-10
</li>
</ul>
from <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/profiling-node
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkODM5YmMwYi00ZGY4LTQ5ZTctYjAyZS0wMjJmNTIxYjc2NGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQ4MzliYzBiLTRkZjgtNDllNy1iMDJlLTAyMmY1MjFiNzY0ZiJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg&#x3D;@sentry/profiling-node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/profiling-node","from":"8.43.0","to":"8.47.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d839bc0b-4df8-49e7-b02e-022f521b764f","prPublicId":"d839bc0b-4df8-49e7-b02e-022f521b764f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-12-18T16:01:56.517Z"},"vulns":[]}'
## Podsumowanie przez Sourcery
Aktualizacja @sentry/profiling-node z wersji 8.43.0 do 8.47.0.
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Upgrade @sentry/profiling-node from 8.43.0 to 8.47.0.
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attach stack trace to events from HTTPClient integration so they are not merged (fingerprinted) into a single issue

4 participants

@onurtemizkan@harry-gocity@mydea@lforst
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

feat(browser): Attach virtual stack traces to HttpClient events. - #14515

Merged
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints
Dec 12, 2024
Merged

feat(browser): Attach virtual stack traces to HttpClient events.#14515
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Resolves: #8353

Updated fetch and xhr wrappers to pass virtual errors to the HttpClient integration so we can group the events with the stack traces.

It seems we can't create the virtual errors inside the HttpClient integration, as we're losing the non-Sentry frames.

Sampled fetch event - Link
Sampled XHR event - Link

@github-actions

github-actionsBot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.11 KB+0.08%+18 B 🔺
@sentry/browser - with treeshaking flags21.84 KB+0.04%+8 B 🔺
@sentry/browser (incl. Tracing)35.51 KB+0.03%+10 B 🔺
@sentry/browser (incl. Tracing, Replay)72.39 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.88 KB+0.02%+12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas)76.71 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback)89.17 KB+0.01%+5 B 🔺
@sentry/browser (incl. Feedback)39.84 KB+0.02%+6 B 🔺
@sentry/browser (incl. sendFeedback)27.73 KB+0.05%+13 B 🔺
@sentry/browser (incl. FeedbackAsync)32.54 KB+0.04%+12 B 🔺
@sentry/react25.8 KB+0.02%+5 B 🔺
@sentry/react (incl. Tracing)38.41 KB+0.02%+5 B 🔺
@sentry/vue27.26 KB+0.05%+13 B 🔺
@sentry/vue (incl. Tracing)37.31 KB+0.03%+10 B 🔺
@sentry/svelte23.26 KB+0.06%+12 B 🔺
CDN Bundle24.33 KB+0.04%+8 B 🔺
CDN Bundle (incl. Tracing)37.21 KB+0.04%+14 B 🔺
CDN Bundle (incl. Tracing, Replay)72.1 KB+0.03%+18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback)77.43 KB+0.03%+20 B 🔺
CDN Bundle - uncompressed71.48 KB+0.05%+35 B 🔺
CDN Bundle (incl. Tracing) - uncompressed110.54 KB+0.04%+35 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed223.61 KB+0.02%+35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed236.83 KB+0.02%+35 B 🔺
@sentry/nextjs (client)38.71 KB+0.01%+2 B 🔺
@sentry/sveltekit (client)36.06 KB+0.03%+8 B 🔺
@sentry/node135.08 KB--
@sentry/node - without tracing97.13 KB--
@sentry/aws-serverless109.43 KB--

View base workflow run

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 2 times, most recently from 252e544 to 7597e64CompareNovember 27, 2024 18:43
@codecov

codecovBot commented Nov 27, 2024

Copy link
Copy Markdown

❌ 29 Tests Failed:

Tests completedFailedPassedSkipped
6612963227
View the top 3 failed tests by shortest run time
replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/test.tscapturestextrequestbody
Stack Traces | 0.219s run time
test.ts:11:11capturestextrequestbody
integrations/Breadcrumbs/fetch/statusCode/test.tscapturesBreadcrumbwithloglevelfor5xxresponsecode
Stack Traces | 0.229s run time
test.ts:44:11capturesBreadcrumbwithloglevelfor5xxresponsecode
integrations/Breadcrumbs/fetch/get/test.tscapturesBreadcrumbforbasicGETrequest
Stack Traces | 0.236s run time
test.ts:7:11capturesBreadcrumbforbasicGETrequest

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 3 times, most recently from ed1f24d to 21169f8CompareNovember 27, 2024 20:04
@onurtemizkan
onurtemizkan marked this pull request as ready for review November 27, 2024 20:04
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 21169f8 to d58da1cCompareNovember 28, 2024 03:08
endTimestamp: timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
error: httpClientInstrumented ? virtualError : undefined,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Can we just directly attach the stackframe here, instead of passing the error around? then we can maybe just ignore these checks and simply always attach this here 🤔

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this made it work with ESM builds. Thanks!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 05e3351 to c0b864aCompareNovember 28, 2024 11:54
Comment on lines +58 to +59
const virtualError = new Error();
const virtualStackTrace = virtualError.stack;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is relatively expensive for engines to compute stack traces. I wonder if we could change this a bit so we don't create stack traces every time fetch is called but only when we actually need it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, passing a boolean whether the fetch/xhr instrumentations are triggered by HttpClient was flaky because of maybeInstrument, so passing the error itself in handler data under virtualError key (not to conflict with other integrations like Breadcrumbs that use error key) and creating the stacks inside HttpClient will hopefully give us a slight performance improvement. a7b89bc

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from c0b864a to 8929cd3CompareNovember 29, 2024 15:23
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 8929cd3 to a7b89bcCompareNovember 29, 2024 15:57

@lforstlforst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big

@lforst
lforst merged commit 63476fa into developDec 12, 2024
@lforst
lforst deleted the onur/httpclient-fingerprints branch December 12, 2024 15:39
@harry-gocity

Copy link
Copy Markdown

thank you!

mergifyBot added a commit to reisene/HulajDusza-serwis that referenced this pull request Jan 23, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<h3>Snyk has created this PR to upgrade @sentry/profiling-node from
8.43.0 to 8.47.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **5 versions** ahead of your current
version.
- The recommended version was released **a month ago**.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>@sentry/profiling-node</b></summary>
<ul>
<li>
<b>8.47.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.47.0">2024-12-18</a></br><ul>
<li>feat(v8/core): Add <code>updateSpanName</code> helper function (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2742710163" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14736"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14736/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14736">#14736</a>)</li>
<li>feat(v8/node): Do not overwrite prisma <code>db.system</code> in
newer Prisma versions (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="2747169540"
data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14772"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14772/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14772">#14772</a>)</li>
<li>feat(v8/node/deps): Bump @ prisma/instrumentation from 5.19.1 to
5.22.0 (<a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="2744850994" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14755"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14755/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14755">#14755</a>)</li>
<li>feat(v8/replay): Mask srcdoc iframe contents per default (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747500508" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14779"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14779/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14779">#14779</a>)</li>
<li>ref(v8/nextjs): Fix typo in source maps deletion warning (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747300057" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14776"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14776/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14776">#14776</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/aloisklink/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/aloisklink">@ aloisklink</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/benjick/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/benjick">@ benjick</a>. Thank you for
your contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.06 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.45 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.37 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.85 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.64 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.52 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.67 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.47 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.51 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.71 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.1 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.85 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.23 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.3 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.52 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.9 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.32 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.7 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.87 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.53 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.46.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.46.0">2024-12-17</a></br><ul>
<li>feat: Allow capture of more than 1 ANR event [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14713"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14713/hovercard">#14713</a>)</li>
<li>feat(node): Detect Railway release name [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14714"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14714/hovercard">#14714</a>)</li>
<li>fix: Normalise ANR debug image file paths if appRoot was supplied
[v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14709"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14709/hovercard">#14709</a>)</li>
<li>fix(nuxt): Remove build config from tsconfig (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14737"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14737/hovercard">#14737</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/conor-ob/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/conor-ob">@ conor-ob</a>. Thank you
for your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.53 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.72 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.4 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.1</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.1">2024-12-16</a></br><ul>
<li>fix(feedback): Return when the <code>sendFeedback</code> promise
resolves (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14683"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14683/hovercard">#14683</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/antonis/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/antonis">@ antonis</a>. Thank you for
your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.39 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.0">2024-12-13</a></br><ul>
<li>feat(core): Add <code>handled</code> option to
<code>captureConsoleIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14664"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14664/hovercard">#14664</a>)</li>
<li>feat(browser): Attach virtual stack traces to
<code>HttpClient</code> events (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14515"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14515/hovercard">#14515</a>)</li>
<li>feat(replay): Upgrade rrweb packages to 2.31.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14689"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14689/hovercard">#14689</a>)</li>
<li>fix(aws-serverless): Remove v8 layer as it overwrites the current
layer for docs (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14679"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14679/hovercard">#14679</a>)</li>
<li>fix(browser): Mark stack trace from <code>captureMessage</code> with
<code>attachStacktrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14668"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14668/hovercard">#14668</a>)</li>
<li>fix(core): Mark stack trace from <code>captureMessage</code> with
<code>attatchStackTrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14670"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14670/hovercard">#14670</a>)</li>
<li>fix(core): Set <code>level</code> in server runtime
<code>captureException</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/10587"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/10587/hovercard">#10587</a>)</li>
<li>fix(profiling-node): Guard invocation of native profiling methods
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14676"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14676/hovercard">#14676</a>)</li>
<li>fix(nuxt): Inline nitro-utils function (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14680"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14680/hovercard">#14680</a>)</li>
<li>fix(profiling-node): Ensure profileId is added to transaction event
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14681"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14681/hovercard">#14681</a>)</li>
<li>fix(react): Add React Router Descendant Routes support (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14304"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14304/hovercard">#14304</a>)</li>
<li>fix: Disable ANR and Local Variables if debugger is enabled via CLI
args (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14643"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14643/hovercard">#14643</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/anonrig/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/anonrig">@ anonrig</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Zih0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zih0">@ Zih0</a>. Thank you for your
contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.69 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.89 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.38 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.44.0</b> - 2024-12-12
</li>
<li>
<b>8.43.0</b> - 2024-12-10
</li>
</ul>
from <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/profiling-node
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkODM5YmMwYi00ZGY4LTQ5ZTctYjAyZS0wMjJmNTIxYjc2NGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQ4MzliYzBiLTRkZjgtNDllNy1iMDJlLTAyMmY1MjFiNzY0ZiJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg&#x3D;@sentry/profiling-node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/profiling-node","from":"8.43.0","to":"8.47.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d839bc0b-4df8-49e7-b02e-022f521b764f","prPublicId":"d839bc0b-4df8-49e7-b02e-022f521b764f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-12-18T16:01:56.517Z"},"vulns":[]}'
## Podsumowanie przez Sourcery
Aktualizacja @sentry/profiling-node z wersji 8.43.0 do 8.47.0.
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Upgrade @sentry/profiling-node from 8.43.0 to 8.47.0.
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attach stack trace to events from HTTPClient integration so they are not merged (fingerprinted) into a single issue

4 participants

@onurtemizkan@harry-gocity@mydea@lforst
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

feat(browser): Attach virtual stack traces to HttpClient events. - #14515

Merged
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints
Dec 12, 2024
Merged

feat(browser): Attach virtual stack traces to HttpClient events.#14515
lforst merged 4 commits into
developfrom
onur/httpclient-fingerprints

Conversation

@onurtemizkan

@onurtemizkanonurtemizkan commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Resolves: #8353

Updated fetch and xhr wrappers to pass virtual errors to the HttpClient integration so we can group the events with the stack traces.

It seems we can't create the virtual errors inside the HttpClient integration, as we're losing the non-Sentry frames.

Sampled fetch event - Link
Sampled XHR event - Link

@github-actions

github-actionsBot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser23.11 KB+0.08%+18 B 🔺
@sentry/browser - with treeshaking flags21.84 KB+0.04%+8 B 🔺
@sentry/browser (incl. Tracing)35.51 KB+0.03%+10 B 🔺
@sentry/browser (incl. Tracing, Replay)72.39 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.88 KB+0.02%+12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas)76.71 KB+0.01%+3 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback)89.17 KB+0.01%+5 B 🔺
@sentry/browser (incl. Feedback)39.84 KB+0.02%+6 B 🔺
@sentry/browser (incl. sendFeedback)27.73 KB+0.05%+13 B 🔺
@sentry/browser (incl. FeedbackAsync)32.54 KB+0.04%+12 B 🔺
@sentry/react25.8 KB+0.02%+5 B 🔺
@sentry/react (incl. Tracing)38.41 KB+0.02%+5 B 🔺
@sentry/vue27.26 KB+0.05%+13 B 🔺
@sentry/vue (incl. Tracing)37.31 KB+0.03%+10 B 🔺
@sentry/svelte23.26 KB+0.06%+12 B 🔺
CDN Bundle24.33 KB+0.04%+8 B 🔺
CDN Bundle (incl. Tracing)37.21 KB+0.04%+14 B 🔺
CDN Bundle (incl. Tracing, Replay)72.1 KB+0.03%+18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback)77.43 KB+0.03%+20 B 🔺
CDN Bundle - uncompressed71.48 KB+0.05%+35 B 🔺
CDN Bundle (incl. Tracing) - uncompressed110.54 KB+0.04%+35 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed223.61 KB+0.02%+35 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed236.83 KB+0.02%+35 B 🔺
@sentry/nextjs (client)38.71 KB+0.01%+2 B 🔺
@sentry/sveltekit (client)36.06 KB+0.03%+8 B 🔺
@sentry/node135.08 KB--
@sentry/node - without tracing97.13 KB--
@sentry/aws-serverless109.43 KB--

View base workflow run

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 2 times, most recently from 252e544 to 7597e64CompareNovember 27, 2024 18:43
@codecov

codecovBot commented Nov 27, 2024

Copy link
Copy Markdown

❌ 29 Tests Failed:

Tests completedFailedPassedSkipped
6612963227
View the top 3 failed tests by shortest run time
replay/extendNetworkBreadcrumbs/fetch/captureRequestBody/test.tscapturestextrequestbody
Stack Traces | 0.219s run time
test.ts:11:11capturestextrequestbody
integrations/Breadcrumbs/fetch/statusCode/test.tscapturesBreadcrumbwithloglevelfor5xxresponsecode
Stack Traces | 0.229s run time
test.ts:44:11capturesBreadcrumbwithloglevelfor5xxresponsecode
integrations/Breadcrumbs/fetch/get/test.tscapturesBreadcrumbforbasicGETrequest
Stack Traces | 0.236s run time
test.ts:7:11capturesBreadcrumbforbasicGETrequest

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch 3 times, most recently from ed1f24d to 21169f8CompareNovember 27, 2024 20:04
@onurtemizkan
onurtemizkan marked this pull request as ready for review November 27, 2024 20:04
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 21169f8 to d58da1cCompareNovember 28, 2024 03:08
endTimestamp: timestampInSeconds() * 1000,
startTimestamp,
xhr: xhrOpenThisArg,
error: httpClientInstrumented ? virtualError : undefined,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Can we just directly attach the stackframe here, instead of passing the error around? then we can maybe just ignore these checks and simply always attach this here 🤔

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this made it work with ESM builds. Thanks!

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 05e3351 to c0b864aCompareNovember 28, 2024 11:54
Comment on lines +58 to +59
const virtualError = new Error();
const virtualStackTrace = virtualError.stack;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is relatively expensive for engines to compute stack traces. I wonder if we could change this a bit so we don't create stack traces every time fetch is called but only when we actually need it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, passing a boolean whether the fetch/xhr instrumentations are triggered by HttpClient was flaky because of maybeInstrument, so passing the error itself in handler data under virtualError key (not to conflict with other integrations like Breadcrumbs that use error key) and creating the stacks inside HttpClient will hopefully give us a slight performance improvement. a7b89bc

@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from c0b864a to 8929cd3CompareNovember 29, 2024 15:23
@onurtemizkan
onurtemizkanforce-pushed the onur/httpclient-fingerprints branch from 8929cd3 to a7b89bcCompareNovember 29, 2024 15:57

@lforstlforst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

big

@lforst
lforst merged commit 63476fa into developDec 12, 2024
@lforst
lforst deleted the onur/httpclient-fingerprints branch December 12, 2024 15:39
@harry-gocity

Copy link
Copy Markdown

thank you!

mergifyBot added a commit to reisene/HulajDusza-serwis that referenced this pull request Jan 23, 2025
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<h3>Snyk has created this PR to upgrade @sentry/profiling-node from
8.43.0 to 8.47.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **5 versions** ahead of your current
version.
- The recommended version was released **a month ago**.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>@sentry/profiling-node</b></summary>
<ul>
<li>
<b>8.47.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.47.0">2024-12-18</a></br><ul>
<li>feat(v8/core): Add <code>updateSpanName</code> helper function (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2742710163" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14736"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14736/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14736">#14736</a>)</li>
<li>feat(v8/node): Do not overwrite prisma <code>db.system</code> in
newer Prisma versions (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="2747169540"
data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14772"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14772/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14772">#14772</a>)</li>
<li>feat(v8/node/deps): Bump @ prisma/instrumentation from 5.19.1 to
5.22.0 (<a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="2744850994" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14755"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14755/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14755">#14755</a>)</li>
<li>feat(v8/replay): Mask srcdoc iframe contents per default (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747500508" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14779"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14779/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14779">#14779</a>)</li>
<li>ref(v8/nextjs): Fix typo in source maps deletion warning (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="2747300057" data-permission-text="Title is private"
data-url="getsentry/sentry-javascript#14776"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14776/hovercard"
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14776">#14776</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/aloisklink/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/aloisklink">@ aloisklink</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/benjick/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/benjick">@ benjick</a>. Thank you for
your contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.06 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.45 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.37 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.85 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.64 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.52 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.67 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.47 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.51 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.71 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.1 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.85 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.23 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.3 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.52 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.9 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.32 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.7 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.87 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.53 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.46.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.46.0">2024-12-17</a></br><ul>
<li>feat: Allow capture of more than 1 ANR event [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14713"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14713/hovercard">#14713</a>)</li>
<li>feat(node): Detect Railway release name [v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14714"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14714/hovercard">#14714</a>)</li>
<li>fix: Normalise ANR debug image file paths if appRoot was supplied
[v8] (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14709"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14709/hovercard">#14709</a>)</li>
<li>fix(nuxt): Remove build config from tsconfig (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14737"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14737/hovercard">#14737</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/conor-ob/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/conor-ob">@ conor-ob</a>. Thank you
for your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.53 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.72 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.4 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.1</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.1">2024-12-16</a></br><ul>
<li>fix(feedback): Return when the <code>sendFeedback</code> promise
resolves (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14683"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14683/hovercard">#14683</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/antonis/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/antonis">@ antonis</a>. Thank you for
your contribution!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.68 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.88 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.39 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.45.0</b> - <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.45.0">2024-12-13</a></br><ul>
<li>feat(core): Add <code>handled</code> option to
<code>captureConsoleIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14664"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14664/hovercard">#14664</a>)</li>
<li>feat(browser): Attach virtual stack traces to
<code>HttpClient</code> events (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14515"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14515/hovercard">#14515</a>)</li>
<li>feat(replay): Upgrade rrweb packages to 2.31.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14689"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14689/hovercard">#14689</a>)</li>
<li>fix(aws-serverless): Remove v8 layer as it overwrites the current
layer for docs (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14679"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14679/hovercard">#14679</a>)</li>
<li>fix(browser): Mark stack trace from <code>captureMessage</code> with
<code>attachStacktrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14668"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14668/hovercard">#14668</a>)</li>
<li>fix(core): Mark stack trace from <code>captureMessage</code> with
<code>attatchStackTrace: true</code> as synthetic (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14670"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14670/hovercard">#14670</a>)</li>
<li>fix(core): Set <code>level</code> in server runtime
<code>captureException</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/10587"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/10587/hovercard">#10587</a>)</li>
<li>fix(profiling-node): Guard invocation of native profiling methods
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14676"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14676/hovercard">#14676</a>)</li>
<li>fix(nuxt): Inline nitro-utils function (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14680"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14680/hovercard">#14680</a>)</li>
<li>fix(profiling-node): Ensure profileId is added to transaction event
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14681"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14681/hovercard">#14681</a>)</li>
<li>fix(react): Add React Router Descendant Routes support (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14304"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14304/hovercard">#14304</a>)</li>
<li>fix: Disable ANR and Local Variables if debugger is enabled via CLI
args (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/14643"
data-hovercard-type="pull_request"
data-hovercard-url="/getsentry/sentry-javascript/pull/14643/hovercard">#14643</a>)</li>
</ul>
<p>Work in this release was contributed by <a class="user-mention
notranslate" data-hovercard-type="user"
data-hovercard-url="/users/anonrig/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/anonrig">@ anonrig</a> and <a
class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Zih0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zih0">@ Zih0</a>. Thank you for your
contributions!</p>
<h2>Bundle size 📦</h2>
<table>
<thead>
<tr>
<th>Path</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td>@ sentry/browser</td>
<td>23.29 KB</td>
</tr>
<tr>
<td>@ sentry/browser - with treeshaking flags</td>
<td>21.96 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing)</td>
<td>35.79 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay)</td>
<td>73.01 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking
flags</td>
<td>63.41 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td>
<td>77.32 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td>
<td>89.81 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. Feedback)</td>
<td>40.04 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. sendFeedback)</td>
<td>27.89 KB</td>
</tr>
<tr>
<td>@ sentry/browser (incl. FeedbackAsync)</td>
<td>32.69 KB</td>
</tr>
<tr>
<td>@ sentry/react</td>
<td>25.96 KB</td>
</tr>
<tr>
<td>@ sentry/react (incl. Tracing)</td>
<td>38.6 KB</td>
</tr>
<tr>
<td>@ sentry/vue</td>
<td>27.49 KB</td>
</tr>
<tr>
<td>@ sentry/vue (incl. Tracing)</td>
<td>37.63 KB</td>
</tr>
<tr>
<td>@ sentry/svelte</td>
<td>23.45 KB</td>
</tr>
<tr>
<td>CDN Bundle</td>
<td>24.43 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing)</td>
<td>37.46 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay)</td>
<td>72.64 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback)</td>
<td>78.01 KB</td>
</tr>
<tr>
<td>CDN Bundle - uncompressed</td>
<td>71.74 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing) - uncompressed</td>
<td>111.05 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td>
<td>225.1 KB</td>
</tr>
<tr>
<td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td>
<td>238.32 KB</td>
</tr>
<tr>
<td>@ sentry/nextjs (client)</td>
<td>38.89 KB</td>
</tr>
<tr>
<td>@ sentry/sveltekit (client)</td>
<td>36.29 KB</td>
</tr>
<tr>
<td>@ sentry/node</td>
<td>162.52 KB</td>
</tr>
<tr>
<td>@ sentry/node - without tracing</td>
<td>98.71 KB</td>
</tr>
<tr>
<td>@ sentry/aws-serverless</td>
<td>126.38 KB</td>
</tr>
</tbody>
</table>
</li>
<li>
<b>8.44.0</b> - 2024-12-12
</li>
<li>
<b>8.43.0</b> - 2024-12-10
</li>
</ul>
from <a
href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/profiling-node
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkODM5YmMwYi00ZGY4LTQ5ZTctYjAyZS0wMjJmNTIxYjc2NGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQ4MzliYzBiLTRkZjgtNDllNy1iMDJlLTAyMmY1MjFiNzY0ZiJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg&#x3D;@sentry/profiling-node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/profiling-node","from":"8.43.0","to":"8.47.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d839bc0b-4df8-49e7-b02e-022f521b764f","prPublicId":"d839bc0b-4df8-49e7-b02e-022f521b764f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-12-18T16:01:56.517Z"},"vulns":[]}'
## Podsumowanie przez Sourcery
Aktualizacja @sentry/profiling-node z wersji 8.43.0 do 8.47.0.
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Upgrade @sentry/profiling-node from 8.43.0 to 8.47.0.
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attach stack trace to events from HTTPClient integration so they are not merged (fingerprinted) into a single issue

4 participants

@onurtemizkan@harry-gocity@mydea@lforst