Skip to content

Commit

Permalink
opentelemetry-otlp: Default the port correctly.
Browse files Browse the repository at this point in the history
Current behavior uses http-proto port even when there's no desire to use
it.

Relates #1509
  • Loading branch information
hdost committed Feb 18, 2024
1 parent 1be83bb commit 1b70bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opentelemetry-otlp/src/exporter/tonic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ impl Default for TonicExporterBuilder {
TonicExporterBuilder {
exporter_config: ExportConfig {
protocol: crate::Protocol::Grpc,
endpoint: default_endpoint(crate::Protocol::Grpc),

Check failure on line 152 in opentelemetry-otlp/src/exporter/tonic/mod.rs

View workflow job for this annotation

GitHub Actions / lint

cannot find function `default_endpoint` in this scope
..Default::default()
},
tonic_config,
Expand Down

0 comments on commit 1b70bd8

Please sign in to comment.