summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-02-11 14:57:01 +0100
committerGitHub <noreply@github.com>2021-02-11 14:57:01 +0100
commita392d3227e5ff993f2e3fe796d4413064d68b282 (patch)
tree7e761f69261ea19c30373ca7862a6ff616e67f2b /database
parentfb2d4be0f2f54f541f797fe2d1ce958f81ab1120 (diff)
Add ACLK proxy setting as host label (#10619)
* add label showing ACLK proxy setting
Diffstat (limited to 'database')
-rw-r--r--database/rrdhost.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/database/rrdhost.c b/database/rrdhost.c
index 1af27114d5..45c3146027 100644
--- a/database/rrdhost.c
+++ b/database/rrdhost.c
@@ -986,6 +986,8 @@ static struct label *rrdhost_load_auto_labels(void)
label_list =
add_label_to_list(label_list, "_is_k8s_node", localhost->system_info->is_k8s_node, LABEL_SOURCE_AUTO);
+ label_list = add_aclk_host_labels(label_list);
+
label_list = add_label_to_list(
label_list, "_is_parent", (localhost->next || configured_as_parent()) ? "true" : "false", LABEL_SOURCE_AUTO);