summaryrefslogtreecommitdiffstats
path: root/database/rrdcalctemplate.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-12 07:26:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-12 07:26:11 +0000
commit3c315f0fff93aa072472abc10815963ac0035268 (patch)
treea95f6a96e0e7bd139c010f8dc60b40e5b3062a99 /database/rrdcalctemplate.h
parentAdding upstream version 1.35.1. (diff)
downloadnetdata-3c315f0fff93aa072472abc10815963ac0035268.tar.xz
netdata-3c315f0fff93aa072472abc10815963ac0035268.zip
Adding upstream version 1.36.0.upstream/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