Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable local rules backend & disallow configdb. #2661

Merged
merged 4 commits into from
Sep 23, 2020

Conversation

owen-d
Copy link
Member

@owen-d owen-d commented Sep 23, 2020

This pulls in some upstream changes from Cortex which allow us to load loki rules via the local filesystem rules backend type. In addition to disallowing the configdb option, all ruler backend types should be compatible with logql.

There's also a few compatibility changes due to upstream interface additions/etc.

Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov-commenter
Copy link

Codecov Report

Merging #2661 into master will decrease coverage by 0.11%.
The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2661      +/-   ##
==========================================
- Coverage   61.28%   61.16%   -0.12%     
==========================================
  Files         172      172              
  Lines       13360    13363       +3     
==========================================
- Hits         8188     8174      -14     
- Misses       4419     4440      +21     
+ Partials      753      749       -4     
Impacted Files Coverage Δ
pkg/loki/modules.go 3.73% <0.00%> (-0.05%) ⬇️
pkg/querier/ingester_querier.go 64.75% <100.00%> (ø)
pkg/promtail/positions/positions.go 46.80% <0.00%> (-11.71%) ⬇️
pkg/promtail/targets/file/filetarget.go 61.97% <0.00%> (-2.12%) ⬇️

@owen-d owen-d merged commit 21d3e69 into grafana:master Sep 23, 2020
@lzh-lab
Copy link
Contributor

lzh-lab commented May 21, 2021

Why disallowing the configdb option?

I have use this feature in my env and I think this a very good and useful feature.

Cortex ruler still support configdb in lastest edition.

@lzh-lab
Copy link
Contributor

lzh-lab commented May 21, 2021

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants