Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/observability / / JSONLExporterOptions
Interface: JSONLExporterOptions
Defined in: packages/observability/src/exporters/jsonl.ts:31
Configuration shape for createJSONLExporter.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
id? | readonly | string | Identifier reported via exporter.id. Defaults to 'jsonl'. | packages/observability/src/exporters/jsonl.ts:33 |
now? | readonly | DateProvider | Internal Override the date used when picking the rotation directory. Defaults to () => new Date(). | packages/observability/src/exporters/jsonl.ts:49 |
path | readonly | string | Root directory for the trace files. Created if missing. | packages/observability/src/exporters/jsonl.ts:35 |
resolveFilePath? | readonly | (record, root) => string | Resolver that picks the file path for a given span record. Defaults to <rootPath>/<YYYY-MM>/<sessionId>.jsonl keyed off the graphorin.session.id attribute (or unsessioned.jsonl when absent). | packages/observability/src/exporters/jsonl.ts:42 |