Skip to content

feat: Send debug meta for app start transactions#3543

Merged
philipphofmann merged 1 commit into
mainfrom
feat/app-start-debug-meta
Jan 5, 2024
Merged

feat: Send debug meta for app start transactions#3543
philipphofmann merged 1 commit into
mainfrom
feat/app-start-debug-meta

Conversation

@philipphofmann

Copy link
Copy Markdown
Member

📜 Description

Send the complete list of debug meta for app start transactions so we can calculate statistics on the number and size of libraries loaded on the backend when the app starts.

💡 Motivation and Context

Fixes GH-3541

💚 How did you test it?

Unit tests and simulator.

📝 Checklist

You have to check all boxes before merging:

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Send the complete list of debug meta for app start transactions so we
can calculate statistics on the number and size of libraries loaded on
the backend when the app starts.

Fixes GH-3541
@github-actions

github-actions Bot commented Jan 5, 2024

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 0771bd9

@codecov

codecov Bot commented Jan 5, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e90aa6d) 89.259% compared to head (0771bd9) 89.279%.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #3543       +/-   ##
=============================================
+ Coverage   89.259%   89.279%   +0.020%     
=============================================
  Files          528       528               
  Lines        57667     57723       +56     
  Branches     20646     20675       +29     
=============================================
+ Hits         51473     51535       +62     
+ Misses        5284      5275        -9     
- Partials       910       913        +3     
Files Coverage Δ
Sources/Sentry/SentryTracer.m 96.981% <100.000%> (-0.178%) ⬇️
...ts/SentryTests/Transaction/SentryTracerTests.swift 98.901% <100.000%> (+0.022%) ⬆️

... and 21 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e90aa6d...0771bd9. Read the comment docs.

@github-actions

github-actions Bot commented Jan 5, 2024

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1238.06 ms 1250.94 ms 12.88 ms
Size 21.58 KiB 418.75 KiB 397.16 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
b8dd0fc 1268.96 ms 1271.90 ms 2.94 ms
c76f9b0 1249.78 ms 1265.14 ms 15.36 ms
60dd0f5 1247.35 ms 1267.59 ms 20.24 ms
98cca71 1199.08 ms 1227.36 ms 28.28 ms
438e21a 1237.47 ms 1255.24 ms 17.77 ms
31ac438 1244.29 ms 1264.06 ms 19.78 ms
3cb68af 1221.15 ms 1238.40 ms 17.25 ms
9cc7e7c 1231.84 ms 1245.24 ms 13.41 ms
160a073 1260.72 ms 1270.10 ms 9.38 ms
596ccc1 1230.85 ms 1244.24 ms 13.39 ms

App size

Revision Plain With Sentry Diff
b8dd0fc 20.76 KiB 401.39 KiB 380.63 KiB
c76f9b0 22.85 KiB 406.69 KiB 383.84 KiB
60dd0f5 20.76 KiB 393.37 KiB 372.60 KiB
98cca71 22.85 KiB 411.14 KiB 388.29 KiB
438e21a 20.76 KiB 434.62 KiB 413.86 KiB
31ac438 20.76 KiB 393.36 KiB 372.60 KiB
3cb68af 20.76 KiB 401.60 KiB 380.84 KiB
9cc7e7c 22.84 KiB 403.14 KiB 380.29 KiB
160a073 22.85 KiB 408.88 KiB 386.03 KiB
596ccc1 22.84 KiB 401.44 KiB 378.60 KiB

@philipphofmann
philipphofmann merged commit 4d5eb78 into main Jan 5, 2024
@philipphofmann
philipphofmann deleted the feat/app-start-debug-meta branch January 5, 2024 10:28
philipphofmann added a commit that referenced this pull request Jan 10, 2024
Send the complete list of debug meta for app start transactions so we
can calculate statistics on the number and size of libraries loaded on
the backend when the app starts.

Fixes GH-3541
Sign up for free to 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.

Send full list of debug meta for app start transactions

2 participants