Repository navigation
Add stale marker and test for rule backfilling - #8976
Closed
JessicaGreben wants to merge 7 commits into
Closed
JessicaGreben wants to merge 7 commits into
JessicaGreben wants to merge 7 commits into
Conversation
Signed-off-by: jessicagreben <[email protected]>
JessicaGreben
force-pushed
the
jg/rule-backfill-add-stalemarker
branch
from
June 21, 2021 16:24
f2fbfc8 to
0ba0e9c
Compare
Signed-off-by: jessicagreben <[email protected]>
Signed-off-by: jessicagreben <[email protected]>
JessicaGreben
marked this pull request as ready for review
July 16, 2021 16:31
Contributor
Author
|
Status update: I'm currently investigating unexpected behavior in the unit tests. Once I fix the tests, this should be close to done. |
yeya24
reviewed
Oct 3, 2021
JessicaGreben
force-pushed
the
jg/rule-backfill-add-stalemarker
branch
from
November 28, 2021 00:58
50b2d57 to
b0d796d
Compare
Signed-off-by: jessicagreben <[email protected]>
Contributor
Author
|
Closing for now, will re-open once I fix the tests. |
1 of 3 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds stale markers to the Recording Rule Backfilling feature (#11, #8667).
Background:
When a recording rule is being evaluated by the backfill process, stale markers should be inserted when: 1) there is a gap in data greater than the eval interval or 2) the last sample occurs before the "end". However, the QueryAPI used by the backfill process does not return stale markers so instead we need to detect them and insert them during the backfill process.
This PR makes the following changes to add stale markers: