| 745 | } |
| 746 | |
| 747 | interface SpanDef { |
| 748 | spanId: string |
| 749 | traceId: string |
| 750 | operationName: string |
| 751 | startTimeMs?: number |
| 752 | responseModel?: string |
| 753 | attrs: Record<string, string | number> |
| 754 | } |
| 755 | |
| 756 | function insertSpan(dbPath: string, span: SpanDef): void { |
| 757 | const { DatabaseSync } = requireForTest('node:sqlite') as { DatabaseSync: new (path: string) => TestDb } |
nothing calls this directly
no outgoing calls
no test coverage detected