(span: Tracer.Span, clock: Clock)
| 33 | * @internal |
| 34 | */ |
| 35 | export const recordConnectionWait = (span: Tracer.Span, clock: Clock): void => |
| 36 | span.attribute( |
| 37 | "db.client.connection.wait_time_ms", |
| 38 | Number(clock.currentTimeNanosUnsafe() - span.status.startTime) / 1e6 |
| 39 | ) |
no test coverage detected