BackUpRuleGroups is used to store backups of rule groups owned by a different ruler instance.
(ctx context.Context, ruleGroups map[string]rulespb.RuleGroupList)
| 287 | SyncRuleGroups(ctx context.Context, ruleGroups map[string]rulespb.RuleGroupList) |
| 288 | // BackUpRuleGroups is used to store backups of rule groups owned by a different ruler instance. |
| 289 | BackUpRuleGroups(ctx context.Context, ruleGroups map[string]rulespb.RuleGroupList) |
| 290 | // GetRules fetches rules for a particular tenant (userID). |
| 291 | GetRules(userID string) []*promRules.Group |
| 292 | // GetBackupRules fetches rules for a particular tenant (userID) that the ruler stores for backup purposes |
no outgoing calls
no test coverage detected