-
-
Notifications
You must be signed in to change notification settings - Fork 377
Report pre-warmed app starts #1969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
5c4cfba
feat: Add runtime init app start span
philipphofmann 06f8f84
Merge branch 'master' into feat/main-mod-init
philipphofmann 48ac3a4
Undo formatting
philipphofmann c4ee0c1
Add UI tests
philipphofmann c0f6060
get time
philipphofmann 544fd63
sentry__msec_time
philipphofmann 2d1152a
Merge branch 'master' into feat/main-mod-init
philipphofmann db13a9f
Fix measurement
philipphofmann 033aada
Remove not working UI test
philipphofmann a3e6bd6
Add tests
philipphofmann 136a5a1
Merge branch 'master' into feat/main-mod-init
philipphofmann 23a614b
Changelog
philipphofmann 9898646
cleanup
philipphofmann a730e70
cleanup
philipphofmann 4ed047a
rename to pre main initializers
philipphofmann 5dc7537
Remove debug log message
philipphofmann 8a00f05
backup
philipphofmann 0a3b154
pass prewarm correctly
philipphofmann 6808850
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann 94bb74c
Drop spans
philipphofmann a2ff096
Cleanup
philipphofmann 7098054
Changelog
philipphofmann 31c5955
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann 0ff5473
merge master
philipphofmann 656b744
send prewarmed with data
philipphofmann 89b268f
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann 8b9c12f
merge context
philipphofmann d5cfc65
add type to context
philipphofmann d1cbfed
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann fb460aa
Changelog
philipphofmann 046f612
rename preWarmed to isPreWarmed
philipphofmann aadc7d9
cleanup
philipphofmann 1182bd8
Fix edge case crash
philipphofmann 8684939
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann 9f5c23a
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann 93c0368
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann ec38aee
Update Sources/Sentry/SentryAppStartTracker.m
philipphofmann 9bb61f1
Format code
getsentry-bot abb4ef3
replace new
philipphofmann e8591e6
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann 213787c
Changelog
philipphofmann a6359df
Merge branch 'master' into fix/report-prewarmed-app-starts
philipphofmann 258fbb4
Add experimental feature flag
philipphofmann 1e666fd
Feedback for testApplyToEvent_EventWithContext_MergesContext
philipphofmann 49e3e7b
Fix test
philipphofmann 8ee82d2
Track feature
philipphofmann a248f3b
Fix macOS tests
philipphofmann 49a7472
code review
philipphofmann 9ab85b4
Changelog
philipphofmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| #import "NSMutableDictionary+Sentry.h" | ||
|
|
||
| @implementation | ||
| NSMutableDictionary (Sentry) | ||
|
|
||
| - (void)mergeEntriesFromDictionary:(NSDictionary *)otherDictionary | ||
| { | ||
| [otherDictionary enumerateKeysAndObjectsUsingBlock:^(id otherKey, id otherObj, BOOL *stop) { | ||
| if ([otherObj isKindOfClass:NSDictionary.class] && | ||
| [self[otherKey] isKindOfClass:NSDictionary.class]) { | ||
| NSMutableDictionary *mergedDict = ((NSDictionary *)self[otherKey]).mutableCopy; | ||
| [mergedDict mergeEntriesFromDictionary:(NSDictionary *)otherObj]; | ||
| self[otherKey] = mergedDict; | ||
| return; | ||
| } | ||
|
|
||
| self[otherKey] = otherObj; | ||
| }]; | ||
| } | ||
|
|
||
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.