summaryrefslogtreecommitdiffstats
path: root/database/rrdcalctemplate.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-12 07:26:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-12 07:26:17 +0000
commit7877a98bd9c00db5e81dd2f8c734cba2bab20be7 (patch)
treed18b767250f7c7ced9b8abe2ece784ac1fe24d3e /database/rrdcalctemplate.h
parentReleasing debian version 1.35.1-2. (diff)
downloadnetdata-7877a98bd9c00db5e81dd2f8c734cba2bab20be7.tar.xz
netdata-7877a98bd9c00db5e81dd2f8c734cba2bab20be7.zip
Merging upstream version 1.36.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'database/rrdcalctemplate.h')
-rw-r--r--database/rrdcalctemplate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/database/rrdcalctemplate.h b/database/rrdcalctemplate.h
index 0f12bba05..51aa33054 100644
--- a/database/rrdcalctemplate.h
+++ b/database/rrdcalctemplate.h
@@ -42,8 +42,8 @@ struct rrdcalctemplate {
int update_every; // update frequency for the alarm
// the red and green threshold of this alarm (to be set to the chart)
- calculated_number green;
- calculated_number red;
+ NETDATA_DOUBLE green;
+ NETDATA_DOUBLE red;
// ------------------------------------------------------------------------
// database lookup settings
@@ -74,8 +74,8 @@ struct rrdcalctemplate {
// ------------------------------------------------------------------------
// Labels settings
- char *labels; // the label read from an alarm file
- SIMPLE_PATTERN *splabels; // the simple pattern of labels
+ char *host_labels; // the label read from an alarm file
+ SIMPLE_PATTERN *host_labels_pattern; // the simple pattern of labels
// ------------------------------------------------------------------------
// expressions related to the alarm