Skip to content

Commit

Permalink
engine: print ctraces version
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Oct 21, 2022
1 parent 2eeaa65 commit 82a18f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/flb_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
extern struct flb_aws_error_reporter *error_reporter;
#endif

#include <ctraces/ctr_version.h>

FLB_TLS_DEFINE(struct mk_event_loop, flb_engine_evl);


Expand Down Expand Up @@ -690,6 +692,7 @@ int flb_engine_start(struct flb_config *config)
/* Init Metrics engine */
cmt_initialize();
flb_info("[cmetrics] version=%s", cmt_version());
flb_info("[ctraces ] version=%s", ctr_version());

/* Initialize the scheduler */
sched = flb_sched_create(config, config->evl);
Expand Down

0 comments on commit 82a18f3

Please sign in to comment.