Hi team! :wave: I'm trying to forward OTLP traces ...
# fluent-bit
a
Hi team! 👋 I'm trying to forward OTLP traces from a .NET application through Fluent Bit to AWS OpenSearch Ingestion Service (OSIS), but getting parsing errors. Setup: AWS for Fluent Bit: 3.0.0 (based on Fluent Bit v4.1.1) Architecture: .NET app (OTLP/HTTP+Protobuf) → Fluent Bit (localhost:4318) → OSIS pipeline Goal: Use Fluent Bit as a collector/buffer between app and OSIS pipeline: Errors: Log_Level info:
Copy code
[error] [output:opentelemetry:opentelemetry.3] could not flush records (http_do=-1)
Log_Level debug: (pos=5 or pos=0)
Copy code
[debug] [yyjson->msgpack] read error code=6 msg=unexpected character, expected a JSON value pos=0
I don't see the error from info log_level in the debug for some reason. (JFYI) Questions: 1. Is forwarding OTLP traces from OpenTelemetry input to OpenTelemetry output supposed to work in Fluent Bit? 2. Should I use Raw_Traces On parameter? (tried both with/without - same errors)
Copy code
[INPUT]
    Name            opentelemetry
    Listen          0.0.0.0
    Port            4318
    Tag             otel
    Tag_From_Uri    Off

[OUTPUT]
    Name                opentelemetry
    Match               otel
    Host                ${OSIS_PIPELINE_HOST}
    Port                443
    Traces_uri          /v1/traces
    Tls                 On
    Tls.verify          On
    aws_auth            On
    aws_service         osis
    aws_region          ${AWS_REGION}
Thanks in advance! 🙏
p
Yes, OTEL should work. It sounds like something is up with your actual data. Are you using the latest version? You can use stdout output to check the actual data as well
👀 1