Skip to content

Commit 8aee214

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 Signed-off-by: Harold Dost <h.dost@criteo.com>
1 parent 1be83bb commit 8aee214

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

opentelemetry-otlp/CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22

33
## vNext
44

5-
- **Breaking** Remove support for surf HTTP client [#1537](https://github.com/open-telemetry/opentelemetry-rust/pull/1537)
5+
### Changed
66
- Update to tonic 0.11 and prost 0.12 (#1536)
7+
- Fix `tonic()` to the use correct port. [#1556](https://github.com/open-telemetry/opentelemetry-rust/pull/1556)
8+
9+
### Removed
10+
- **Breaking** Remove support for surf HTTP client [#1537](https://github.com/open-telemetry/opentelemetry-rust/pull/1537)
711
- Remove support for grpcio transport (#1534)
812

13+
914
## v0.14.0
1015

1116
### Added

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)