(WIP) Open Telemetry experiment #1389
Annotations
2 warnings
unused import: `tracing::instrument`:
plane/src/main.rs#L16
warning: unused import: `tracing::instrument`
--> plane/src/main.rs:16:5
|
16 | use tracing::instrument;
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
used `unwrap()` on a `Result` value:
plane/src/init_tracing.rs#L32
warning: used `unwrap()` on a `Result` value
--> plane/src/init_tracing.rs:32:18
|
32 | let tracer = opentelemetry_otlp::new_pipeline()
| __________________^
33 | | .tracing()
34 | | .with_trace_config(trace::config().with_resource(resource()))
35 | | .with_batch_config(BatchConfig::default())
36 | | .with_exporter(opentelemetry_otlp::new_exporter().tonic())
37 | | .install_batch(runtime::Tokio)
38 | | .unwrap();
| |_________________^
|
= note: if this value is an `Err`, it will panic
= help: consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
--> plane/src/lib.rs:1:9
|
1 | #![warn(clippy::unwrap_used)]
| ^^^^^^^^^^^^^^^^^^^
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-scratch
Expired
|
624 KB |
|