-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
OTLP: Error when outputting OTLP in 3.2.7 (and 3.2.8) #10071
Comments
Does it work with the official builds/containers? |
@patrick-stephens Does not work using the containers (works on 3.2.6). Recreate using container: fluent-bit_stdout_otlp.yaml
Create a directory and put fluent-bit_stdout_otlp.yaml in that directory then run the following command. Start opentelemetry-collector. Official https://github.com/open-telemetry/opentelemetry-collector Start: otelconfig.yaml
Send a simple curl command: Output:
It's easy to switch between 3.2.6 and 3.2.8 and see the different result (success vs failure). |
wondering if this PR is the fix: #10083 |
@edsiper Unfortunately no. I checked out the commit below on branch 3.2. commit 554c0cd (HEAD -> 3.2, origin/3.2)
Still same issue: [2025/03/17 08:38:27] [debug] [task] created task=0x700340035a70 id=0 OK |
it's not a bug, Fluent Bit OpenTelemetry output enables Setting Considering turning that as a new default |
Bug Report
Describe the bug
Error when outputing OTLP version 3.2.7 (and 3.2.8). Error happen on metrics, logs and traces.
Error have never happen on older versions, for example 3.2.6 works with exactly same test setup.
[error] [engine] chunk '422061-1741761815.979790809.flb' cannot be retried: task_id=0, input=opentelemetry.0 > output=opentelemetry.0
Se more details below.
To Reproduce
Build fluent-bit with the following defines:
cmake .. -DFLB_SIGNV4=Off -DFLB_AWS=Off -DFLB_FILTER_AWS=Off -DFLB_OUT_S3=Off -DFLB_OUT_KINESIS_FIREHOSE=Off -DFLB_OUT_KINESIS_STREAMS=Off -DFLB_OUT_CLOUDWATCH_LOGS=Off -DFLB_OUT_BIGQUERY=Off
Installation according to: https://opentelemetry.io/docs/collector/installation/
Start:
bin> ./otelcorecol_linux_amd64 --config otelconfig.yaml
otelconfig.yaml
./fluent-bit -c ~/fluent-bit.yaml
fluent-bit.yaml
Install protocurl: https://github.com/qaware/protocurl
Use protocurl to send a standard otlp metric message. (https://github.com/open-telemetry/opentelemetry-proto)
Expected behavior
Result from v3.2.6:
Screenshots
Your Environment
Additional context
Can not use v3.2.7 and v3.2.8 as we can not get out any logs.
The text was updated successfully, but these errors were encountered: