Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/en/tracing/trace_collection/dd_libraries/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ DDTraceConfiguration *configuration = [[DDTraceConfiguration] alloc] init];
{{< /tabs >}}
This automatically traces all requests to `example.com` and `api.yourdomain.com` hosts (for example, `https://api.yourdomain.com/v2/users` or `https://subdomain.example.com/image.png`).

_(Optional)_ For **more accurate trace timings** with detailed timing breakdown (DNS resolution, SSL handshake, time to first byte, connection time, download duration), enable `URLSessionInstrumentation` for your delegate type:
_(Optional)_ For **more accurate trace timings**, enable `URLSessionInstrumentation` for your delegate type:

{{< tabs >}}
{{% tab "Swift" %}}
Expand Down Expand Up @@ -538,7 +538,7 @@ NSURLSession *session = [NSURLSession sessionWithConfiguration:[NSURLSessionConf
{{% /tab %}}
{{< /tabs >}}

**Notes**:
**Notes**:
- Tracing auto-instrumentation uses `URLSession` swizzling and is opt-in. If you do not specify `urlSessionTracking` and `firstPartyHosts` configurations, swizzling is not applied.
- Tracing works automatically without `URLSessionInstrumentation`, but trace timings are more accurate after enabling it.

Expand Down
Loading