Skip to content

cli: Enable client-side telemetry and analytics #32010

Open
@jiayiwang7

Description

Describe the feature

Enable client-side telemetry and analytics collection in the CDK CLI. This feature would collect anonymized usage metrics, system and environment information, and error diagnostics to gain insights into how the CDK CLI is being utilized.

Use Case

Enhance our services based on customer insights and feedback. By collecting telemetry data from the CDK CLI, we can better understand customer needs, identify areas for improvement, and prioritize future enhancements to deliver a better user experience. This data helps us diagnose and resolve issues more effectively, ultimately driving continuous improvement of the CDK CLI.

Proposed Solution

  • Introduce a new configuration option in the CDK CLI to enable/disable telemetry collection.
  • Implement secure and anonymized telemetry data collection and transmission functionality.
  • Ensure strict adherence to data privacy and security best practices, excluding any personally identifiable information (PII) or sensitive project-level details.
  • Provide clear documentation, opt-in/opt-out mechanisms, and transparency regarding the collected data.

Other Information

This proposed feature is similar to the telemetry implementation in the AWS Serverless Application Model (SAM) CLI.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

N/A

Environment details (OS name and version, etc.)

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cliIssues related to the CDK CLIeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2package/toolsRelated to AWS CDK Tools or CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions