diff options
Diffstat (limited to 'collectors/plugins.d')
-rw-r--r-- | collectors/plugins.d/pluginsd_parser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/collectors/plugins.d/pluginsd_parser.c b/collectors/plugins.d/pluginsd_parser.c index 19aa4544b..e7a3c40ec 100644 --- a/collectors/plugins.d/pluginsd_parser.c +++ b/collectors/plugins.d/pluginsd_parser.c @@ -887,6 +887,8 @@ static inline PARSER_RC pluginsd_function(char **words, size_t num_words, PARSER rrd_collector_add_function(host, st, name, timeout, help, false, pluginsd_execute_function_callback, parser); + parser->user.data_collections_count++; + return PARSER_RC_OK; } @@ -895,6 +897,8 @@ static void pluginsd_function_result_end(struct parser *parser, void *action_dat if(key) dictionary_del(parser->inflight.functions, string2str(key)); string_freez(key); + + parser->user.data_collections_count++; } static inline PARSER_RC pluginsd_function_result_begin(char **words, size_t num_words, PARSER *parser) { |