- 重要な情報
- はじめに
- 用語集
- エージェント
- インテグレーション
- OpenTelemetry
- 開発者
- API
- CoScreen
- アプリ内
- インフラストラクチャー
- アプリケーションパフォーマンス
- 継続的インテグレーション
- ログ管理
- セキュリティ
- UX モニタリング
- 管理
This page lists integrated libraries you can use for Android and Android TV Monitoring.
If you use Coil to load images in your application, take a look at Datadog’s dedicated Coil library.
If you use Fresco to load images in your application, take a look at Datadog’s dedicated Fresco library.
If you use Glide to load images in your application, take a look at Datadog’s dedicated Glide library.
If you use Jetpack Compose in your application, take a look at Datadog’s dedicated Jetpack Compose library.
If you use Picasso, let it use your OkHttpClient
for RUM and APM information about network requests made by Picasso.
val picasso = Picasso.Builder(context)
.downloader(OkHttp3Downloader(okHttpClient))
// …
.build()
Picasso.setSingletonInstance(picasso)
final Picasso picasso = new Picasso.Builder(context)
.downloader(new OkHttp3Downloader(okHttpClient))
// …
.build();
Picasso.setSingletonInstance(picasso);
If you use Retrofit, let it use your OkHttpClient
for RUM and APM information about network requests made with Retrofit.
val retrofitClient = Retrofit.Builder()
.client(okHttpClient)
// …
.build()
final Retrofit retrofitClient = new Retrofit.Builder()
.client(okHttpClient)
// …
.build();
If you use SQLDelight, take a look at Datadog’s dedicated SQLDelight library.
Following SQLiteOpenHelper’s generated API documentation, you only have to provide the implementation of the
DatabaseErrorHandler
-> DatadogDatabaseErrorHandler
in the constructor.
Doing this detects whenever a database is corrupted and sends a relevant RUM error event for it.
class <YourOwnSqliteOpenHelper>: SqliteOpenHelper(
<Context>,
<DATABASE_NAME>,
<CursorFactory>,
<DATABASE_VERSION>,
DatadogDatabaseErrorHandler()) {
// …
}
public class <YourOwnSqliteOpenHelper> extends SqliteOpenHelper {
public <YourOwnSqliteOpenHelper>(){
super(<Context>,
<DATABASE_NAME>,
<CursorFactory>,
<DATABASE_VERSION>,
new DatadogDatabaseErrorHandler());
}
}
If you use Apollo, let it use your OkHttpClient
for RUM and APM information about all the queries performed through Apollo client.
val apolloClient = ApolloClient.builder()
.okHttpClient(okHttpClient)
.serverUrl(<APOLLO_SERVER_URL>)
.build()
final ApolloClient apolloClient = new ApolloClient.builder()
.okHttpClient(okHttpClient)
.serverUrl(<APOLLO_SERVER_URL>)
.build();
If you use the Leanback API to add actions into your Android TV application, take a look at Datadog’s dedicated Android TV library.
お役に立つドキュメント、リンクや記事: