loki: add ruler configuration
This commit is contained in:
parent
8cd7a8eb2a
commit
7a90a985d5
|
@ -78,6 +78,17 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ruler = {
|
||||||
|
external_url = "https://grafana.tigor.web.id";
|
||||||
|
storage = {
|
||||||
|
type = "local";
|
||||||
|
local = {
|
||||||
|
directory = "${dataDir}/rules";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
rule_path = "/tmp/loki/rules"; # Temporary rule_path
|
||||||
|
};
|
||||||
|
|
||||||
compactor = {
|
compactor = {
|
||||||
working_directory = "${dataDir}/retention";
|
working_directory = "${dataDir}/retention";
|
||||||
retention_enabled = true;
|
retention_enabled = true;
|
||||||
|
|
Loading…
Reference in a new issue