From 2d3538be4f2b1475396181e190ad3f4a7afb5bdb Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 28 Mar 2024 11:52:19 +0100 Subject: [PATCH] Maybe this then? --- nixos/server/package-configs/dashboard/telegraf/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/server/package-configs/dashboard/telegraf/default.nix b/nixos/server/package-configs/dashboard/telegraf/default.nix index ecef2f6..8704bbc 100644 --- a/nixos/server/package-configs/dashboard/telegraf/default.nix +++ b/nixos/server/package-configs/dashboard/telegraf/default.nix @@ -46,7 +46,9 @@ websocket = { url = "ws://localhost:${toString config.services.prometheus.port}/api/live/push/custom_stream_id"; data_format = "influx"; - headers = "Bearer glsa_lqpcKV34Pp0d7eIhKN79E2HTwzWWwN4m_fe64e398"; + headers = { + Authorisation = "Bearer glsa_lqpcKV34Pp0d7eIhKN79E2HTwzWWwN4m_fe64e398"; + }; }; }; };