give the streaming function to nightly users (#16346)
Costa Tsaousis committed
Nov 6, 2023 at 15:22 UTC
c881ddf969d4da3eca44db29dec3aa58042e37e0
1 file changed
-2
database/rrdhost.c
-2
@@ -1072,14 +1072,12 @@ int rrd_init(char *hostname, struct rrdhost_system_info *system_info, bool unitt
1072
return 1;
1073
}
1074
1075
-#ifdef NETDATA_DEV_MODE
1075
// we register this only on localhost
1076
// for the other nodes, the origin server should register it
1077
rrd_collector_started(); // this creates a collector that runs for as long as netdata runs
1078
rrd_function_add(localhost, NULL, "streaming", 10,
1079
RRDFUNCTIONS_STREAMING_HELP, true,
1080
rrdhost_function_streaming, NULL);
1082
-#endif
1081
1082
if (likely(system_info)) {
1083
migrate_localhost(&localhost->host_uuid);