summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2022-11-03 11:50:31 +0200
committerGitHub <noreply@github.com>2022-11-03 11:50:31 +0200
commitc270b6067bc91233696dc038c6356c1e384e13cf (patch)
tree2dc71f6d43762daf552c69d7223a1f36c8c16e56 /collectors
parent94c708fc39ca07eaebacd8c955be2c791d346fdc (diff)
recalculate last_collected_total (#13945)
Diffstat (limited to 'collectors')
-rw-r--r--collectors/plugins.d/pluginsd_parser.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/collectors/plugins.d/pluginsd_parser.c b/collectors/plugins.d/pluginsd_parser.c
index 852ae9dde1..732120c316 100644
--- a/collectors/plugins.d/pluginsd_parser.c
+++ b/collectors/plugins.d/pluginsd_parser.c
@@ -1056,8 +1056,6 @@ PARSER_RC pluginsd_replay_rrdset_collection_state(char **words, size_t num_words
{
char *last_collected_ut_str = get_word(words, num_words, 1);
char *last_updated_ut_str = get_word(words, num_words, 2);
- char *last_collected_total_str = get_word(words, num_words, 3);
- char *collected_total_str = get_word(words, num_words, 4);
RRDSET *st = ((PARSER_USER_OBJECT *) user)->st;
RRDHOST *host = ((PARSER_USER_OBJECT *) user)->host;
@@ -1082,9 +1080,6 @@ PARSER_RC pluginsd_replay_rrdset_collection_state(char **words, size_t num_words
st->last_updated.tv_usec = last_updated_ut % USEC_PER_SEC;
}
- st->last_collected_total = last_collected_total_str ? strtoll(last_collected_total_str, NULL, 0) : 0;
- st->collected_total = collected_total_str ? strtoll(collected_total_str, NULL, 0) : 0;
-
st->counter++;
st->counter_done++;