Skip to content

Update Ruler to use upstream Prom Rule Manager#1655

Closed
jtlisi wants to merge 5 commits intocortexproject:masterfrom
jtlisi:20190806_prommanager_ruler
Closed

Update Ruler to use upstream Prom Rule Manager#1655
jtlisi wants to merge 5 commits intocortexproject:masterfrom
jtlisi:20190806_prommanager_ruler

Conversation

@jtlisi
Copy link
Contributor

@jtlisi jtlisi commented Sep 6, 2019

This PR is a refactor of #1532 to utilize the Prometheus Rule Manager to schedule and evaluate rule groups.

Overview

  • Utilize the upstream prometheus manager to scheduler and evaluate rules
  • Sync and map rules from an external service (configdb) to a temporary file which is synced with the users prometheus rules manager
  • Utilize afero to map rule files to allow for mocked tests using in memory filesystems and potentially using an in-memory file system in production if upstream changes can be made
  • Utilize a protobuf interchange format for rules to allow for the effectively have a versionable format for storing and communicating rules

Affects:
#477
#493

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
@jtlisi jtlisi closed this Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant