Integrate Firebase Performance Monitoring – custom and automatic traces for startup, login, DB, sync and network

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: Low
    • 2.14
    • Affects Version/s: None
    • None
    • FLW Sprint 55, FLW Sprint 56
    • FLW Mobile App
    • UAT

      Description:

      Background
      Until now the team has had only Crashlytics, so there was no data on startup, sync or network speed. Our ASHAs mostly use low-end phones on weak rural networks. We need field timings to
      set a baseline, find slow or frozen flows, and prove the effect of optimisations. Coverage is 5 apps and about 9,100 monthly users (Niramay 7,503, Mitanin 1,497, Xushrukha 110).

      Implementation

      • build.gradle: perf-plugin:2.0.2. app/build.gradle: plugin com.google.firebase.firebase-perf and firebase-perf-ktx.
      • Debug builds have network auto-instrumentation turned off (instrumentationEnabled false). The firebase_performance_logcat_enabled flag is only in src/debug/AndroidManifest.xml.
      • New helper helpers/PerfTracer.kt:
      • It never throws and sends no PII.
      • It supports traces that span several WorkManager workers (startOpen/stopOpen).

              Assignee:
              Deep Shikha
              Reporter:
              Nikhil Ananda Fegade
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: