opentelemetry-android
opentelemetry-android copied to clipboard
integrate perfetto - supported by android native
Perfetto allows you to collect system-wide performance traces from Android devices from a variety of data sources (kernel scheduler via ftrace, userspace instrumentation via atrace and all other data sources listed in this site).
Perfetto is based on platform services that are available since Android 9 (P) but are enabled by default only since Android 11 (R). On Android 9 (P) and 10 (Q) you need to do the following to ensure that the tracing services are enabled before getting started:
https://perfetto.dev/docs/quickstart/android-tracing
https://github.com/open-telemetry/opentelemetry-cpp/discussions/1483