diff --git a/nixos/server/package-configs/dashboard/telegraf/default.nix b/nixos/server/package-configs/dashboard/telegraf/default.nix index 1da8ba7..705a10b 100644 --- a/nixos/server/package-configs/dashboard/telegraf/default.nix +++ b/nixos/server/package-configs/dashboard/telegraf/default.nix @@ -43,10 +43,10 @@ system = {}; }; outputs = { - http = { - url = "http://localhost:${toString config.services.prometheus.port}/api/live/push/custom_stream_id"; + websocket = { + url = "ws://localhost:${toString config.services.prometheus.port}/api/live/push/custom_stream_id"; data_format = "influx"; - outputs.http.headers = "Bearer glsa_lqpcKV34Pp0d7eIhKN79E2HTwzWWwN4m_fe64e398"; + outputs.websocket.headers = "Bearer glsa_lqpcKV34Pp0d7eIhKN79E2HTwzWWwN4m_fe64e398"; }; }; };