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
I tried to compile divviup-api with --all-features:
$ cargo build --release --all-features
[... snip compilation ...]
error[E0599]: no method named `provider` found for struct `opentelemetry_sdk::trace::TracerProvider` in the current scope
--> src/telemetry.rs:52:14
|
46 | / opentelemetry_otlp::new_pipeline()
47 | | .tracing()
48 | | .with_trace_config(opentelemetry_sdk::trace::Config::default().with_resource(resource))
49 | | .with_exporter(opentelemetry_otlp::new_exporter().tonic())
50 | | .install_batch(opentelemetry_sdk::runtime::Tokio)
51 | | .unwrap()
52 | | .provider()
| | -^^^^^^^^ method not found in `TracerProvider`
| |_____________|
|
For more information about this error, try `rustc --explain E0599`.
error: could not compile `divviup-api` (lib) due to 1 previous error
I'm too much of a Rust noob to understand or provide a patch. 😅
The text was updated successfully, but these errors were encountered:
I tried to compile divviup-api with
--all-features
:I'm too much of a Rust noob to understand or provide a patch. 😅
The text was updated successfully, but these errors were encountered: