{"id":19054312,"url":"https://github.com/datadog/dd-sdk-android","last_synced_at":"2026-01-27T20:25:34.385Z","repository":{"id":37413211,"uuid":"219536756","full_name":"DataDog/dd-sdk-android","owner":"DataDog","description":"Datadog SDK for Android (Compatible with Kotlin and Java)","archived":false,"fork":false,"pushed_at":"2025-04-11T06:58:22.000Z","size":87612,"stargazers_count":173,"open_issues_count":38,"forks_count":66,"subscribers_count":21,"default_branch":"develop","last_synced_at":"2025-04-12T01:09:37.274Z","etag":null,"topics":["android","datadog","hacktoberfest","kotlin","real-user-monitoring"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DataDog.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-04T15:42:56.000Z","updated_at":"2025-04-10T17:10:27.000Z","dependencies_parsed_at":"2024-01-21T13:23:59.000Z","dependency_job_id":"9ef840f7-5143-495c-9258-2d69b8512caa","html_url":"https://github.com/DataDog/dd-sdk-android","commit_stats":null,"previous_names":[],"tags_count":124,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataDog%2Fdd-sdk-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataDog%2Fdd-sdk-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataDog%2Fdd-sdk-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataDog%2Fdd-sdk-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataDog","download_url":"https://codeload.github.com/DataDog/dd-sdk-android/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501862,"owners_count":21114684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","datadog","hacktoberfest","kotlin","real-user-monitoring"],"created_at":"2024-11-08T23:37:49.122Z","updated_at":"2026-01-27T20:25:34.341Z","avatar_url":"https://github.com/DataDog.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Datadog SDK for Android and Android TV\n\n\u003e A client-side Android and Android TV library to interact with Datadog.\n\n## Getting Started\n\n### Log Collection\n\nSee the dedicated [Datadog Android Log Collection documentation][1] to learn how to forward logs from your Android or Android TV application to Datadog.\n\n### Real User Monitoring\n\nSee the dedicated [Datadog Android RUM Collection documentation][2] to learn how to send RUM data from your Android or Android TV application to Datadog.\n\n## Log Integrations\n\n### Timber\n\nIf your existing codebase is using Timber, you can forward all those logs to  Datadog automatically by using the [dedicated library](integrations/dd-sdk-android-timber/README.md).\n\n## RUM Integrations\n\n### Coil\n\nIf you use Coil to load images in your application, see Datadog's [dedicated library](integrations/dd-sdk-android-coil/README.md).\n\n### Fresco\n\nIf you use Fresco to load images in your application, see Datadog's [dedicated library](integrations/dd-sdk-android-fresco/README.md).\n\n### Glide\n\nIf you use Glide to load images in your application, see Datadog's [dedicated library](integrations/dd-sdk-android-glide/README.md).\n\n### Jetpack Compose\n\nIf you use Jetpack Compose in your application, see Datadog's [dedicated library](integrations/dd-sdk-android-compose/README.md).\n\n### SQLDelight\n\nIf you use SQLDelight in your application, see Datadog's [dedicated library](integrations/dd-sdk-android-sqldelight/README.md).\n\n### RxJava\n\nIf you use RxJava in your application, see Datadog's [dedicated library](integrations/dd-sdk-android-rx/README.md).\n\n### Picasso\n\nIf you use Picasso, use it with the `OkHttpClient` that's been instrumented with the Datadog SDK for RUM and APM information about network requests made by Picasso.\n\n```kotlin\n        val picasso = Picasso.Builder(context)\n                .downloader(OkHttp3Downloader(okHttpClient))\n                // …\n                .build()\n        Picasso.setSingletonInstance(picasso)\n```\n\n### Retrofit\n\nIf you use Retrofit, use it with the `OkHttpClient` that's been instrumented with the Datadog SDK for RUM and APM information about network requests made with Retrofit.\n\n```kotlin\n        val retrofitClient = Retrofit.Builder()\n                .client(okHttpClient)\n                // …\n                .build()\n```\n\n### Apollo (GraphQL)\n\nIf you use Apollo, use it with the `OkHttpClient` that's been instrumented with the Datadog SDK for RUM and APM information about all the queries performed through Apollo client.\n\n```kotlin\n        val apolloClient =  ApolloClient.builder()\n                 .okHttpClient(okHttpClient)\n                 .serverUrl(\u003cAPOLLO_SERVER_URL\u003e)\n                 .build()\n```\n\n### Kotlin Coroutines\n\nIf you use Kotlin Coroutines, see Datadog's [dedicated library with extensions for RUM](integrations/dd-sdk-android-rum-coroutines/README.md) and with [extensions for Trace](integrations/dd-sdk-android-trace-coroutines/README.md)\n\n## Looking up your logs\n\nWhen you open your console in Datadog, navigate to the [Log Explorer][3]. In the search bar, type `source:android`. This filters your logs to only show the ones coming from Android or Android TV applications.\n\n![Datadog Mobile Logs](docs/images/screenshot_logs.png)\n\n## Looking up your spans\n\nWhen you open your console in Datadog, navigate to [**APM** \u003e **Services**][4]. In the list of services, you can see all your Android and Android TV applications (by default, the service name matches your application's package name, for example: `com.example.android`). You can access all the traces started from your application.\n\n![Datadog Mobile Logs](docs/images/screenshot_apm.png)\n\n## Looking up your RUM events\n\nWhen you open your console in Datadog, navigate to the [RUM Explorer][5]. In the side bar, you can select your application and explore Sessions, Views, Actions, Errors, Resources, and Long Tasks.\n\n![Datadog Mobile Logs](docs/images/screenshot_rum.png)\n\n## Troubleshooting\n\nIf you encounter any issue when using the Datadog SDK for Android and Android TV, please take a look at \nthe [troubleshooting checklist][6], [common problems](docs/advanced_troubleshooting.md), or at\nthe existing [issues](https://github.com/DataDog/dd-sdk-android/issues?q=is%3Aissue).\n\n\u003cdiv class=\"alert alert-warning\"\u003e\nDatadog cannot guarantee the Android and Android TV SDK's performance on Roku devices running with Android OS. If you encounter any issues when using the SDK for these devices, contact \u003ca href=\"https://docs.datadoghq.com/help/\"\u003eDatadog Support\u003c/a\u003e or open an issue in our GitHub project.\n\u003c/div\u003e\n\n## Contributing\n\nPull requests are welcome. First, open an issue to discuss what you would like to change. For more information, read the [Contributing Guide](CONTRIBUTING.md).\n\n## License\n\n[Apache License, v2.0](LICENSE)\n\n[1]: https://docs.datadoghq.com/logs/log_collection/android/?tab=kotlin\n[2]: https://docs.datadoghq.com/real_user_monitoring/android/?tab=kotlin\n[3]: https://app.datadoghq.com/logs\n[4]: https://app.datadoghq.com/apm/services\n[5]: https://app.datadoghq.com/rum/explorer\n[6]: https://docs.datadoghq.com/real_user_monitoring/mobile_and_tv_monitoring/troubleshooting/android/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadog%2Fdd-sdk-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadog%2Fdd-sdk-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadog%2Fdd-sdk-android/lists"}