diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2021-02-11 14:57:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 14:57:01 +0100 |
commit | a392d3227e5ff993f2e3fe796d4413064d68b282 (patch) | |
tree | 7e761f69261ea19c30373ca7862a6ff616e67f2b /database | |
parent | fb2d4be0f2f54f541f797fe2d1ce958f81ab1120 (diff) |
Add ACLK proxy setting as host label (#10619)
* add label showing ACLK proxy setting
Diffstat (limited to 'database')
-rw-r--r-- | database/rrdhost.c | 2 |
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); |