aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.47k stars 408 forks source link

telemetry(feature dev): amazonq_bundleExtensionIgnored #5296

Closed willyyhuang closed 2 months ago

willyyhuang commented 2 months ago

Problem

We (feature dev team) want to understand if there are any other relevant code file extension that should be added to the allowlist.

Solution

To obtain such information, we want to emit telemetry event to see the most common file extensions being ignored while bundling.

Example log:

2024-07-11 10:35:18.127 [info] Amazon Q Developer Agent for software development Conversation ID: dea452f8-e685-4285-b350-900a06a40d51
2024-07-11 10:35:19.146 [info] ignoring file extension name: graphql, count: 82
2024-07-11 10:35:19.146 [info] ignoring file extension name: eslintignore, count: 1
2024-07-11 10:35:19.146 [info] ignoring file extension name: nvmrc, count: 1

This is a follow up of this pull request

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.