Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/observability / / pruneTraces
Function: pruneTraces()
ts
function pruneTraces(opts): Promise<readonly string[]>;Defined in: packages/observability/src/replay/log.ts:58
Remove every JSONL file that is older than the configured retention window. Returns the deleted files for caller-side accounting.
Parameters
| Parameter | Type |
|---|---|
opts | PruneTracesOptions |
Returns
Promise<readonly string[]>