You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a bug in uptrace or in opentelemetry-rust appender tracing.
When using appender tracing with grpc transport and with debug log level enabled, hyper, tonic, and libraries they use will produce debug logs. If opentelemetry-appender-tracing is enabled and configured to send to uptrace (opentelemetry golang sdk) these logs crash the uptrace opentelemetry collector. Removing the log appender fixes the issue, as does removing the debug logs using this env filter: "debug,hyper=info,h2=info,tower=info,tonic=info".
Normal application debug logs work just fine, there's also no issues when using tracing-opentelemetry for uploading traces.
API Version
0.22
SDK Version
0.22
What Exporters are you seeing the problem on?
OTLP
Relevant log output
Log on the opentelemetry-rust side
2024-04-28T04:12:57.190704Z DEBUG h2::codec::framed_write: send, frame: Ping { ack: true, payload: [2, 4, 16, 16, 9, 14, 7, 7] }
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/h2-0.3.26/src/codec/framed_write.rs:213
in h2::proto::connection::Connection with peer: Client
2024-04-28T04:12:57.190751Z DEBUG h2::codec::framed_write: send, frame: Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/h2-0.3.26/src/codec/framed_write.rs:213
in h2::proto::connection::Connection with peer: Client
2024-04-28T04:12:57.190870Z DEBUG h2::codec::framed_read: received, frame: WindowUpdate { stream_id: StreamId(0), size_increment: 11910 }
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/h2-0.3.26/src/codec/framed_read.rs:405
in h2::proto::connection::Connection with peer: Client
2024-04-28T04:12:57.190926Z DEBUG h2::codec::framed_read: received, frame: Ping { ack: false, payload: [2, 4, 16, 16, 9, 14, 7, 7] }
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/h2-0.3.26/src/codec/framed_read.rs:405
in h2::proto::connection::Connection with peer: Client
2024-04-28T04:12:57.190964Z DEBUG h2::codec::framed_write: send, frame: Ping { ack: true, payload: [2, 4, 16, 16, 9, 14, 7, 7] }
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/h2-0.3.26/src/codec/framed_write.rs:213
in h2::proto::connection::Connection with peer: Client
OpenTelemetry log error occurred. Exporter otlp encountered the following errors: the grpc server returns error (Unknown error): , detailed error message: transport error
2024-04-28T04:12:57.197313Z DEBUG hyper::client::service: connection error: hyper::Error(Io, Custom { kind: BrokenPipe, error: "connection closed because of a broken pipe" })
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/service.rs:79
2024-04-28T04:12:57.197313Z DEBUG hyper::proto::h2::client: client response error: stream closed because of a broken pipe
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/proto/h2/client.rs:326
2024-04-28T04:12:57.197616Z DEBUG hyper::client::service: connection error: hyper::Error(Io, Custom { kind: BrokenPipe, error: "connection closed because of a broken pipe" })
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/service.rs:79
2024-04-28T04:12:57.205515Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("https", hopper.prod01.europe-west4.prod.hopper.chorus1.net)
at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.3/src/client/legacy/pool.rs:397
What happened?
Not sure if this is a bug in uptrace or in opentelemetry-rust appender tracing.
When using appender tracing with grpc transport and with debug log level enabled, hyper, tonic, and libraries they use will produce debug logs. If opentelemetry-appender-tracing is enabled and configured to send to uptrace (opentelemetry golang sdk) these logs crash the uptrace opentelemetry collector. Removing the log appender fixes the issue, as does removing the debug logs using this env filter:
"debug,hyper=info,h2=info,tower=info,tonic=info"
.Normal application debug logs work just fine, there's also no issues when using tracing-opentelemetry for uploading traces.
API Version
0.22
SDK Version
0.22
What Exporters are you seeing the problem on?
OTLP
Relevant log output
Log on the opentelemetry-rust side
Failing log on the uptrace side:
The text was updated successfully, but these errors were encountered: