From 1f0115b06cb7bdcea01538797f1935eeaeb86acb Mon Sep 17 00:00:00 2001 From: Aditya Prajapati Date: Thu, 13 Oct 2022 19:11:42 +0530 Subject: [PATCH] out_opentelemetry: add traces and metrics to plugin event type Signed-off-by: Aditya Prajapati --- plugins/out_opentelemetry/opentelemetry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/out_opentelemetry/opentelemetry.c b/plugins/out_opentelemetry/opentelemetry.c index 0de5b7c473f..bfeceddac1c 100644 --- a/plugins/out_opentelemetry/opentelemetry.c +++ b/plugins/out_opentelemetry/opentelemetry.c @@ -618,6 +618,6 @@ struct flb_output_plugin out_opentelemetry_plugin = { .cb_flush = cb_opentelemetry_flush, .cb_exit = cb_opentelemetry_exit, .config_map = config_map, - .event_type = FLB_OUTPUT_LOGS, + .event_type = FLB_OUTPUT_LOGS | FLB_OUTPUT_METRICS | FLB_OUTPUT_TRACES, .flags = FLB_OUTPUT_NET | FLB_IO_OPT_TLS, };