User activity report metrics - Amazon Q Developer

User activity report metrics

The following table describes the metrics that are included in the user activity reports generated by Amazon Q Developer.

For more information about these reports, see Viewing the activity of specific users in Amazon Q Developer.

Metric name Description

Chat_AICodeLines

Lines of code suggested by Amazon Q and accepted by the user. This metric includes code that was generated through the Amazon Q chat (not inline chat) and inserted into the IDE.

Chat_MessagesInteracted

Number of chat messages where the user has interacted positively with Amazon Q. Examples of positive interactions: clicking a link, inserting a suggestion, and upvoting a response from Amazon Q. This metric includes messages that were generated by Amazon Q chat (not inline chat).

Chat_MessagesSent

Number of messages sent to and from Amazon Q. This metric includes the user prompts and Amazon Q responses in the Amazon Q chat (not inline chat).

CodeFix_AcceptanceEventCount

Number of code fixes suggested by Amazon Q and accepted by the user. This metric applies to code fixes generated through the /review command.

CodeFix_AcceptedLines

Lines of code suggested by Amazon Q and accepted by the user. This metric applies to lines of code generated through the /review command.

CodeFix_GeneratedLines

Lines of code suggested by Amazon Q. This metric applies to lines of code generated through the /review command.

CodeFix_GenerationEventCount

Number of code fixes suggested by Amazon Q. This metric applies to code fixes generated through the /review command.

CodeReview_FailedEventCount

Number of code issues that were found but for which Amazon Q could not suggest a code fix. This metric applies to code issues generated using the /review command.

CodeReview_FindingsCount

Number of code issues found by Amazon Q. This metric applies to code issues found using the /review command.

CodeReview_SucceededEventCount

Number of code issues that were found and for which Amazon Q was able to generate a suggested code fix. This metric applies to code issues found using the /review command.

Dev_AcceptanceEventCount

Number of code features suggested by Amazon Q and accepted by the user. This metric applies to code features generated through the /dev command.

Dev_AcceptedLines

Lines of code suggested by Amazon Q and accepted by the user. This metric applies to lines of code generated through the /dev command.

Dev_GeneratedLines

Lines of code suggested by Amazon Q. This metric applies to lines of code generated through the /dev command.

Dev_GenerationEventCount

Number of code features suggested by Amazon Q. This metric applies to code features generated through the /dev command.

DocGeneration_AcceptedFileUpdates

Number of file updates suggested by Amazon Q and accepted by the user. This metric applies to file updates generated through the /doc command.

DocGeneration_AcceptedFilesCreations

Number of file creations suggested by Amazon Q and accepted by the user. This metric applies to file creations generated through the /doc command.

DocGeneration_AcceptedLineAdditions

Lines of documentation additions suggested by Amazon Q and accepted by the user. This metric applies to documentation generated through the /doc command.

DocGeneration_AcceptedLineUpdates

Lines of documentation updates suggested by Amazon Q and accepted by the user. This metric applies to documentation generated using the /doc command.

DocGeneration_EventCount

Number of times the user engaged with Amazon Q using the /doc command.

DocGeneration_RejectedFileCreations

Number of file creations suggested by Amazon Q and rejected by the user. This metric applies to file creations generated through the /doc command.

DocGeneration_RejectedFileUpdates

Number of file updates suggested by Amazon Q and rejected by the user. This metric applies to file updates generated through the /doc command.

DocGeneration_RejectedLineAdditions

Lines of documentation additions suggested by Amazon Q and rejected by the user. This metric applies to documentation generated through the /doc command.

DocGeneration_RejectedLineUpdates

Lines of documentation updates suggested by Amazon Q and rejected by the user. This metric applies to documentation generated using the /doc command.

InlineChat_AcceptedLineAdditions

Lines of code additions suggested by Amazon Q and accepted by the user. This metric includes code additions generated through the inline chat (not Amazon Q chat).

InlineChat_AcceptedLineDeletions

Lines of code deletions suggested by Amazon Q and accepted by the user. This metric includes code deletions suggested through the inline chat (not Amazon Q chat).

InlineChat_AcceptanceEventCount

Number of inline chat (not Amazon Q chat) suggestions that were accepted by the user.

InlineChat_DismissalEventCount

Number of inline chat (not Amazon Q chat) suggestions that were abandoned by the user. By 'abandoned', we mean that the code suggestion was displayed but the user kept typing or performing other operations in their IDE, and did not explicitly accept or reject the code suggestion.

InlineChat_DismissedLineAdditions

Lines of code additions suggested by Amazon Q and abandoned by the user. By 'abandoned', we mean that the code suggestion was displayed but the user kept typing or performing other operations in their IDE, and did not explicitly accept or reject the code suggestion. This metric includes code additions generated through the inline chat (not Amazon Q chat).

InlineChat_DismissedLineDeletions

Lines of code deletions suggested by Amazon Q and abandoned by the user. By 'abandoned', we mean that the code suggestion was displayed but the user kept typing or performing other operations in their IDE, and did not explicitly accept or reject the code suggestion. This metric includes code deletions suggested through the inline chat (not Amazon Q chat).

InlineChat_EventCount

Number of inline chat (not Amazon Q chat) sessions that the user engaged in.

InlineChat_RejectedLineAdditions

Lines of code additions suggested by Amazon Q and rejected by the user. This metric includes code additions generated through the inline chat (not Amazon Q chat).

InlineChat_RejectedLineDeletions

Lines of code deletions suggested by Amazon Q and rejected by the user. This metric includes code deletions suggested through the inline chat (not Amazon Q chat).

InlineChat_RejectionEventCount

Number of inline chat (not Amazon Q chat) suggestions that were rejected by the user.

Inline_AICodeLines

Lines of code suggested by Amazon Q and accepted by the user. This metric includes code that was accepted as inline suggestions.

Inline_AcceptanceCount

Number of inline suggestions accepted by the user.

Inline_SuggestionsCount

Number of inline suggestions displayed to the user.

TestGeneration_AcceptedLines

Lines of code suggested by Amazon Q and accepted by the user. This metric applies to lines of code generated through the /test command.

TestGeneration_AcceptedTests

Number of unit tests suggested by Amazon Q and accepted by the user. This metric applies to unit tests generated through the /test command.

TestGeneration_EventCount

Number of times the user engaged with Amazon Q through the /test command.

TestGeneration_GeneratedLines

Lines of code suggested by Amazon Q. This metric applies to lines of code generated through the /test command.

TestGeneration_GeneratedTests

Number of unit tests suggested by Amazon Q. This metric applies to unit tests generated through the /test command.

Transformation_EventCount

Number of times the user engaged with Amazon Q through the /transform command, excluding the times when the when the user transformed code on the command line.

Transformation_LinesGenerated

Lines of code suggested by Amazon Q. This metric applies to code generated through the /transform command, excluding code transformed on the command line.

Transformation_LinesIngested

Lines of code provided to Amazon Q for transformation. This metric applies to code that is provided through the /transform command, excluding code provided for transformation on the command line, or for an SQL conversion.