Maybe websockets?

This commit is contained in:
Lillian Violet 2024-03-28 11:45:20 +01:00
parent 1ef1e10abe
commit 59d33d4274

View file

@ -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";
};
};
};