You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,28 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
59
59
2. The lowest versions that support crash reporting are iOS 14.0 and macOS 12.0.
60
60
3. A valid bundle id other than com.instana.ios.InstanaAgentExample for your test app is also a must.
61
61
62
+
### How to enable slow send mode on beacon send failure
63
+
64
+
By default, when beacon send failed, Instana agent tries to resend it until succeed. Beacons are also sent in batches (maximum 100 beacons) every 2 seconds. For certain cellular network, this is not an ideal option.
65
+
An alternative way, slow send mode, is introduced since version 1.6.1. This mode could be turned on by providing a positive slowSendInterval number (in seconds) in setup() call. Then if beacon send failed, Instana agent only sends out one beacon every \(slowSendInterval) seconds. If succeeded, beacon sending restores to normal mode, ie. in batches every 2 seconds. Otherwise sending stays in slow send mode.
66
+
Slow send mode is disabled by default. Here is the example code to set slowSendInterval to 60 seconds:
/// - httpCaptureConfig: HTTP monitoring configuration to set the capture behavior (automatic, manual, automaticAndManual or none) HTTP requests & responses
17
+
/// - collectionEnabled: Enable or disable collection (instrumentation) on setup. Can be changed later via the property `collectionEnabled` (Default: true)
18
+
/// - enableCrashReporting: Subscribe to metricKit events so as to enable crash reporting.
19
+
/// App must have explicitly asked user permission to subscribe before this call.
20
+
/// - slowSendInterval: Enable slow send mode on beacon send failure when a positive number is passed
0 commit comments