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
* Allowing ruler replication to be configurable
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Allow rules to be loaded to rulers as backup for List rules API HA
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Add integration test for rulers API with backup enabled
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Mark the entire feature as experimental and improve variable names
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Rename backUpRuleGroups to setRuleGroups to make it code less confusing
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Remove backup manager lock because its not needed
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Improve code quality
- Remove duplicate code and use better data structures
- Make backup rule_group label match the prometheus rule_group label
- Skip initialization when feature is not enabled
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Store rulepb.RuleGroupList in rules backup instead of promRules.Group
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Add GetReplicationSetForOperationWithNoQuorum ring method and use it in getShardedRules
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Refactor getLocalRules to make the method shorter
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Add new ring method to get all instances and created a new method
in ruler to get Replicaset without requiring quorum
Signed-off-by: Emmanuel Lodovice <[email protected]>
* Fix flaky test due to sorting issue
Signed-off-by: Emmanuel Lodovice <[email protected]>
---------
Signed-off-by: Emmanuel Lodovice <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
*[FEATURE] Ruler: Add `ruler.concurrent-evals-enabled` flag to enable concurrent evaluation within a single rule group for independent rules. Maximum concurrency can be configured via `ruler.max-concurrent-evals`. #5766
21
21
*[FEATURE] Distributor Queryable: Experimental: Add config `zone_results_quorum_metadata`. When querying ingesters using metadata APIs such as label names and values, only results from quorum number of zones will be included and merged. #5779
22
22
*[FEATURE] Storage Cache Clients: Add config `set_async_circuit_breaker_config` to utilize the circuit breaker pattern for dynamically thresholding asynchronous set operations. Implemented in both memcached and redis cache clients. #5789
23
+
*[FEATURE] Ruler: Add experimental `experimental.ruler.api-deduplicate-rules` flag to remove duplicate rule groups from the Prometheus compatible rules API endpoint. Add experimental `ruler.ring.replication-factor` and `ruler.ring.zone-awareness-enabled` flags to configure rule group replication, but only the first ruler in the replicaset evaluates the rule group, the rest will just hold a copy as backup. Add experimental `experimental.ruler.api-enable-rules-backup` flag to configure rulers to send the rule group backups stored in the replicaset to handle events when a ruler is down during an API request to list rules. #5782
23
24
*[ENHANCEMENT] Store Gateway: Added `-store-gateway.enabled-tenants` and `-store-gateway.disabled-tenants` to explicitly enable or disable store-gateway for specific tenants. #5638
24
25
*[ENHANCEMENT] Compactor: Add new compactor metric `cortex_compactor_start_duration_seconds`. #5683
25
26
*[ENHANCEMENT] Upgraded Docker base images to `alpine:3.18`. #5684
0 commit comments