1 #ifndef NETDATA_HEALTH_H
2 #define NETDATA_HEALTH_H
4 extern int rrdvar_compare(void *a, void *b);
10 * There are 4 scopes: local (chart), context, host and global variables
12 * Standard global variables:
15 * Standard host variables:
18 * Standard context variables:
21 * Standard local variables:
23 * $last_collected_value
28 typedef struct rrdvar {
34 calculated_number *value;
39 typedef struct rrdcalc {
42 int group; // grouping method: average, max, etc.
43 int before; // ending point in time-series
44 int after; // starting point in time-series
45 int update_every; // update frequency for the calculation
48 calculated_number value;
58 #endif //NETDATA_HEALTH_H