Skip to content

chore(sync): add structured recovery telemetry#5070

Draft
MohamadJaara wants to merge 1 commit into
mo/fix/sync-retry-after-no-internetfrom
mo/chore/structured-sync-telemetry
Draft

chore(sync): add structured recovery telemetry#5070
MohamadJaara wants to merge 1 commit into
mo/fix/sync-retry-after-no-internetfrom
mo/chore/structured-sync-telemetry

Conversation

@MohamadJaara

Copy link
Copy Markdown
Member

Summary

  • add structured app-lifecycle telemetry for foreground and push-triggered sync requests
  • use typed event, trigger, and outcome enums to keep dashboard field values stable
  • emit a shared schemaVersion / event / component envelope and omit null fields
  • pin the app telemetry wire format with a regression test
  • update Kalium to chore(sync): add structured recovery telemetry kalium#4311 for structured executor, retry, and network telemetry

Why

The reconnect recovery in the base PR needs an observable path from app foregrounding or push handling through Kalium retry execution. Previously the app emitted prose logs that could not be reliably joined with SDK retry and network events.

Stack

This PR contains telemetry changes only.

Validation

  • AppSyncTelemetryTest
  • SyncLifecycleManagerTest
  • app static code analysis / Detekt
  • Kalium logic JVM tests, Android network host tests, and Kalium Detekt in the dependency PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant