diff options
Diffstat (limited to 'database/rrd.h')
-rw-r--r-- | database/rrd.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/database/rrd.h b/database/rrd.h index 1ae53b47e5..1128f7c6ab 100644 --- a/database/rrd.h +++ b/database/rrd.h @@ -314,7 +314,7 @@ typedef struct storage_collect_handle STORAGE_COLLECT_HANDLE; struct rrddim_tier { STORAGE_POINT virtual_point; size_t tier_grouping; - time_t next_point_time_s; + time_t next_point_end_time_s; STORAGE_METRIC_HANDLE *db_metric_handle; // the metric handle inside the database STORAGE_COLLECT_HANDLE *db_collection_handle; // the data collection handle struct storage_engine_collect_ops *collect_ops; @@ -905,9 +905,7 @@ typedef struct health { time_t health_delay_up_to; // a timestamp to delay alarms processing up to STRING *health_default_exec; // the full path of the alarms notifications program STRING *health_default_recipient; // the default recipient for all alarms - char *health_log_filename; // the alarms event log filename size_t health_log_entries_written; // the number of alarm events written to the alarms event log - FILE *health_log_fp; // the FILE pointer to the open alarms event log file uint32_t health_default_warn_repeat_every; // the default value for the interval between repeating warning notifications uint32_t health_default_crit_repeat_every; // the default value for the interval between repeating critical notifications } HEALTH; @@ -1340,7 +1338,8 @@ void rrdset_free(RRDSET *st); #ifdef NETDATA_RRD_INTERNALS -char *rrdset_cache_dir(RRDHOST *host, const char *id); +char *rrdhost_cache_dir_for_rrdset_alloc(RRDHOST *host, const char *id); +const char *rrdset_cache_dir(RRDSET *st); void rrddim_free(RRDSET *st, RRDDIM *rd); |