Skip to content

Decouple Ruler from ConfigDB & add separate ruler API and storage backend#1532

Closed
jtlisi wants to merge 2 commits intocortexproject:masterfrom
grafana:20190725_decouple_ruler
Closed

Decouple Ruler from ConfigDB & add separate ruler API and storage backend#1532
jtlisi wants to merge 2 commits intocortexproject:masterfrom
grafana:20190725_decouple_ruler

Conversation

@jtlisi
Copy link
Contributor

@jtlisi jtlisi commented Jul 25, 2019

This PR accomplishes the following

  • Add a separate API for the Ruler and Alertmanager based on this design document
  • Add a GCS backend for the ruler API
  • Update the polling mechanism to use a KV store backed change detection system for the decouple APIs or use a generation based configdb client
  • Update the scheduler to use a user-based context to allow for cancellations after updates or deletions
  • Pass a prometheus register with the users ID to the prometheus rule group to get user level prom eval metrics

Any feedback or suggestions are greatly appreciated

jtlisi added 2 commits July 25, 2019 12:34
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
@jtlisi jtlisi changed the title 20190725 decouple ruler Decouple Ruler from ConfigDB & add separate ruler API and storage backend Jul 25, 2019
@jtlisi jtlisi closed this Jul 25, 2019
@jtlisi jtlisi deleted the 20190725_decouple_ruler branch July 25, 2019 20:59
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