@cryptotaxi247 / netdata-1 / commits / de2ac5a34

Adds _aclk_impl label (#10778)

* add _aclk_impl label for cloud * aclk_otp removes unneeded include

Timotej S committed Mar 17, 2021 at 11:13 UTC de2ac5a34b1212c0b024dd9676816e19ea809485
3 files changed +2 -2
aclk/aclk.c
+1
@@ -813,6 +813,7 @@ struct label *add_aclk_host_labels(struct label *label) {
813 proxy_str = "none";
814 break;
815 }
816 + label = add_label_to_list(label, "_aclk_impl", "Next Generation", LABEL_SOURCE_AUTO);
817 return add_label_to_list(label, "_aclk_proxy", proxy_str, LABEL_SOURCE_AUTO);
818 #else
819 return label;
aclk/aclk_otp.c
-2
@@ -5,8 +5,6 @@
5
6 #include "libnetdata/libnetdata.h"
7
8 -#include "legacy/aclk_lws_https_client.h"
9 -
8 #include "../daemon/common.h"
9
10 #include "../mqtt_websockets/c-rbuf/include/ringbuffer.h"
aclk/legacy/aclk_common.c
+1
@@ -252,6 +252,7 @@ struct label *add_aclk_host_labels(struct label *label) {
252 proxy_str = "none";
253 break;
254 }
255 + label = add_label_to_list(label, "_aclk_impl", "Legacy", LABEL_SOURCE_AUTO);
256 return add_label_to_list(label, "_aclk_proxy", proxy_str, LABEL_SOURCE_AUTO);
257 #else
258 return label;