Skip to content

Commit 5211459

Browse files
authored
Merge branch 'aws:master' into code-review-tool
2 parents 683e49f + 2fb0926 commit 5211459

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/lambda/remoteDebugging/ldkController.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,8 @@ export class RemoteDebugController {
729729
)
730730
return
731731
}
732-
span.record({ duration: this.lastDebugStartTime === 0 ? 0 : Date.now() - this.lastDebugStartTime })
732+
// use sessionDuration to record debug duration
733+
span.record({ sessionDuration: this.lastDebugStartTime === 0 ? 0 : Date.now() - this.lastDebugStartTime })
733734
try {
734735
await vscode.window.withProgress(
735736
{

0 commit comments

Comments
 (0)