Docs · Inspect and improve workflows

tempergraph store

Size, retention and export of the local store.

Usage#

usage
tempergraph store [-h] {usage,prune,export} ...

store usage#

the store's size per thread and kind, and the threads past the retention rule

usage
tempergraph store usage [-h] [--json]
OptionWhat it does
--jsonprint the usage as JSON

store prune#

apply the retention rule: remove session logs and records of finished threads past their age

usage
tempergraph store prune [-h] [--older-than DAYS] [--keep-failed | --no-keep-failed] [--schedules] [--dry-run] [--json]
OptionWhat it does
--older-than DAYSthe age in days after which a finished thread's session logs go (default 30)default 30.0
--keep-failed, --no-keep-failedkeep the logs of stopped or failed threads (the default); --no-keep-failed prunes them
--schedulesalso drop scheduled-run ledger rows older than --older-than days; kept without it
--dry-runprint what would be removed; remove nothing
--jsonprint what was removed as JSON

store export#

pack one run's folder into a .tar.gz, its text files scrubbed of secrets

usage
tempergraph store export [-h] selector path
ArgumentWhat 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