Skip to content

Commit 20237b1

Browse files
committed
Bumping the telemetry version
1 parent 29d8df3 commit 20237b1

File tree

3 files changed

+3
-54
lines changed

3 files changed

+3
-54
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mockitoKotlin = "5.4.0"
2525
mockk = "1.13.10"
2626
nimbus-jose-jwt = "9.40"
2727
node-gradle = "7.0.2"
28-
telemetryGenerator = "1.0.271"
28+
telemetryGenerator = "1.0.272"
2929
testLogger = "4.0.0"
3030
testRetry = "1.5.10"
3131
# test-only; platform provides slf4j transitively at runtime

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/controller/chat/telemetry/TelemetryHelper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class TelemetryHelper(private val context: AmazonQAppInitContext, private val se
220220
cwsprChatCodeBlockIndex = message.codeBlockIndex?.toLong(),
221221
cwsprChatTotalCodeBlocks = message.totalCodeBlocks?.toLong(),
222222
cwsprChatHasProjectContext = getMessageHasProjectContext(message.messageId),
223-
// cwsprChatProgrammingLanguage = message.codeBlockLanguage,
223+
cwsprChatProgrammingLanguage = message.codeBlockLanguage,
224224
)
225225
ChatInteractWithMessageEvent.builder().apply {
226226
conversationId(getConversationId(message.tabId).orEmpty())
@@ -246,7 +246,7 @@ class TelemetryHelper(private val context: AmazonQAppInitContext, private val se
246246
cwsprChatCodeBlockIndex = message.codeBlockIndex?.toLong(),
247247
cwsprChatTotalCodeBlocks = message.totalCodeBlocks?.toLong(),
248248
cwsprChatHasProjectContext = getMessageHasProjectContext(message.messageId),
249-
// cwsprChatProgrammingLanguage = message.codeBlockLanguage,
249+
cwsprChatProgrammingLanguage = message.codeBlockLanguage,
250250
)
251251
ChatInteractWithMessageEvent.builder().apply {
252252
conversationId(getConversationId(message.tabId).orEmpty())

plugins/core/jetbrains-community/resources/telemetryOverride.json

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -639,57 +639,6 @@
639639
}
640640
]
641641
},
642-
{
643-
"name": "amazonq_interactWithMessage",
644-
"description": "When a user interacts with a message in the conversation",
645-
"metadata": [
646-
{
647-
"type": "cwsprChatConversationId"
648-
},
649-
{
650-
"type": "cwsprChatMessageId"
651-
},
652-
{
653-
"type": "cwsprChatUserIntent",
654-
"required": false
655-
},
656-
{
657-
"type": "cwsprChatInteractionType"
658-
},
659-
{
660-
"type": "cwsprChatInteractionTarget",
661-
"required": false
662-
},
663-
{
664-
"type": "cwsprChatCodeBlockIndex",
665-
"required": false
666-
},
667-
{
668-
"type": "cwsprChatTotalCodeBlocks",
669-
"required": false
670-
},
671-
{
672-
"type": "cwsprChatAcceptedCharactersLength",
673-
"required": false
674-
},
675-
{
676-
"type": "cwsprChatAcceptedNumberOfLines",
677-
"required": false
678-
},
679-
{
680-
"type": "cwsprChatHasReference",
681-
"required": false
682-
},
683-
{
684-
"type": "credentialStartUrl",
685-
"required": false
686-
},
687-
{
688-
"type": "cwsprChatHasProjectContext",
689-
"required": false
690-
}
691-
]
692-
},
693642
{
694643
"name": "amazonq_modifyCode",
695644
"description": "Percentage of code modified by the user after copying/inserting code from a message",

0 commit comments

Comments
 (0)