Lalit Kumar Bhasin
Lalit Kumar Bhasin
> Please update the [stress test](https://github.com/open-telemetry/opentelemetry-rust/blob/main/stress/src/logs.rs#L6) numbers with this change, so it is easy to track. > > Also https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-appender-tracing/benches/logs.rs#L13 Done, also updated the results in the description.
Yes - this should be correlated automatically, as long as the application is instrumented using opentelemetry tracing (either through [tracing-opentelemetry](https://github.com/tokio-rs/tracing-opentelemetry) or directly using opentelemetry tracing api). Not if it is...
I don't see the tracing-opentelemetry subscriber configured in the above example before emitting spans.
`opentelemetry-appender-tracing` expects the parent's trace-context to be stored in the Otel [Context ](https://github.com/open-telemetry/opentelemetry-rust/blob/a70bb74080ed0d74d6d8196c161edb2c5e941fef/opentelemetry-sdk/src/logs/log_emitter.rs#L214), while `tracing-opentelemetry` manages the parent-child relationship of spans primarily within the `tracing` context, and it is not...
> @lalitb I need to try and get this going for my work, would you be able to help me out with a quick workaround? Within the `on_event` trait method...
~~The #1147 is merged. We should be good to remove `logs_level_enabled` flag.~~
This appears to be a user error caused by an incomplete implementation of the `Logger` trait. However, I agree that the SDK could be more tolerant by providing a default...
The problem here is that if the Span is active in the `tracing` context, `tracing-opentelemetry` willn't make it active in the thread_local otel context. So any span created thereafter using...
As this PR came into discussion in today's community meeting, summarising the challenge with the current solution - The PR adds the suppress_logs flag in the Context, and the Context...
closing this PR. The changes would be done based on the options discussed here - https://github.com/open-telemetry/opentelemetry-rust/issues/761#issuecomment-2121548678.