Maybe websockets?
This commit is contained in:
parent
1ef1e10abe
commit
59d33d4274
|
@ -43,10 +43,10 @@
|
||||||
system = {};
|
system = {};
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs = {
|
||||||
http = {
|
websocket = {
|
||||||
url = "http://localhost:${toString config.services.prometheus.port}/api/live/push/custom_stream_id";
|
url = "ws://localhost:${toString config.services.prometheus.port}/api/live/push/custom_stream_id";
|
||||||
data_format = "influx";
|
data_format = "influx";
|
||||||
outputs.http.headers = "Bearer glsa_lqpcKV34Pp0d7eIhKN79E2HTwzWWwN4m_fe64e398";
|
outputs.websocket.headers = "Bearer glsa_lqpcKV34Pp0d7eIhKN79E2HTwzWWwN4m_fe64e398";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue