We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bdbc33 commit 32126b1Copy full SHA for 32126b1
opentelemetry-otlp/examples/basic-otlp/src/main.rs
@@ -91,10 +91,18 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync + 'static>> {
91
// execution.
92
93
let result = init_tracer();
94
- assert!(result.is_ok(), "Init tracer failed with error: {:?}", result.err());
+ assert!(
95
+ result.is_ok(),
96
+ "Init tracer failed with error: {:?}",
97
+ result.err()
98
+ );
99
100
let result = init_metrics();
- assert!(result.is_ok(), "Init metrics failed with error: {:?}", result.err());
101
102
103
+ "Init metrics failed with error: {:?}",
104
105
106
107
// Initialize logs, which sets the global loggerprovider.
108
let logger_provider = init_logs().unwrap();
0 commit comments