forked from prometheus/prometheus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Allow configuration of a rule evaluation delay (prometheus#1…
…4061) * [PATCH] Allow having evaluation delay for rule groups Signed-off-by: Ganesh Vernekar <[email protected]> * [PATCH] Fix lint Signed-off-by: Ganesh Vernekar <[email protected]> * [PATCH] Move the option to ManagerOptions Signed-off-by: Ganesh Vernekar <[email protected]> * [PATCH] Include evaluation_delay in the group config Signed-off-by: Ganesh Vernekar <[email protected]> * Fix comments Signed-off-by: gotjosh <[email protected]> * Add a server configuration option. Signed-off-by: gotjosh <[email protected]> * Appease the linter prometheus#1 Signed-off-by: gotjosh <[email protected]> * Add the new server flag documentation Signed-off-by: gotjosh <[email protected]> * Improve documentation of the new flag and configuration Signed-off-by: gotjosh <[email protected]> * Use named parameters for clarity on the `Rule` interface Signed-off-by: gotjosh <[email protected]> * Add `initial` to the flag help Signed-off-by: gotjosh <[email protected]> * Change the CHANGELOG area from `ruler` to `rules` Signed-off-by: gotjosh <[email protected]> * Rename evaluation_delay to `rule_query_offset`/`query_offset` and make it a global configuration option. Signed-off-by: gotjosh <[email protected]> E Your branch is up to date with 'origin/gotjosh/evaluation-delay'. * more docs Signed-off-by: gotjosh <[email protected]> * Improve wording on CHANGELOG Signed-off-by: gotjosh <[email protected]> * Add `RuleQueryOffset` to the default config in tests in case it changes Signed-off-by: gotjosh <[email protected]> * Update docs/configuration/recording_rules.md Co-authored-by: Julius Volz <[email protected]> Signed-off-by: gotjosh <[email protected]> * Rename `RuleQueryOffset` to `QueryOffset` when in the group context. Signed-off-by: gotjosh <[email protected]> * Improve docstring and documentation on the `rule_query_offset` Signed-off-by: gotjosh <[email protected]> --------- Signed-off-by: Ganesh Vernekar <[email protected]> Signed-off-by: gotjosh <[email protected]> Co-authored-by: Ganesh Vernekar <[email protected]> Co-authored-by: Julius Volz <[email protected]>
- Loading branch information
1 parent
6683895
commit 37b408c
Showing
15 changed files
with
458 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.