What We Collect
Prefect SDK telemetry tracks anonymous usage patterns to understand how developers use the product. We collect:| Data | Example | Purpose |
|---|---|---|
| Events | first_sdk_import, first_flow_run | Track feature adoption |
| Prefect version | 3.2.0 | Version distribution |
| Python version | 3.12.1 | Compatibility planning |
| Platform | Darwin, Linux, Windows | Platform support |
| Architecture | arm64, x86_64 | Build optimization |
| Anonymous device ID | uuid4() | Session correlation (not user-identifiable) |
Events Tracked
The SDK tracks milestone events in the “Quick Start Funnel”:first_sdk_import- When Prefect is first imported in an interactive terminalfirst_flow_defined- When you define your first flowfirst_flow_run- When you successfully run your first flowfirst_deployment_created- When you create your first deploymentfirst_schedule_created- When you create your first scheduled deployment
Server Telemetry
When running a Prefect server, anonymous heartbeat data is sent every 10 minutes to help us understand server deployment patterns. This data includes:| Data | Example | Purpose |
|---|---|---|
| Platform | Darwin, Linux, Windows | Server environment distribution |
| Architecture | arm64, x86_64 | Build optimization |
| Python version | 3.12.1 | Compatibility planning |
| Prefect version | 3.2.0 | Version distribution |
| API version | 0.8.4 | API compatibility tracking |
| Anonymous session ID | uuid4() | Session correlation (not user-identifiable) |
| Session start timestamp | ISO-8601 datetime | Uptime tracking |
PREFECT_SERVER_ANALYTICS_ENABLED=false.
What We Do NOT Collect
We respect your privacy. Prefect telemetry never collects:- User identity, credentials, or API keys
- Code, flow definitions, or task parameters
- Flow names, task names, or deployment names
- File paths or directory structures
- Environment variables or secrets
- Error messages or stack traces
- IP addresses or network information
- Any personally identifiable information (PII)
How to Opt Out
You can disable telemetry using any of these methods:Environment Variable
Prefect CLI
Automatic CI Detection
Telemetry is automatically disabled when Prefect detects a CI environment. We check for common CI environment variables including:CIGITHUB_ACTIONSGITLAB_CIJENKINS_URLTRAVISCIRCLECIBUILDKITETF_BUILD(Azure DevOps)CODEBUILD_BUILD_ID(AWS CodeBuild)BITBUCKET_COMMIT