summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/prometheus/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/hosts/surtr/prometheus/default.nix b/hosts/surtr/prometheus/default.nix
index 3fdfc2aa..4f6ea44d 100644
--- a/hosts/surtr/prometheus/default.nix
+++ b/hosts/surtr/prometheus/default.nix
@@ -24,8 +24,10 @@ in {
24 24
25 globalConfig = { 25 globalConfig = {
26 evaluation_interval = "1s"; 26 evaluation_interval = "1s";
27 };
27 28
28 remote_write = { 29 remoteWrite = [
30 {
29 url = "https://prometheus.vidhar.yggdrasil/api/v1/write"; 31 url = "https://prometheus.vidhar.yggdrasil/api/v1/write";
30 name = "vidhar"; 32 name = "vidhar";
31 tls_config = { 33 tls_config = {
@@ -33,8 +35,8 @@ in {
33 cert_file = ./tls.crt; 35 cert_file = ./tls.crt;
34 key_file = "/run/credentials/prometheus.service/tls.key"; 36 key_file = "/run/credentials/prometheus.service/tls.key";
35 }; 37 };
36 }; 38 }
37 }; 39 ];
38 40
39 scrapeConfigs = [ 41 scrapeConfigs = [
40 { job_name = "prometheus"; 42 { job_name = "prometheus";