aws / aws-toolkit-jetbrains

AWS Toolkit for JetBrains - a plugin for interacting with AWS from JetBrains IDEs
https://plugins.jetbrains.com/plugin/11349-aws-toolkit
Apache License 2.0
768 stars 226 forks source link

telemetry(amazonq): Add diff telemetry for generated and accepted changes. #5116

Closed ctidd closed 1 week ago

ctidd commented 1 week ago

Types of changes

Note: This change is new internal telemetry.

Description

The purpose of this change is to introduce telemetry for generated and accepted code within Feature Dev (/dev). This change performs a diff when code is generated or accepted, and records generated code. This change handles duplicate generation/acceptance within a given conversation by tracking an identifier of generated changes for a given file based on a hash of the before/after content.

Checklist

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.