@cryptotaxi247 / netdata-1 / commits / 3e1fa32e5

add host labels _aclk_ng_new_cloud_protocol (#12278)

Timotej S committed Mar 1, 2022 at 13:58 UTC 3e1fa32e5c9081d2630d4d964bfa811f0f270f55
1 file changed +5
aclk/aclk_api.c
+5
@@ -70,6 +70,11 @@ struct label *add_aclk_host_labels(struct label *label) {
70
71 label = add_label_to_list(label, "_aclk_impl", "Next Generation", LABEL_SOURCE_AUTO);
72 label = add_label_to_list(label, "_aclk_proxy", proxy_str, LABEL_SOURCE_AUTO);
73 +#ifdef ENABLE_NEW_CLOUD_PROTOCOL
74 + label = add_label_to_list(label, "_aclk_ng_new_cloud_protocol", "true", LABEL_SOURCE_AUTO);
75 +#else
76 + label = add_label_to_list(label, "_aclk_ng_new_cloud_protocol", "false", LABEL_SOURCE_AUTO);
77 +#endif
78 #endif
79 return label;
80 }