Product Benefits Pricing Guides Docs About Contact us Try it out
Performance

Amplitude Kotlin SDK Diagnostics Tracking Guide

Amplitude Kotlin 1.36.0 sends ANR and uncaught exceptions as SDK diagnostics. Learn what to track and how to review diagnostics data safely.

· 3 min read

When an analytics SDK misbehaves, you rarely hear about it. Events go missing, sessions look short, and the cause sits inside a library you do not control. Without diagnostics you are guessing.

Amplitude Android Kotlin SDK 1.36.0 (21 October 2026) adds ANR events and uncaught exceptions as SDK diagnostics when enableDiagnostics is true, which is the default. This guide helps you decide what to measure and how to explain the new data to your team.

Data Points to Track

  • diagnostics_enabled: value of enableDiagnostics per build
  • sdk_version: Amplitude Kotlin version
  • anr_count: ANR diagnostics per 1,000 sessions
  • uncaught_exception_count: uncaught exception diagnostics per 1,000 sessions
  • diagnostic_source: SDK or app, where known
  • app_state: foreground or background
  • device_model: hardware family
  • os_version: Android release
  • app_version: release
  • event_loss_after_diagnostic: events missing in the session after one is raised

Setup Steps

  1. Check your configuration. Confirm whether any build overrides enableDiagnostics.
  2. Upgrade to 1.36.0 or later.
  3. Record the baseline from your existing crash and ANR tool, such as Play Console or Crashlytics.
  4. Compare sources. Match diagnostics with your own crash reports for the same app version.
  5. Review privacy. Check what diagnostic data leaves the device and update your privacy notice if needed.
  6. Set an alert for a rise in diagnostics after a release.
  7. Share findings with the team that owns the SDK integration.

Actionable Insights

A spike in ANRs tied to one SDK version points to a regression you can act on. Diagnostics that rise on one device model suggest a hardware or memory limit rather than a code bug.

Treat diagnostics as a second opinion, not a replacement. Your crash tool sees the whole app, while SDK diagnostics focus on the library. Disagreement between them is a useful signal in itself.

Low counts are normal. Do not chase every entry; look for trends by version and device. If a diagnostic coincides with missing events, check upload and queue health as well.

Common Mistakes to Avoid

Do not switch diagnostics off just to quiet noise, because you lose early warning. Avoid mixing diagnostic counts with product metrics in the same chart. And do not forget consent, since diagnostics are still data about a device.

A Simple Rollout Plan

Ship to ten percent of users, keep the default, and watch ANR and exception rates against your crash tool for a week. Then roll out fully and document where each number lives.

Explaining Diagnostics to Your Team

Product managers will ask whether a diagnostic means users are affected. Answer in plain terms: an ANR means the app froze long enough for Android to flag it, and an uncaught exception means code failed without being handled. Neither is a verdict on the product, but both cost trust. Agree a simple threshold, such as diagnostics per 1,000 sessions, and review it in the same meeting as crash-free sessions.