-
Notifications
You must be signed in to change notification settings - Fork 0
feat: cold, warm and hot launch times meter #66
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
Conversation
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
Sources/Observability/AutoInstrumentation/Launch/LaunchMeter.swift
Outdated
Show resolved
Hide resolved
Sources/Observability/AutoInstrumentation/Launch/LaunchMeter.swift
Outdated
Show resolved
Hide resolved
abelonogov-ld
approved these changes
Nov 3, 2025
89c174b to
5a52d3b
Compare
Contributor
|
Cleaning fallbacks and unit tests could be done in separate PR |
abelonogov-ld
pushed a commit
that referenced
this pull request
Nov 4, 2025
🤖 I have created a release *beep* *boop* --- ## [0.9.0](0.8.1...0.9.0) (2025-11-04) ### Features * cold, warm and hot launch times meter ([#66](#66)) ([060338b](060338b)) ### Bug Fixes * Make Session Replay stable for offline or intermittent network ([#67](#67)) ([4ff18c5](4ff18c5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Release 0.9.0 adding launch time meters and improving Session Replay stability, with version metadata and changelog updates. > > - **Release 0.9.0**: > - **Feature**: Adds meters for cold, warm, and hot launch times. > - **Bug fix**: Improves Session Replay stability for offline/intermittent networks. > - **Versioning/Docs**: > - Bumps version to `0.9.0` in `Sources/LaunchDarklyObservability/Version.swift` and `.release-please-manifest.json`. > - Updates `CHANGELOG.md` with new entries. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 1c9d651. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
abelonogov-ld
added a commit
that referenced
this pull request
Nov 4, 2025
* main: chore(main): release 0.9.0 (#68) fix: Make Session Replay stable for offline or intermittent network (#67) feat: cold, warm and hot launch times meter (#66) # Conflicts: # Sources/Observability/Logs/LogItem.swift # Sources/Observability/Transport/BatchWorker.swift # Sources/Observability/Transport/EventQueue.swift
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Note
Adds automatic measurement of cold/warm app launch times and emits "AppStart" spans with precise start/end timestamps, plus supporting infra and example app tweaks.
LaunchMeterto measure app launch durations (cold/warm) using app lifecycle + first-frame render.AppStartTimeinitialized from ObjC constructor inObjCBridge.Options.AutoInstrumentedwithlaunchTimesand wires meter viaoptions.launchMeter."AppStart"spans withstart.typeattribute and accuratestartTime/endTimewhenlaunchTimesis enabled.TracerDecorator.startSpan(name:attributes:startTime:)to set explicit span start times.Storefor reducer-based state updates.ObjCBridgetarget and dependencies; pinsios-client-sdkto10.0.0.LDClient.starttoClient.init(); removes AppDelegate SDK setup and a manual flush inTraceView.Written by Cursor Bugbot for commit 4a51e42. This will update automatically on new commits. Configure here.