iOS and tvOS Libraries for RUM
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
This page lists integrated libraries you can use for iOS and tvOS applications.
Alamofire
Starting from version 2.5.0
, the RUM iOS SDK can automatically track Alamofire requests.
- Configure RUM monitoring by following the Setup guide.
- Enable
URLSessionInstrumentation
for Alamofire.SessionDelegate
:
import Alamofire
import DatadogRUM
URLSessionInstrumentation.enable(with: .init(delegateClass: Alamofire.SessionDelegate.self))
For additional information on sampling rate, distributed tracing, and adding custom attributes to tracked RUM resources, refer to Advanced Configuration > Automatically track network requests.
Apollo GraphQL
Starting from version 2.5.0
, the RUM iOS SDK can automatically track Apollo GraphQL requests.
- Configure RUM monitoring by following the Setup guide.
- Enable
URLSessionInstrumentation
for Apollo.URLSessionClient
:
import Apollo
import DatadogRUM
URLSessionInstrumentation.enable(with: .init(delegateClass: Apollo.URLSessionClient.self))
For additional information on sampling rate, distributed tracing, and adding custom attributes to tracked RUM resources, refer to Advanced Configuration > Automatically track network requests.