@@ -59,6 +59,9 @@ def create(
5959 - 'last': override with latest value.
6060 - 'min': only override if the value is lower than the existing value.
6161 - 'max': only override if the value is higher than the existing value.
62+ - 'sum': If a previous sample exists, add the new sample to it so that \
63+ the updated value is equal to (previous + new). If no previous sample \
64+ exists, set the updated value equal to the new value.
6265
6366 For more information: https://redis.io/commands/ts.create/
6467 """ # noqa
@@ -103,6 +106,9 @@ def alter(
103106 - 'last': override with latest value.
104107 - 'min': only override if the value is lower than the existing value.
105108 - 'max': only override if the value is higher than the existing value.
109+ - 'sum': If a previous sample exists, add the new sample to it so that \
110+ the updated value is equal to (previous + new). If no previous sample \
111+ exists, set the updated value equal to the new value.
106112
107113 For more information: https://redis.io/commands/ts.alter/
108114 """ # noqa
@@ -154,6 +160,9 @@ def add(
154160 - 'last': override with latest value.
155161 - 'min': only override if the value is lower than the existing value.
156162 - 'max': only override if the value is higher than the existing value.
163+ - 'sum': If a previous sample exists, add the new sample to it so that \
164+ the updated value is equal to (previous + new). If no previous sample \
165+ exists, set the updated value equal to the new value.
157166
158167 For more information: https://redis.io/commands/ts.add/
159168 """ # noqa
0 commit comments