in_fluentbit_metrics: use new CFL timer api
@@ -42,7 +42,7 @@ static int scrape_metrics(struct flb_config *config, struct flb_in_metrics *ctx)
struct cmt *cmt;
/* Update internal metric */
- ts = cmt_time_now();
+ ts = cfl_time_now();
name = (char *) flb_input_name(ctx->ins);
cmt_counter_inc(ctx->c, ts, 1, (char *[]) {name});
