diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-11-03 11:50:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 11:50:31 +0200 |
commit | c270b6067bc91233696dc038c6356c1e384e13cf (patch) | |
tree | 2dc71f6d43762daf552c69d7223a1f36c8c16e56 /health | |
parent | 94c708fc39ca07eaebacd8c955be2c791d346fdc (diff) |
recalculate last_collected_total (#13945)
Diffstat (limited to 'health')
-rw-r--r-- | health/health.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/health/health.c b/health/health.c index 46743e4094..6046a1f1bb 100644 --- a/health/health.c +++ b/health/health.c @@ -809,7 +809,6 @@ static void health_execute_delayed_initializations(RRDHOST *host) { rrddimvar_index_init(st); rrdsetvar_add_and_leave_released(st, "last_collected_t", RRDVAR_TYPE_TIME_T, &st->last_collected_time.tv_sec, RRDVAR_FLAG_NONE); - rrdsetvar_add_and_leave_released(st, "collected_total_raw", RRDVAR_TYPE_TOTAL, &st->last_collected_total, RRDVAR_FLAG_NONE); rrdsetvar_add_and_leave_released(st, "green", RRDVAR_TYPE_CALCULATED, &st->green, RRDVAR_FLAG_NONE); rrdsetvar_add_and_leave_released(st, "red", RRDVAR_TYPE_CALCULATED, &st->red, RRDVAR_FLAG_NONE); rrdsetvar_add_and_leave_released(st, "update_every", RRDVAR_TYPE_INT, &st->update_every, RRDVAR_FLAG_NONE); |