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.

  1. Configure RUM monitoring by following the Setup guide.
  2. 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.

  1. Configure RUM monitoring by following the Setup guide.
  2. 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.

PREVIEWING: mcretzman/DOCS-9337-add-cloud-info-byoti