diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-07 01:28:32 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-07 01:28:32 +0100 |
commit | aedcbd38a76238aafa43224cbd6ded1e75e1c709 (patch) | |
tree | 8874d1ee4cf53a7865e3d97da55cf1174a77613c /hosts/vidhar/default.nix | |
parent | 9d87de840d1adf27cab8324f330a6e8f52523e23 (diff) | |
download | nixos-aedcbd38a76238aafa43224cbd6ded1e75e1c709.tar nixos-aedcbd38a76238aafa43224cbd6ded1e75e1c709.tar.gz nixos-aedcbd38a76238aafa43224cbd6ded1e75e1c709.tar.bz2 nixos-aedcbd38a76238aafa43224cbd6ded1e75e1c709.tar.xz nixos-aedcbd38a76238aafa43224cbd6ded1e75e1c709.zip |
...
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r-- | hosts/vidhar/default.nix | 2 |
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"; |