fix(deps): update dependency io.sentry:sentry-android to v8.35.0 and enable ANR profiling (#6331)
* fix(deps): update dependency io.sentry:sentry-android to v8.35.0 * Add profile sampling of ANRs This *should* help debugging them. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
@@ -220,7 +220,7 @@ color_picker = "io.mhssn:colorpicker:1.0.0"
|
|||||||
|
|
||||||
# Analytics
|
# Analytics
|
||||||
posthog = "com.posthog:posthog-android:3.37.0"
|
posthog = "com.posthog:posthog-android:3.37.0"
|
||||||
sentry = "io.sentry:sentry-android:8.34.1"
|
sentry = "io.sentry:sentry-android:8.35.0"
|
||||||
# main branch can be tested replacing the version with main-SNAPSHOT
|
# main branch can be tested replacing the version with main-SNAPSHOT
|
||||||
matrix_analytics_events = "com.github.matrix-org:matrix-analytics-events:0.33.2"
|
matrix_analytics_events = "com.github.matrix-org:matrix-analytics-events:0.33.2"
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ class SentryAnalyticsProvider(
|
|||||||
options.tracesSampleRate = 1.0
|
options.tracesSampleRate = 1.0
|
||||||
options.isEnableUserInteractionTracing = true
|
options.isEnableUserInteractionTracing = true
|
||||||
options.environment = buildMeta.buildType.toSentryEnv()
|
options.environment = buildMeta.buildType.toSentryEnv()
|
||||||
|
options.anrProfilingSampleRate = 0.75
|
||||||
}
|
}
|
||||||
Timber.tag(analyticsTag.value).d("Sentry was initialized correctly")
|
Timber.tag(analyticsTag.value).d("Sentry was initialized correctly")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user