bin: initialize cmetrics
#include <fluent-bit/flb_record_accessor.h>
#include <fluent-bit/flb_ra_key.h>
+#include <cmetrics/cmetrics.h>
+
#ifdef FLB_HAVE_MTRACE
#include <mcheck.h>
#endif
@@ -950,6 +952,9 @@ int flb_main(int argc, char **argv)
/* Initialize Monkey Core library */
mk_core_init();
+ /* Metrics engine */
+ cmt_initialize();
+
/* Create Fluent Bit context */
ctx = flb_create();
if (!ctx) {
