fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

out_azure_kusto: OTEL traces not getting logged at all with in_opentelemetry plugin

Open dceravigupta opened this issue 9 months ago • 3 comments

I'm trying to send my application's OTEL traces to an Azure Kusto database using Fluent Bit, but it seems they are being dropped somewhere along the way. Nothing is getting logged in Kusto, and Fluent Bit isn't showing any errors, even in verbose mode.

I tried using stdout instead of azurekusto and everything seems to work, so seems like some issue with azure kusto plugin only.

Any guidance on how can I debug this further?

dceravigupta avatar Mar 10 '25 19:03 dceravigupta

Can you follow the full issue template and provide the relevant config and version information? It's really hard to help without it.

I'm guessing maybe the traces are being ingested as non-log type data and the output plugin only supports log type data but it's hard to say without more details.

patrick-stephens avatar Jun 03 '25 11:06 patrick-stephens

I reviewed the code and noticed that traces are not currently enabled for the out_azure_kusto plugin. Even if we enable traces, there's another issue: the in_opentelemetry plugin sends traces in batches, with each record consists of multiple spans. We’ll need to flatten these spans into individual records before sending them to Azure Kusto, as it doesn’t natively support the OpenTelemetry traces schema.

@patrick-stephens is there anything available in Fluent Bit that can be used to flatten OpenTelemetry records into individual spans? Or would this need to be implemented directly within the out_azure_kusto plugin?

dceravigupta avatar Jun 03 '25 22:06 dceravigupta

I think you will have to implement it

patrick-stephens avatar Jun 04 '25 09:06 patrick-stephens

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] avatar Sep 07 '25 02:09 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Oct 25 '25 02:10 github-actions[bot]