Skip to content

Commit c6da846

Browse files
authored
Add Telemetry info for Kotlin
1 parent ba08ec2 commit c6da846

File tree

1 file changed

+8
-0
lines changed
  • src/connections/sources/catalog/libraries/mobile/kotlin-android

1 file changed

+8
-0
lines changed

src/connections/sources/catalog/libraries/mobile/kotlin-android/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,11 @@ Analytics-Kotlin is built with extensibility in mind. Use the tools list below t
203203

204204
## Timestamps in Kotlin
205205
Due to efficiency updates made to Segment's Kotlin library, Segment now adds the `sentAt` timestamp to an event when the batch is complete and initially tried to the Segment API. This can impact the value of the `timestamp` field calculated by Segment if users are operating in an offline mode. More details on this change can be seen in Segment's [timestamp documentation](/docs/connections/spec/common/#sentat).
206+
207+
208+
## Telemetry
209+
Telemetry data related to the configuration and usage of the Analytics-Kotlin SDK is collected and sent to Segment by default. This includes some basic configuration information, plugins and event types used, and basic error information. No PII or event data is collected and the information is downsampled to reduce traffic.
210+
211+
The Telemetry system can be disabled at any time by setting `Telemetry.enable = false`.
212+
213+
When internal errors or errors from plugins occur, the writekey may be included with the error data to help customers track down problems. This can be disabled by setting `Telemetry.sendWriteKeyOnError = false`.

0 commit comments

Comments
 (0)