Skip to content

Conversation

@mario-launchdarkly
Copy link
Contributor

@mario-launchdarkly mario-launchdarkly commented Oct 30, 2025

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.

  • Observability (Auto-instrumentation):
    • Introduces LaunchMeter to measure app launch durations (cold/warm) using app lifecycle + first-frame render.
    • Adds early uptime capture via AppStartTime initialized from ObjC constructor in ObjCBridge.
    • Extends Options.AutoInstrumented with launchTimes and wires meter via options.launchMeter.
    • Emits "AppStart" spans with start.type attribute and accurate startTime/endTime when launchTimes is enabled.
  • Traces:
    • Adds internal TracerDecorator.startSpan(name:attributes:startTime:) to set explicit span start times.
  • Common:
    • Adds lightweight generic Store for reducer-based state updates.
  • Package:
    • Adds ObjCBridge target and dependencies; pins ios-client-sdk to 10.0.0.
  • Example App:
    • Moves LDClient.start to Client.init(); removes AppDelegate SDK setup and a manual flush in TraceView.

Written by Cursor Bugbot for commit 4a51e42. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@abelonogov-ld
Copy link
Contributor

Cleaning fallbacks and unit tests could be done in separate PR

@mario-launchdarkly mario-launchdarkly merged commit 060338b into main Nov 3, 2025
4 checks passed
@mario-launchdarkly mario-launchdarkly deleted the feature/launch-times branch November 3, 2025 23:58
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants