Merge pull request #5098 from vector-im/sync-analytics-plan

Sync analytics plan
This commit is contained in:
Benoit Marty 2022-01-31 09:44:00 +01:00 committed by GitHub
commit 57fc623995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,12 +46,14 @@ data class PerformanceTimer(
enum class Name { enum class Name {
/** /**
* The time spent parsing the response from an initial /sync request. * The time spent parsing the response from an initial /sync request. In
* this case, `itemCount` should contain the number of joined rooms.
*/ */
InitialSyncParsing, InitialSyncParsing,
/** /**
* The time spent waiting for a response to an initial /sync request. * The time spent waiting for a response to an initial /sync request. In
* this case, `itemCount` should contain the number of joined rooms.
*/ */
InitialSyncRequest, InitialSyncRequest,
@ -62,13 +64,16 @@ data class PerformanceTimer(
NotificationsOpenEvent, NotificationsOpenEvent,
/** /**
* The duration of a regular /sync request when resuming the app. * The duration of a regular /sync request when resuming the app. In
* this case, `itemCount` should contain the number of joined rooms in
* the response.
*/ */
StartupIncrementalSync, StartupIncrementalSync,
/** /**
* The duration of an initial /sync request during startup (if the store * The duration of an initial /sync request during startup (if the store
* has been wiped). * has been wiped). In this case, `itemCount` should contain the number
* of joined rooms.
*/ */
StartupInitialSync, StartupInitialSync,