You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't propagate cancel signal to the Prometheus rules manager context (#6326)
* Don't propagate cancel signal to the Prometheus rules manager context
This change allows the rules that are still executing queries to complete
before cortex if sully shutdown.
Signed-off-by: Raphael Silva <[email protected]>
* Make ruler unit tests to run faster
Signed-off-by: Raphael Silva <[email protected]>
* Avoid tests to fail due to race condition
Use atomic counter to keep track of the successful queries
Signed-off-by: Raphael Silva <[email protected]>
---------
Signed-off-by: Raphael Silva <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@
35
35
*[ENHANCEMENT] Querier/Ruler: Expose `store_gateway_consistency_check_max_attempts` for max retries when querying store gateway in consistency check. #6276
36
36
*[ENHANCEMENT] StoreGateway: Add new `cortex_bucket_store_chunk_pool_inuse_bytes` metric to track the usage in chunk pool. #6310
37
37
*[BUGFIX] Runtime-config: Handle absolute file paths when working directory is not / #6224
38
+
*[BUGFIX] Ruler: Allow rule evaluation to complete during shutdown. #6326
d.On("MetricsForLabelMatchers", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Panic("This should not be called for the ruler use-cases.")
0 commit comments