diff --git a/server/aws-lsp-codewhisperer/src/shared/telemetry/telemetryService.ts b/server/aws-lsp-codewhisperer/src/shared/telemetry/telemetryService.ts index bb454db81b..643bad392a 100644 --- a/server/aws-lsp-codewhisperer/src/shared/telemetry/telemetryService.ts +++ b/server/aws-lsp-codewhisperer/src/shared/telemetry/telemetryService.ts @@ -26,6 +26,7 @@ import { UserModificationEvent, CompletionType, InlineChatUserDecision, + AgenticChatEventStatus, } from '@amzn/codewhisperer-runtime' import { getCompletionType, getSsoConnectionType, isServiceException } from '../utils' import { @@ -182,7 +183,7 @@ export class TelemetryService { request.modelId = this.modelId } const r = await this.getService().sendTelemetryEvent(request) - this.logging.log(`SendTelemetryEvent succeeded, requestId: ${r.$response.requestId}`) + this.logging.log(`SendTelemetryEvent succeeded, requestId: ${r.$metadata.requestId}`) } catch (error) { this.logSendTelemetryEventFailure(error) }