OpenTelemetry on Android: From black box to X‑Ray
summary
Shows turning an Android app from a black box into an X‑ray by wiring OpenTelemetry Java SDK into an app, exporting to an OpenTelemetry Collector, and visualizing in Grafana Cloud. Implements explicit spans (schedule.load, fetchAgenda), logs for app startup with start type and duration, and an HTTP plugin that injects W3C traceparent headers so traces link app → backend. Demo produces combined client+server traces, dashboards breaking cold starts by app version and API level, and warns that auto‑instrumentation collects too much data.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 1:28From black box to X-ray vision
- 3:59What is OpenTelemetry
- 8:12OpenTelemetry signals and SDKs
- 13:31Setting up OpenTelemetry in Android
- 17:26Dashboarding and data selection
- 20:54Instrumenting for performance issues
- 26:55Monitoring app startup time
- 31:54Tracing HTTP calls and backends
- 36:25Industry landscape and takeaways
- 39:14Q&A and closing
