diff --git a/opentelemetry-otlp/CHANGELOG.md b/opentelemetry-otlp/CHANGELOG.md index 8b95bd59fd..778b1a31d2 100644 --- a/opentelemetry-otlp/CHANGELOG.md +++ b/opentelemetry-otlp/CHANGELOG.md @@ -2,8 +2,7 @@ ## vNext - Bump msrv to 1.75.0. -- `OtlpHttpClient.shutdown` `TonicLogsClient.shutdown`, and `TonicTracesClient.shutdown` now explicitly return a result. The - semantics of the method have not changed, but you will have a new lint encouraging you to consume these results. +- `OtlpHttpClient.shutdown` `TonicLogsClient.shutdown`, and `TonicTracesClient.shutdown` now explicitly return a result. ## 0.27.0 diff --git a/opentelemetry-otlp/src/exporter/http/trace.rs b/opentelemetry-otlp/src/exporter/http/trace.rs index 056042ebe9..f1fac61467 100644 --- a/opentelemetry-otlp/src/exporter/http/trace.rs +++ b/opentelemetry-otlp/src/exporter/http/trace.rs @@ -2,6 +2,7 @@ use std::sync::Arc; use futures_core::future::BoxFuture; use http::{header::CONTENT_TYPE, Method}; +use opentelemetry::otel_debug; use opentelemetry::trace::{TraceError, TraceResult}; use opentelemetry_sdk::export::trace::{ExportResult, SpanData, SpanExporter}; diff --git a/opentelemetry-otlp/src/exporter/tonic/trace.rs b/opentelemetry-otlp/src/exporter/tonic/trace.rs index 01ba8c8b39..3fd03e7e87 100644 --- a/opentelemetry-otlp/src/exporter/tonic/trace.rs +++ b/opentelemetry-otlp/src/exporter/tonic/trace.rs @@ -7,7 +7,7 @@ use opentelemetry_proto::tonic::collector::trace::v1::{ }; use opentelemetry_sdk::export::trace::{ExportResult, SpanData, SpanExporter}; use tonic::{codegen::CompressionEncoding, service::Interceptor, transport::Channel, Request}; - +use opentelemetry::trace::TraceResult; use opentelemetry_proto::transform::trace::tonic::group_spans_by_resource_and_scope; use super::BoxInterceptor; diff --git a/opentelemetry-stdout/CHANGELOG.md b/opentelemetry-stdout/CHANGELOG.md index 42cc896e65..2f5fd9e220 100644 --- a/opentelemetry-stdout/CHANGELOG.md +++ b/opentelemetry-stdout/CHANGELOG.md @@ -5,8 +5,7 @@ - Bump msrv to 1.75.0. - *Breaking* time fields, `StartTime` and `EndTime` is printed on aggregation (Sum, Gauge, Histogram, ExpoHistogram) with 2 tabs, previously it was on aggregation data point, with 3 tabs, see [#2377](https://github.com/open-telemetry/opentelemetry-rust/pull/2377) and [#2411](https://github.com/open-telemetry/opentelemetry-rust/pull/2411). -- `LogExporter.shutdown` and `SpanExporter.shutdown` now explicitly return a result. The - semantics of the method have not changed, but you will have a new lint encouraging you to consume these results. +- `LogExporter.shutdown` and `SpanExporter.shutdown` now explicitly return a result ## 0.27.0