Telemetry
Readyset collects telemetry data to help us diagnose issues and understand how users interact with our product.
This telemetry data is anonymous by default. Users can opt into providing a persistent identifier, or disable telemetry completely.
Telemetry is reported using the Segment (opens in a new tab) customer data platform.
Disabling telemetry
Telemetry can be disabled by running the Readyset installer with the --disable-telemetry
option.
Providing your own Segment source
By default, Readyset reports telemetry to an HTTP Tracking API Source (opens in a new tab) operated by Readyset, Inc. A different source can be specified by setting the RS_SEGMENT_WRITE_KEY
environment variable to the write key corresponding to the source you wish to use.
What telemetry data is collected?
Telemetry messages adhere to the Segment Track API spec (opens in a new tab). Each telemetry message contains a per-session anonymous UUID, an event name, a timestamp, and 0 or more properties. If the RS_API_KEY
environment variable is set, its value will be used as the user ID.
The following OpenAPI schema describes all possible telemetry payloads reported by Readyset:
components:
schemas:
TrackBody:
type: object
properties:
userId:
type: string
description: the value in the RS_API_KEY env var, if present
anonymousId:
type: string
description: a per-session UUID
event:
enum:
- adapter_start
- adapter_stop
- server_start
- server_stop
- installer_run
- deployment_started
- deployment_finished
- deployment_torn_down
- installer_finished
properties:
$ref: '#/components/schemas/Properties'
timestamp:
type: string
format: date-time
required:
- anonymousId
- event
- timestamp
Properties:
type: object
properties:
db_backend:
enum:
- mysql
- postgres
adapter_version:
type: string
server_version:
type: string
docker_version:
type: string
commit_id:
type: string
Events
Below are brief descriptions of each possible event:
- Server Start: The Readyset server was launched
- Server Stop: The Readyset server was shut down
- Adapter Start: The Readyset adapter was launched
- Adapter Stop: The Readyset adapter was shut down
- Installer Run: The Readyset installer was launched
- Deployment Started: A deployment of Readyset was initiated by the installer
- Deployment Finished: The Readyset installer finished deploying a new instance of Readyset
- Deployment Torn Down: The Readyset installer finished tearing down a deployment
- Installer Finished: The Readyset installer exited successfully