mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-01 08:59:39 +02:00
docs: align ingest trace guidance with public CLI
This commit is contained in:
parent
fdd66ebf59
commit
cfcb91d444
1 changed files with 9 additions and 6 deletions
|
|
@ -113,11 +113,15 @@ results.
|
||||||
|
|
||||||
## Inspect source ingest traces
|
## Inspect source ingest traces
|
||||||
|
|
||||||
Source ingest writes persistent JSONL traces for postmortem debugging. Stored
|
Source ingest writes persistent JSONL traces for postmortem debugging. Plain
|
||||||
ingest status prints the trace path near the run identifiers:
|
ingest output prints the trace path near the report, run, and job identifiers
|
||||||
|
when a trace is available:
|
||||||
|
|
||||||
```bash
|
```text
|
||||||
ktx ingest status <runId>
|
Report: report-abc123
|
||||||
|
Run: run-abc123
|
||||||
|
Job: job-abc123
|
||||||
|
Trace: .ktx/ingest-traces/job-abc123/trace.jsonl
|
||||||
```
|
```
|
||||||
|
|
||||||
The trace file lives under the project directory at
|
The trace file lives under the project directory at
|
||||||
|
|
@ -125,8 +129,7 @@ The trace file lives under the project directory at
|
||||||
job id, run id, sync id, connection id, source key, phase, event name, timing,
|
job id, run id, sync id, connection id, source key, phase, event name, timing,
|
||||||
state snapshot, decision context, and error details. Failed runs also write a
|
state snapshot, decision context, and error details. Failed runs also write a
|
||||||
stored ingest report with `status: "failed"`, `failure.phase`,
|
stored ingest report with `status: "failed"`, `failure.phase`,
|
||||||
`failure.message`, and the same trace path, so `ktx ingest status <runId>` can
|
`failure.message`, and the same trace path.
|
||||||
point you to the postmortem trace.
|
|
||||||
|
|
||||||
Use `jq` or line-oriented tools to inspect a trace:
|
Use `jq` or line-oriented tools to inspect a trace:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue