Skip to content

Commit e9d9164

Browse files
authored
send customizationArn in metric clientComponentLatency, perceivedLatency (#4497)
1 parent 8938475 commit e9d9164

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ mockito = "5.11.0"
2222
mockitoKotlin = "5.2.1"
2323
mockk = "1.13.10"
2424
node-gradle = "7.0.2"
25-
telemetryGenerator = "1.0.209"
25+
telemetryGenerator = "1.0.212"
2626
testLogger = "4.0.0"
2727
testRetry = "1.5.2"
2828
# test-only; platform provides slf4j transitively at runtime. <233, 1.7.36; >=233, 2.0.9

plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/telemetry/CodeWhispererTelemetryService.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,8 @@ class CodeWhispererTelemetryService {
485485
duration = latency,
486486
passive = true,
487487
credentialStartUrl = startUrl,
488-
codewhispererUserGroup = CodeWhispererUserGroupSettings.getInstance().getUserGroup().name
488+
codewhispererUserGroup = CodeWhispererUserGroupSettings.getInstance().getUserGroup().name,
489+
codewhispererCustomizationArn = requestContext.customizationArn,
489490
)
490491
}
491492

@@ -508,7 +509,8 @@ class CodeWhispererTelemetryService {
508509
codewhispererCompletionType = CodewhispererCompletionType.Line,
509510
codewhispererLanguage = codewhispererLanguage,
510511
credentialStartUrl = startUrl,
511-
codewhispererUserGroup = CodeWhispererUserGroupSettings.getInstance().getUserGroup().name
512+
codewhispererUserGroup = CodeWhispererUserGroupSettings.getInstance().getUserGroup().name,
513+
codewhispererCustomizationArn = requestContext.customizationArn,
512514
)
513515
}
514516

0 commit comments

Comments
 (0)