mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Add extra analytics for notification performance (#6237)
* Add extra analytics for notification performance Add technical spans to track how long a notification fetching work request takes to run, then how long it takes to actually fetch the events for the notifications * Remove `withContext(io)` for `FetchNotificationsWorker` The default `Dispatchers.Default` dispatcher used should be good enough and more performant * Add network check span
This commit is contained in:
committed by
GitHub
parent
001d419afd
commit
ce3df764ba
+6
@@ -37,6 +37,12 @@ object AnalyticsTransactions {
|
||||
operation = "ux",
|
||||
description = "Send to sent state in timeline",
|
||||
)
|
||||
|
||||
val pushToNotification = TransactionDefinition(
|
||||
name = "Push to notification",
|
||||
operation = "push_to_notification",
|
||||
description = "Time from receiving a push notification until it's displayed",
|
||||
)
|
||||
}
|
||||
|
||||
data class TransactionDefinition(
|
||||
|
||||
Reference in New Issue
Block a user