-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Alerting: Add keepFiringFor and missing_series_evals_to_resolve to file provisioning #109699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alerting: Add keepFiringFor and missing_series_evals_to_resolve to file provisioning #109699
Conversation
| ExecErrState *ExecutionErrorState `json:"execErrState,omitempty" yaml:"execErrState,omitempty" hcl:"exec_err_state"` | ||
| For model.Duration `json:"for,omitempty" yaml:"for,omitempty"` | ||
| KeepFiringFor model.Duration `json:"keepFiringFor,omitempty" yaml:"keepFiringFor,omitempty" hcl:"keep_firing_for"` | ||
| KeepFiringFor model.Duration `json:"keepFiringFor,omitempty" yaml:"keepFiringFor,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed hcl since it shouldn't be here and instead is set below in the special KeepFiringForString field.
| ExecErrState values.StringValue `json:"execErrState" yaml:"execErrState"` | ||
| For values.StringValue `json:"for" yaml:"for"` | ||
| KeepFiringFor values.StringValue `json:"keepFiringFor" yaml:"keepFiringFor"` | ||
| MissingSeriesEvalsToResolve values.Int64Value `json:"missing_series_evals_to_resolve" yaml:"missing_series_evals_to_resolve"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added MissingSeriesEvalsToResolve and KeepFiringFor
3dfba62 to
e4d94c2
Compare
e4d94c2 to
0195b32
Compare
…le provisioning (#109699)
…le provisioning (#109699)
…le provisioning (#109699)
What is this feature?
Added support for
keepFiringForandmissing_series_evals_to_resolvefields in alert rule file provisioning.Why do we need this feature?
These fields were being ignored in file provisioning despite being supported in the API.
Who is this feature for?
Users of file provisioning in Grafana Alerting.
Which issue(s) does this PR fix?:
Fixes #109367
Special notes for your reviewer:
Please check that: