Skip to content

How to save rule files in Azure storage for Ruler service #4248

Answered by pstibrany
geekyspartan asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, when using azure rule-store (or any other object store based rule store), you need to use Ruler API to upload rules. It's not enough to upload rule configuration to object store manually, as ruler does additional processing of the uploaded rule groups, before storing them to object store.

Ruler API is described here: https://cortexmetrics.io/docs/api/#ruler, and must explicitly be enabled using -experimental.ruler.enable-api command line option for now.

To simplify uploading rules, you can use cortextool command from https://github.com/grafana/cortex-tools repository.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@geekyspartan
Comment options

@pstibrany
Comment options

@geekyspartan
Comment options

@pstibrany
Comment options

@geekyspartan
Comment options

Answer selected by geekyspartan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants