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: sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/RRwebGraphQLReplayLogExporter.kt
+29-27Lines changed: 29 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -21,17 +21,21 @@ private const val REPLAY_EXPORTER_NAME = "RRwebGraphQLReplayLogExporter"
21
21
*
22
22
* @param organizationVerboseId the organization verbose id for the LaunchDarkly customer
23
23
* @param backendUrl The backend URL the GraphQL operations
24
+
* @param serviceName The service name
25
+
* @param serviceVersion The service version
26
+
* @param injectedReplayApiService Optional SessionReplayApiService for testing. If null, a default service will be created.
// TODO: O11Y-627 - pass in logger to implementation and use here
172
-
Log.e(
173
-
REPLAY_EXPORTER_NAME,
174
-
"Error sending incremental capture for session: ${e.message}",
175
-
e
176
-
)
174
+
// Log.e(
175
+
// REPLAY_EXPORTER_NAME,
176
+
// "Error sending incremental capture for session: ${e.message}",
177
+
// e
178
+
// )
177
179
false
178
180
}
179
181
}
@@ -272,22 +274,22 @@ class RRwebGraphQLReplayLogExporter(
272
274
)
273
275
eventBatch.add(viewportEvent)
274
276
275
-
// record last sent state
277
+
// TODO: O11Y-624 - double check error case handling, may need to add retries per api service request, should subsequent requests wait for previous requests to succeed?
// record last sent state only after successful completion
276
281
lastSessionId = capture.session
277
282
lastSentWidth = capture.origWidth
278
283
lastSentHeight = capture.origHeight
279
284
280
-
// TODO: O11Y-624 - double check error case handling, may need to add retries per api service request, should subsequent requests wait for previous requests to succeed?
Copy file name to clipboardExpand all lines: sdk/@launchdarkly/observability-android/lib/src/test/kotlin/com/launchdarkly/observability/network/SamplingApiServiceTest.kt
0 commit comments