Telemetry in Zed
Zed collects anonymous telemetry data to help the team understand how people are using the application and to see what sort of severe issues they are experiencing.
Diagnostic events include debug information (stack traces) from crash reports. Crash reports are sent to a cloud-monitoring service called Datadog. Within Datadog, we can visualize how frequently users are running into issues and assess the severity of the issue. Having these crash reports sent automatically allows us to begin implementing fixes without the user needing to file a report in our issue tracker. Being able to see various crashes plotted in Datadog also gives us an informal measurement of the stability of Zed.
Zed also collects metric information based on user actions. Metric events are reported over HTTPS, and requests are rate-limited to avoid using significant network bandwidth. Telemetry data is proxied through our servers to enable us to easily switch analytics services; we never store this data. At the moment, we are sending events to both Mixpanel and Clickhouse, as we transition from the former to the latter. All data remains anonymous, and can't be related to specific Zed users.
The following actions are captured:
- Opening the app
- Signing in
- Opening and saving files. File extensions (e.g.
.rs
,.html
,.txt
) are included in these events; code is never included in these events.
All
metrics
events also include your OS version, Zed app version, and a timestamp.You can audit the metrics data that Zed has reported by running the command
zed: open telemetry log
from the command palette, or clicking Help > View Telemetry Log
in the application menu.You have full control over what data is sent out by Zed. To enable or disable some or all telemetry types, open your
settings.json
file via zed: open settings
from the command palette. Insert and tweak the following:"telemetry": {
"diagnostics": false,
"metrics": false
},
The telemetry settings can also be configured via the
welcome
screen, which can be invoked via the workspace: welcome
action in the command palette.Last modified 4mo ago