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
For some rust projects we are using tracing, tracing-opentelemetry and opentelemetry-otlp to export traces. We don't yet use metrics via OpenTelemetry.
ATM setting that up is quiet a handful of boilerplate in Rust. It seems to be kind-of in scope for foundations to make that easier.
Foundations doesn't use tracing, and instead has it's own competing system, but does handle all the stuff you are talking about here already, albeit the exporting is slightly hardcoded around jaeger OTEL, but that can easily be changed.
Is there some documentation on why foundations is not using tokio's tracing? I would have hoped, that the enhancements in the blog post could be made in upstream tracing as well. It's a little unfortunate to not have the native tracing of tokio's crates.
There is certain functionality in foundations that can't be implemented with tracing's design. Also, there are certain unresolved bugs in tracing that prevented it's adoption for certain scenarios that we have.
However, there's a plan to release an adapter crate that will allow funnelling of tracing-produced output to Foundations. cc @evanrittenhouse
There is certain functionality in foundations that can't be implemented with tracing's design. Also, there are certain unresolved bugs in tracing that prevented it's adoption for certain scenarios that we have.
Hi! I'm a tracing maintainer. Can you share these limitations/bugs are? I'm not aware of what you're missing, but I'd like to be able to close those gaps.
Activity
inikulin commentedon Feb 1, 2024
Could you elaborate a bit more about what kind of integration you expect?
Noah-Kennedy commentedon Feb 1, 2024
@ibotty which apis are you interested in here?
Generic OTEL support for tracing and logging is likely to be fairly simple, metrics would be more complicated though.
ibotty commentedon Feb 3, 2024
Sorry for not answering earlier. I was busy.
For some rust projects we are using
tracing,tracing-opentelemetryandopentelemetry-otlpto export traces. We don't yet use metrics via OpenTelemetry.ATM setting that up is quiet a handful of boilerplate in Rust. It seems to be kind-of in scope for foundations to make that easier.
Noah-Kennedy commentedon Feb 5, 2024
Foundations doesn't use tracing, and instead has it's own competing system, but does handle all the stuff you are talking about here already, albeit the exporting is slightly hardcoded around jaeger OTEL, but that can easily be changed.
ibotty commentedon Feb 10, 2024
Sorry for the incomplete post.
Is there some documentation on why foundations is not using tokio's tracing? I would have hoped, that the enhancements in the blog post could be made in upstream
tracingas well. It's a little unfortunate to not have the native tracing of tokio's crates.inikulin commentedon Feb 12, 2024
There is certain functionality in foundations that can't be implemented with
tracing's design. Also, there are certain unresolved bugs intracingthat prevented it's adoption for certain scenarios that we have.However, there's a plan to release an adapter crate that will allow funnelling of
tracing-produced output to Foundations. cc @evanrittenhouseevanrittenhouse commentedon Feb 26, 2024
Hopefully I can start work on the adapter crate in the next couple of days. I'm thinking we can start with an OTEL appender as shown in https://github.com/open-telemetry/opentelemetry-rust
inikulin commentedon Mar 15, 2024
v4 will have native support for OTLP gRPC exporters for traces and logs.
Please, let me us know if you also need any of those:
nifty-bytes commentedon Mar 15, 2024
+ for
inikulin commentedon May 9, 2024
#34 adds support for OTLP tracing reporting. External reviews are vey much appreciated
davidbarsky commentedon May 22, 2024
Hi! I'm a
tracingmaintainer. Can you share these limitations/bugs are? I'm not aware of what you're missing, but I'd like to be able to close those gaps.