@cryptotaxi247 / netdata-1 / commits / fc4d9a2a2

add agent timezones as host labels (#19656)

Costa Tsaousis committed Feb 17, 2025 at 10:32 UTC fc4d9a2a2a8475b5db53cfa3abec4abc76378ac5
1 file changed +3
src/database/rrdhost-labels.c
+3
@@ -83,6 +83,9 @@ static void rrdhost_load_auto_labels(void) {
83
84 if (localhost->stream.snd.destination)
85 rrdlabels_add(labels, "_streams_to", string2str(localhost->stream.snd.destination), RRDLABEL_SRC_AUTO);
86 +
87 + rrdlabels_add(labels, "_timezone", rrdhost_timezone(localhost), RRDLABEL_SRC_AUTO);
88 + rrdlabels_add(labels, "_abbrev_timezone", rrdhost_abbrev_timezone(localhost), RRDLABEL_SRC_AUTO);
89 }
90
91 void reload_host_labels(void) {