Skip to content

Commit 1b70bd8

Browse files
committed
opentelemetry-otlp: Default the port correctly.
Current behavior uses http-proto port even when there's no desire to use it. Relates #1509
1 parent 1be83bb commit 1b70bd8

File tree

1 file changed

+1
-0
lines changed
  • opentelemetry-otlp/src/exporter/tonic

1 file changed

+1
-0
lines changed

opentelemetry-otlp/src/exporter/tonic/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ impl Default for TonicExporterBuilder {
149149
TonicExporterBuilder {
150150
exporter_config: ExportConfig {
151151
protocol: crate::Protocol::Grpc,
152+
endpoint: default_endpoint(crate::Protocol::Grpc),
152153
..Default::default()
153154
},
154155
tonic_config,

0 commit comments

Comments
 (0)