summaryrefslogtreecommitdiff
path: root/hosts/vidhar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r--hosts/vidhar/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 2b0916d7..92e15d17 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -179,10 +179,12 @@
179 }; 179 };
180 }; 180 };
181 ruler = { 181 ruler = {
182 enable_api = true;
182 storage = { 183 storage = {
183 type = "local"; 184 type = "local";
184 local.directory = "/etc/loki/rules"; 185 local.directory = "/etc/loki/rules";
185 }; 186 };
187 rule_path = "${config.services.loki.dataDir}/rules_scratch";
186 remote_write = { 188 remote_write = {
187 enabled = true; 189 enabled = true;
188 client.url = "http://localhost:9090/api/v1/write"; 190 client.url = "http://localhost:9090/api/v1/write";