Docs · Inspect and improve workflows
tempergraph store
Size, retention and export of the local store.
Usage#
tempergraph store [-h] {usage,prune,export} ...store usage#
the store's size per thread and kind, and the threads past the retention rule
tempergraph store usage [-h] [--json]| Option | What it does |
|---|---|
--json | print the usage as JSON |
store prune#
apply the retention rule: remove session logs and records of finished threads past their age
tempergraph store prune [-h] [--older-than DAYS] [--keep-failed | --no-keep-failed] [--schedules] [--dry-run] [--json]| Option | What it does |
|---|---|
--older-than DAYS | the age in days after which a finished thread's session logs go (default 30)default 30.0 |
--keep-failed, --no-keep-failed | keep the logs of stopped or failed threads (the default); --no-keep-failed prunes them |
--schedules | also drop scheduled-run ledger rows older than --older-than days; kept without it |
--dry-run | print what would be removed; remove nothing |
--json | print what was removed as JSON |
store export#
pack one run's folder into a .tar.gz, its text files scrubbed of secrets
tempergraph store export [-h] selector path| Argument | What it is |
|---|---|
<selector> | the thread: <workflow>/<task id>, or its alias |
<path> | the .tar.gz file to write, outside the state root |
Edit this page on GitHub · engine 0.9.0