(entry: TelemetryEntry)
| 29 | } |
| 30 | |
| 31 | function isRootSpan(entry: TelemetryEntry): boolean { |
| 32 | const parent = entry.parentSpanId ?? ""; |
| 33 | return parent === "" || parent === "0000000000000000"; |
| 34 | } |
| 35 | |
| 36 | async function readTelemetryEntries(path: string): Promise<TelemetryEntry[]> { |
| 37 | const content = await readFile(path, "utf8"); |
no outgoing calls
no test coverage detected
searching dependent graphs…