Skip to content

Commit c7195dc

Browse files
committedJun 30, 2021
bin: initialize cmetrics
Signed-off-by: Eduardo Silva <[email protected]>
1 parent d4d112d commit c7195dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/fluent-bit.c

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
#include <fluent-bit/flb_record_accessor.h>
5454
#include <fluent-bit/flb_ra_key.h>
5555

56+
#include <cmetrics/cmetrics.h>
57+
5658
#ifdef FLB_HAVE_MTRACE
5759
#include <mcheck.h>
5860
#endif
@@ -950,6 +952,9 @@ int flb_main(int argc, char **argv)
950952
/* Initialize Monkey Core library */
951953
mk_core_init();
952954

955+
/* Metrics engine */
956+
cmt_initialize();
957+
953958
/* Create Fluent Bit context */
954959
ctx = flb_create();
955960
if (!ctx) {

0 commit comments

Comments
 (0)
Please sign in to comment.