From 4e67910306e3defc683ddfd43038c24167930b42 Mon Sep 17 00:00:00 2001 From: Ramajeyam Gopalraj Date: Fri, 19 Jul 2024 11:40:32 -0400 Subject: [PATCH] test --- opentelemetry-otlp/examples/basic-otlp-http/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentelemetry-otlp/examples/basic-otlp-http/src/main.rs b/opentelemetry-otlp/examples/basic-otlp-http/src/main.rs index 610268294e..c9c874b0f7 100644 --- a/opentelemetry-otlp/examples/basic-otlp-http/src/main.rs +++ b/opentelemetry-otlp/examples/basic-otlp-http/src/main.rs @@ -41,7 +41,7 @@ fn init_logs() -> Result .with_resource(RESOURCE.clone()) .with_exporter( http_exporter() - .with_protocol(Protocol::HttpBinary) //can be changed to `Protocol::HttpJson` to export in JSON format + .with_protocol(Protocol::HttpJson) //can be changed to `Protocol::HttpBinary` .with_endpoint("http://localhost:4318/v1/logs"), ) .install_batch(opentelemetry_sdk::runtime::Tokio)