summaryrefslogtreecommitdiffstats
path: root/database/rrdcalc.h
diff options
context:
space:
mode:
Diffstat (limited to 'database/rrdcalc.h')
-rw-r--r--database/rrdcalc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/database/rrdcalc.h b/database/rrdcalc.h
index 2ae47788..0dcd7ce6 100644
--- a/database/rrdcalc.h
+++ b/database/rrdcalc.h
@@ -63,8 +63,8 @@ struct rrdcalc {
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
@@ -103,8 +103,8 @@ struct rrdcalc {
// ------------------------------------------------------------------------
// 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
// ------------------------------------------------------------------------
// runtime information
@@ -112,8 +112,8 @@ struct rrdcalc {
RRDCALC_STATUS old_status; // the old status of the alarm
RRDCALC_STATUS status; // the current status of the alarm
- calculated_number value; // the current value of the alarm
- calculated_number old_value; // the previous value of the alarm
+ NETDATA_DOUBLE value; // the current value of the alarm
+ NETDATA_DOUBLE old_value; // the previous value of the alarm
uint32_t rrdcalc_flags; // check RRDCALC_FLAG_*