File tree 3 files changed +9
-4
lines changed
tests/integration_test/tests
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## vNext
4
4
5
- - ** Breaking** Remove support for surf HTTP client [ #1537 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1537 )
5
+ ### Fixed
6
+ - Fix ` tonic() ` to the use correct port. [ #1556 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1556 )
7
+
8
+ ### Changed
6
9
- Update to tonic 0.11 and prost 0.12 (#1536 )
10
+
11
+ ### Removed
12
+ - ** Breaking** Remove support for surf HTTP client [ #1537 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1537 )
7
13
- Remove support for grpcio transport (#1534 )
8
14
9
15
## v0.14.0
Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ impl Default for TonicExporterBuilder {
149
149
TonicExporterBuilder {
150
150
exporter_config : ExportConfig {
151
151
protocol : crate :: Protocol :: Grpc ,
152
+ endpoint : crate :: exporter:: default_endpoint ( crate :: Protocol :: Grpc ) ,
152
153
..Default :: default ( )
153
154
} ,
154
155
tonic_config,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ use opentelemetry::{
6
6
trace:: { TraceContextExt , Tracer } ,
7
7
Key , KeyValue ,
8
8
} ;
9
- use opentelemetry_otlp:: WithExportConfig ;
10
9
use opentelemetry_sdk:: { runtime, trace as sdktrace, Resource } ;
11
10
use std:: error:: Error ;
12
11
use std:: fs:: File ;
@@ -17,8 +16,7 @@ fn init_tracer() -> Result<sdktrace::Tracer, TraceError> {
17
16
. tracing ( )
18
17
. with_exporter (
19
18
opentelemetry_otlp:: new_exporter ( )
20
- . tonic ( )
21
- . with_endpoint ( "http://localhost:4317" ) ,
19
+ . tonic ( ) ,
22
20
)
23
21
. with_trace_config (
24
22
sdktrace:: config ( ) . with_resource ( Resource :: new ( vec ! [ KeyValue :: new(
You can’t perform that action at this time.
0 commit comments