in_head: deprecate old/unused stats interface
#include <fluent-bit/flb_config.h>
#include <fluent-bit/flb_error.h>
#include <fluent-bit/flb_utils.h>
-#include <fluent-bit/flb_stats.h>
#include <fluent-bit/flb_pack.h>
#include <msgpack.h>
@@ -153,7 +152,6 @@ static int single_value_per_record(struct flb_input_instance *i_ins,
ret = 0;
flb_input_buf_write_end(i_ins);
- flb_stats_update(in_head_plugin.stats_fd, 0, 1);
return ret;
@@ -220,7 +218,6 @@ static int split_lines_per_record(struct flb_input_instance *i_ins,
}
flb_input_buf_write_end(i_ins);
- flb_stats_update(in_head_plugin.stats_fd, 0, 1);
fclose(fp);
return 0;
