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

Not able to load or prepare loki recording rule with Cortex 0.10.7 #271

Open
frankbaumfalk opened this issue Mar 4, 2023 · 0 comments
Open

Comments

@frankbaumfalk
Copy link

When trying to prepare and load a loki recording rule with

 "cortextool rules load --backend=loki <file>"

I get the error :
"cortextool: error: 1:52: parse error: unexpected character: '|', try --help".
(This is usually the error when a pipe sign is used in the expression and flag "--backend=loki" is not passed.)
A "cortextool rules prepare --backend=loki " does not work either.

But running check and lint the file with "cortextool rules check/lint --backend=loki " gives no error.
What do I miss ?
Thx in advance.

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

No branches or pull requests

1 participant