Skip to content

Commit f4330f7

Browse files
committed
Use call start times in some trace logs
1 parent d7d1717 commit f4330f7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/grpc-js/src/load-balancing-call.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ export class LoadBalancingCall implements Call, DeadlineInfoProvider {
121121
status.code +
122122
' details="' +
123123
status.details +
124-
'"'
124+
'" start time=' +
125+
this.startTime.toISOString()
125126
);
126127
const finalStatus = { ...status, progress };
127128
this.listener?.onReceiveStatus(finalStatus);

packages/grpc-js/src/retrying-call.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ export class RetryingCall implements Call, DeadlineInfoProvider {
261261
statusObject.code +
262262
' details="' +
263263
statusObject.details +
264-
'"'
264+
'" start time=' +
265+
this.startTime.toISOString()
265266
);
266267
this.bufferTracker.freeAll(this.callNumber);
267268
this.writeBufferOffset = this.writeBufferOffset + this.writeBuffer.length;

0 commit comments

Comments
 (0)