Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ NSURLSession *session = [NSURLSession sessionWithConfiguration:[NSURLSessionConf
- Without `URLSessionInstrumentation`, network requests are still tracked. Enabling it provides detailed timing breakdown for performance analysis.
- In registered-delegate mode (`URLSessionInstrumentation.enableDurationBreakdown`), the `data` parameter passed to `resourceAttributesProvider` is subject to constraints. See below for full details.
- To filter out specific requests from being tracked, use the `resourceEventMapper` in `RUM.Configuration` (see [Modify or drop RUM events](#modify-or-drop-rum-events)).
- When a resource is served from the device's local cache, it is reported with `resource.local_cache_hit: true` (see [Resource attributes][10]). This signal is available only in registered-delegate instrumentation mode, not when using automatic instrumentation with completion-handler swizzling.

{% alert level="info" %}
Be mindful of delegate retention.
Expand Down Expand Up @@ -1195,3 +1196,4 @@ Calling this method disables the SDK and all active features, such as RUM. To re
[7]: https://www.ntppool.org/en/
[8]: /real_user_monitoring/error_tracking/mobile/ios/#add-app-hang-reporting
[9]: /real_user_monitoring/application_monitoring/ios/setup
[10]: /real_user_monitoring/application_monitoring/ios/data_collected/#resource-attributes
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ The following attributes are collected for each view after collection is enabled
| `resource.duration` | number | Entire time spent loading the resource. |
| `resource.first_byte.duration` | number (ns) | Time spent waiting for the first byte of response to be received (responseStart - requestStart). |
| `resource.id` | string | Unique identifier of the resource. |
| `resource.local_cache_hit` | Boolean | Whether the resource was served from the device's local cache. Sent only when `true`; absent otherwise. |
| `resource.method` | string | The HTTP method (for example, `POST`, `GET`, `PATCH`, or `DELETE`). |
| `resource.provider.name` | string | The resource provider name. Default is `unknown`. |
| `resource.provider.domain` | string | The resource provider domain. |
Expand Down
Loading