diff --git a/content/commands/bitop.md b/content/commands/bitop.md index 93e437ea2..b995aa04b 100644 --- a/content/commands/bitop.md +++ b/content/commands/bitop.md @@ -79,7 +79,7 @@ linkTitle: BITOP railroad_diagram: /images/railroad/bitop.svg since: 2.6.0 summary: Performs bitwise operations on multiple strings, and stores the result. -syntax_fmt: BITOP destkey key [key ...] +syntax_fmt: BITOP destkey key [key ...] syntax_str: destkey key [key ...] title: BITOP --- diff --git a/content/commands/ts.alter.md b/content/commands/ts.alter.md index 2387ed0a8..fed133174 100644 --- a/content/commands/ts.alter.md +++ b/content/commands/ts.alter.md @@ -37,15 +37,7 @@ arguments: optional: true token: DUPLICATE_POLICY type: oneof -- arguments: - - name: ignoreMaxTimediff - type: integer - - name: ignoreMaxValDiff - type: double - name: ignore - optional: true - token: IGNORE - type: block + - arguments: - name: label type: string @@ -79,14 +71,11 @@ stack_path: docs/data-types/timeseries summary: Update the retention, chunk size, duplicate policy, and labels of an existing time series syntax: "TS.ALTER key \n [RETENTION retentionPeriod] \n [CHUNK_SIZE size] \n [DUPLICATE_POLICY\ - \ policy] \n [IGNORE ignoreMaxTimediff ignoreMaxValDiff] \n [LABELS [label value\ - \ ...]]\n" + \ policy] \n [LABELS [label value ...]]\n" syntax_fmt: "TS.ALTER key [RETENTION\_retentionPeriod] [CHUNK_SIZE\_size]\n [DUPLICATE_POLICY\_\ - ]\n [IGNORE\_ignoreMaxTimediff ignoreMaxValDiff]\ - \ [LABELS\_label value\n [label value ...]]" + ] [LABELS\_label value\n [label value ...]]" syntax_str: "[RETENTION\_retentionPeriod] [CHUNK_SIZE\_size] [DUPLICATE_POLICY\_] [IGNORE\_ignoreMaxTimediff ignoreMaxValDiff]\ - \ [LABELS\_label value [label value ...]]" + \ | FIRST | LAST | MIN | MAX | SUM>] [LABELS\_label value [label value ...]]" title: TS.ALTER --- @@ -120,10 +109,6 @@ is the initial allocation size, in bytes, for the data part of each new chunk. A is policy for handling multiple samples with identical timestamps. See `DUPLICATE_POLICY` in [`TS.CREATE`]({{< relref "commands/ts.create/" >}}). -
IGNORE ignoreMaxTimediff ignoreMaxValDiff - -is the policy for handling duplicate samples. See `IGNORE` in [`TS.CREATE`]({{< relref "commands/ts.create/" >}}). -
LABELS [{label value}...] diff --git a/static/images/railroad/bitop.svg b/static/images/railroad/bitop.svg index 980da3ed4..6fe950e46 100644 --- a/static/images/railroad/bitop.svg +++ b/static/images/railroad/bitop.svg @@ -1,4 +1,4 @@ - + - + BITOP - -AND -OR -XOR -NOT -destkey - -key - \ No newline at end of file + +AND +OR +XOR +NOT +DIFF +DIFF1 +ANDOR +ONE +destkey + +key + \ No newline at end of file diff --git a/static/images/railroad/ts.alter.svg b/static/images/railroad/ts.alter.svg index 0d8b2ead7..6c790d259 100644 --- a/static/images/railroad/ts.alter.svg +++ b/static/images/railroad/ts.alter.svg @@ -1,4 +1,4 @@ - + - + TS.ALTER key @@ -68,15 +68,9 @@ circle { fill: #DC382D !important; stroke: #DC382D !important; } MIN MAX SUM - - - -IGNORE -ignoreMaxTimediff -ignoreMaxValDiff - - - -LABELS -label -value \ No newline at end of file + + + +LABELS +label +value \ No newline at end of file diff --git a/static/images/railroad/xadd.svg b/static/images/railroad/xadd.svg index f00f0dec3..23d948318 100644 --- a/static/images/railroad/xadd.svg +++ b/static/images/railroad/xadd.svg @@ -1,4 +1,4 @@ - + - + XADD key NOMKSTREAM - - - - -MAXLEN -MINID - - - -= -~ -threshold - - - -LIMIT -count - -* -id - - -field -value - \ No newline at end of file + + + +KEEPREF +DELREF +ACKED + + + + +MAXLEN +MINID + + + += +~ +threshold + + + +LIMIT +count + +* +id + + +field +value + \ No newline at end of file diff --git a/static/images/railroad/xtrim.svg b/static/images/railroad/xtrim.svg index 8ba7f3b47..24ee404d1 100644 --- a/static/images/railroad/xtrim.svg +++ b/static/images/railroad/xtrim.svg @@ -1,4 +1,4 @@ - + - + XTRIM key - + MAXLEN MINID @@ -61,4 +61,10 @@ circle { fill: #DC382D !important; stroke: #DC382D !important; } LIMIT -count \ No newline at end of file +count + + + +KEEPREF +DELREF +ACKED \ No newline at end of file