Skip to content

Conversation

@avi-alpert
Copy link
Contributor

@avi-alpert avi-alpert commented Feb 27, 2025

This PR adds the following telemetry for falcon features:

New metric: amazonq_createSavedPrompt - tracks when user creates a saved prompt using UX. Adding to commons in this PR

Additing to existing metric: amazonq_addMessage (does not exist in toolkit common):

  • cwsprChatHasContextList - true if context list is displayed to user
  • cwsprChatPromptContextCount - # of saved prompts manually added to context
  • cwsprChatPromptContextLength - Total length of saved prompts added to context
  • cwsprChatPromptContextTruncatedLength - Truncated length of saved prompts added to context
  • cwsprChatRuleContextCount - # of workspace rules automatically added to context
  • cwsprChatRuleContextLength - Total length of workspace rules added to context
  • cwsprChatRuleContextTruncatedLength - Truncated length of workspace rules added to context
  • cwsprChatFileContextCount - # of files manually added to context
  • cwsprChatFileContextLength - Total length of files added to context
  • cwsprChatFileContextTruncatedLength - Truncated length of files added to context
  • cwsprChatFolderContextCount - # of folders manually added to context

Telemetry doc: https://quip-amazon.com/XRRfA9b8Ux24/Falcon-Telemetry-Toolkits-telemetry


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.

@avi-alpert avi-alpert marked this pull request as ready for review February 28, 2025 00:08
@avi-alpert avi-alpert requested review from a team as code owners February 28, 2025 00:08
@avi-alpert
Copy link
Contributor Author

Linux CI is passing - not sure why it shows as failed (tests are passed in build report)

"description": "When chat panel is closed"
},
{
"name": "amazonq_createSavedPrompt",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is also in the commons PR, is theres telemetry changes expected to live here or there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there. but i can get rid of it from both PRs now that im switching it over to ui_click

@jpinkney-aws jpinkney-aws merged commit 64f6132 into aws:feature/falcon Mar 3, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants