File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
packages/core/src/codewhisperer Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,9 @@ export class DefaultCodeWhispererClient {
258258 if ( ! AuthUtil . instance . isValidEnterpriseSsoInUse ( ) && ! globals . telemetry . telemetryEnabled ) {
259259 return
260260 }
261+ console . log ( 'about to make API call' )
261262 const response = await ( await this . createUserSdkClient ( ) ) . sendTelemetryEvent ( requestWithCommonFields ) . promise ( )
263+ console . log ( 'API call response =' , response )
262264 getLogger ( ) . debug ( `codewhisperer: sendTelemetryEvent requestID: ${ response . $response . requestId } ` )
263265 }
264266
Original file line number Diff line number Diff line change 29612961 "min" : 0
29622962 }
29632963 }
2964- }
2964+ }
Original file line number Diff line number Diff line change @@ -408,6 +408,11 @@ export class ProposedTransformationExplorer {
408408 const metricsPath = path . join ( pathContainingArchive , ExportResultArchiveStructure . PathToMetrics )
409409 const metricsData = JSON . parse ( fs . readFileSync ( metricsPath , 'utf8' ) )
410410
411+ console . log ( 'metricsData.linesOfCodeChanged =' , metricsData . linesOfCodeChanged )
412+ console . log ( 'metricsData.charactersOfCodeChanged =' , metricsData . charactersOfCodeChanged )
413+ console . log ( 'linesOfCodeSubmitted =' , transformByQState . getLinesOfCodeSubmitted ( ) )
414+ console . log ( 'transformByQState.getTransformationType() =' , transformByQState . getTransformationType ( ) )
415+
411416 await codeWhisperer . codeWhispererClient . sendTelemetryEvent ( {
412417 telemetryEvent : {
413418 transformEvent : {
You can’t perform that action at this time.
0 commit comments