new·Earn with mozg — 20% of every monthSend somebody here and take a fifth of every plan payment they make, for as long as they keep paying — not a bounty on the first invoice. Your handle is the link, the window is thirty days, and the commission lands on your balance the second they pay. Free to join: if you have signed in, you already have the link. mozg.sh/earnall news →
mozg.beta
Sign in

Temporal · Concepts · all subjects

retention and visibility

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Data retention definition

Retention determines how long closed workflow history data are stored before being automatically deleted in Temporal Cloud namespaces.

Get data retention period

The `temporal cloud namespace retention get` command retrieves the current data retention period for a namespace, defining how long closed workflow history data are stored. Required flag: `--namespace` or `-n`. Optional flags: `--api-key` and `--server`.

Set data retention period

The `temporal cloud namespace retention set` command sets the data retention period for a namespace. Required flags: `--namespace` or `-n`, `--retention-days` (int for days closed workflow history data are stored). Optional flags: `--api-key`, `--async`, `--async-operation-id`, `--idempotent`, `--poll-interval` (max 10 minutes), `--resource-version` or `-v`, `--server`.

Search attributes purpose

Search attributes enable filtering and searching workflows by custom fields in Temporal Cloud namespaces.

Create custom search attribute

The `temporal cloud namespace search-attribute create` command creates a new custom search attribute. Required flags: `--namespace` or `-n`, `--name`, `--type`. The `--type` parameter accepts the following valid values: Text, Keyword, Int, Double, Bool, Datetime, KeywordList. Optional flags: `--api-key`, `--async`, `--async-operation-id`, `--idempotent`, `--poll-interval` (max 10 minutes), `--resource-version` or `-v`, `--server`.

List custom search attributes

The `temporal cloud namespace search-attribute list` command lists all custom search attributes configured for a namespace. Required flag: `--namespace` or `-n`. Optional flags: `--api-key` and `--server`.

Rename custom search attribute

The `temporal cloud namespace search-attribute rename` command renames an existing custom search attribute, preserving all existing data. Required flags: `--namespace` or `-n`, `--existing-name`, `--new-name`. Optional flags: `--api-key`, `--async`, `--async-operation-id`, `--idempotent`, `--poll-interval` (max 10 minutes), `--resource-version` or `-v`, `--server`.

Give your agent this brain