Skip to content

Commit dc62069

Browse files
authored
Add missing keepFiringFor field (#1092)
* Add missing keepFiringFor field * Update value to int64 * Add comment
1 parent 6ffd336 commit dc62069

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.cog/resources/alerting/schema.transforms.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,17 @@ passes:
143143
scalar:
144144
scalar_kind: string
145145

146+
- add_fields:
147+
to: alerting.Rule
148+
fields:
149+
- name: keepFiringFor
150+
comments:
151+
- 'You can set a Keep firing for period to avoid repeated firing-resolving-firing notifications caused by flapping conditions.'
152+
- 'Value is in nanoseconds'
153+
type:
154+
kind: scalar
155+
scalar: { scalar_kind: int64 }
156+
146157
- retype_field:
147158
field: alerting.Query.model
148159
as:

0 commit comments

Comments
 (0)