-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fluent-Bit Crashes when using opentelemetry logs output (version 2.0.6) #6512
Comments
@Syn3rman @leonardo-albertovich would you be able to take a look? |
Didn't run into any issues in docker on a mac 😓
|
@Syn3rman this also fails on aws linux outside of docker |
there is another issue reporting this: |
checking it on an aws instance |
I was unable to reproduce the same error. It did crash with a different error but I think that the root cause of both is the same: the event chunk was being corrupted because of this part of code since it blocks up memory for FLB_LOG_RECORD_BATCH_SIZE (1000) log records even when it is likely that we do not have these many records. I reduced it to a smaller number (128) and it worked fine, could you try it and let me know if it works? I'll be opening a PR since it is something we anyway need to address so you could also wait till the next release. |
is FLB_LOG_RECORD_BATCH_SIZE configurable or is it just hard coded to 1000?
|
It is hard coded but I will open a PR to move it to config param |
Using the helm chart @Syn3rman with 2.0.8 and the following config
this causes crashes
|
This assumes a http otlp input on otel-collector i.e.
|
@Syn3rman would you be able to take a look at @gingerwizard's issue? Might need to create a new one |
If i configure the otel input i.e.
and configure an otel agent to use
fluent bit crashes with a similar error
|
Taking a look |
I have a crash with similar stack, It is happening only in M1, probably it is related to emulation |
Would you be able to create a minimal reproduction case for us to investigate? |
Bug Report
Fluent bit crashes when using the opentelemetry output plugin, but only with logs. If the dummy input is omitted, it will not crash
Steps to reproduce
run
docker-compose up
with the following filesdocker-compose.yml
fluent-bit.conf
otel-collector-config.yaml
The text was updated successfully, but these errors were encountered: