NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #651 most downloaded on crates.io
Helper implementations for sending HTTP requests. Uses include propagating and extracting context over http, exporting telemetry, requesting sampling strategies.
Latest stable
0.33.1
Last release 1 months ago
09 Oct 2026
Release timing varies
gaps range from 3 weeks to 8 months
Nearly every release is documented
notes for 24 of 24 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
25 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
opentelemetry-http 0.33.1 release
opentelemetry-http 0.33.1 release
Released 2026-Oct-08
See the 0.33.0 release notes and migration guidance .
See the 0.33.0 release notes and migration guidance.
The OTLP exporters for Logs and Metrics remain release candidates. We plan to declare them stable in 0.33.1 after approximately two weeks of validation, provided no issues requiring breaking API changes arise. The Logs and Metrics API and SDK remain stable; Distributed Tracing remains pre-stable.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
First release of opentelemetry-propagator-b3, providing B3 trace context propagation for OpenTelemetry Rust.
Based on the B3 implementation in opentelemetry-zipkin, with the existing API and behavior. B3 users can migrate their dependency and imports to opentelemetry_propagator_b3::{B3Encoding, Propagator}.
Released 2026-Sep-18
Apply HyperClient's configured timeout to the complete response body, not
only request dispatch and response headers.
Breaking Sealed the ResponseExt trait so it can no longer be implemented by
downstream crates. The trait provides a blanket implementation for all
http::Response<T> types, so calling code is unaffected -- only
impl ResponseExt for MyType will stop compiling. If you have a custom
implementation, remove it and rely on the blanket impl instead.
Breaking Removed the deprecated HttpClient::send method, which accepted
Request<Vec<u8>>. Implement and call HttpClient::send_bytes instead,
converting existing requests with request.map(Bytes::from) when needed.
Breaking: Remove opentelemetry_http::hyper::Body, which is no longer used
by any public constructor. Use http_body_util::Full<Bytes> for custom Hyper
client request bodies.
Limit HTTP response body reads to 4 MiB in built-in HTTP clients (reqwest async/blocking and hyper). Reads exceeding the limit are aborted to prevent unbounded memory allocation and return the new opaque ResponseBodyTooLarge error. Custom HTTP clients can construct this error with ResponseBodyTooLarge::new() or ResponseBodyTooLarge::default().
Breaking Built-in reqwest and hyper clients now return HTTP 4xx and 5xx
responses as Ok(Response<Bytes>) instead of Err(HttpError). Here, Ok
means that the transport completed the request and received an HTTP response;
it does not imply a successful HTTP status. This preserves the response status
and headers for exporter retry classification. Transport failures and timeouts
continue to return Err.
If your code relied on send_bytes returning Err for non-success statuses,
call ResponseExt::error_for_status() on the response instead.
Breaking Removed reqwest-rustls-webpki-roots feature. The webpki-roots cargo feature was
removed from reqwest in v0.13.0. Use reqwest-rustls instead, which now correctly enables
reqwest/rustls (platform native trust roots). To use Mozilla's embedded CA bundle, construct a
custom reqwest::Client with a rustls::ClientConfig containing
rustls::RootCertStore::from_iter(webpki_roots::TLS_SERVER_ROOTS.iter().cloned()), then supply it
to the exporter with with_http_client().
"opentelemetry-http 0.32.0 release."
"opentelemetry-http 0.32.0 release."
Released 2026-May-08
reqwest's crypto backend has changed from ring to aws-lc-sys.See changelog for individual crates to know the exact set of changes. All crates in this repo follows same version (0.31.0 for this release).
See changelog for individual crates to know the exact set of changes. All crates in this repo follows same version (0.31.0 for this release).
Released 2025-Sep-25
Extractor::get_all for HeaderExtractorHttpClient implementation for HyperClient<C> with custom connectors beyond HttpConnector, enabling Unix Domain Socket connections and other custom transportsreqwest and reqwest-blocking features to enable async and blocking
reqwest HTTP clientsopentelemetry dependency to version 0.31.0.Nothing published for this version
Updated opentelemetry dependency to version 0.30.0.
Released 2025-May-23
opentelemetry dependency to version 0.30.0.Update opentelemetry dependency version to 0.29.
Released 2025-Mar-21
opentelemetry dependency version to 0.29.Add HttpClient::send_bytes with bytes::Bytes request payload and deprecate old HttpClient::send function.
Released 2025-Feb-10
opentelemetry dependency version to 0.28.tracing crate.HttpClient::send_bytes with bytes::Bytes request payload and deprecate old HttpClient::send function.Released 2025-Feb-10
Update opentelemetry dependency version to 0.27
Released 2024-Nov-08
Update opentelemetry dependency version to 0.27
Bump MSRV to 1.70 #2179
Update opentelemetry dependency version to 0.26
Released 2024-Sep-30
opentelemetry dependency version to 0.26Released 2024-Sep-30
semconv_experimental to enable experimental semantic conventions.
This feature is disabled by default.Update opentelemetry dependency version to 0.25
opentelemetry dependency version to 0.25opentelemetry crate
on major,minor versions.Upgrade note: exporter pipelines do not return an uninstall guard as of #444, use opentelemetry::shutdown_tracer_provider explicitly instead.
Upgrade note: exporter pipelines do not return an uninstall guard as of #444, use opentelemetry::global::shutdown_tracer_provider explicitly instead.
from_env and use environment variables to initialize the configurations by default #459Instrumentation library support #402
with_unit methods in metrics #431Send, Sync to AsyncInstrument in metrics #422Send, Sync to InstrumentCore in metrics #423http dependencies into a new opentelemetry-http crate #415tonic dependency #414reqwest-rustls-webpki-roots feature flag to configure reqwest to use embedded webpki-roots.opentelemetry dependency version to 0.23Fix remote implicit builder context sampling #405
reqwest usage to use rustls via
reqwest/rustls-tls feature flag
1638.Add force_flush method to span processors #358
force_flush method to span processors #358force_flush and shutdown #362Display trait for Key and Value types #353Option from Array values #359ShouldSample's parent parameter to be Context #368trace module into TraceError #371#[must_use] to uninstall structs #372sdk::export #375start_from_context renamed to start_with_context #399build_with_context as full context is now stored in builder #399with_parent renamed to with_parent_context #399HistogramAggregator returning sum vs count #398Add support for baggage metadata #287
api prefix from modules #305mark_as_active_span and get_active_span functions into trace module #310SpanContext to SpanReference #299Box<dyn Error + Send + Sync + 'static> #284GenericProvider to GenericTracerProvider #313SpanStatus enum to Ok, Error, and Unset variants #315Display trait for Key and Value types #353SpanProcessor trait into sdk module #334is_recording is false and span is no-op after end #341ExportResult to use std::result::Result #347SpanExporter::export to take &mut self instead of &self #350u64 and bytes kv values #323&str #332Add fields method to TextMapFormat #178
fields method to TextMapFormat #178tracestate in TraceContextPropagator #191TraceState to SpanContext #217from_env config option for BatchSpanProcessor #228Sampler::Probability to Sampler::TraceIdRatioBased #188HTTPTextPropagator to TextMapPropagator #192Provider to TracerProvider #206CorrelationContext into Baggage #208ShouldSample implementation to modify trace state #237!Send #239new constructor #240baggage header #246api to api::trace #255tonic feature to use version 0.3.x #258sdk::propagation #266SamplingDecision's NotRecord, Record and RecordAndSampled to
Drop RecordOnly and RecordAndSample #247Add custom span processors to Provider::Builder #166
Provider::Builder #166Carrier into Injector and Extractor #164ParentOrElse(AlwaysOn) #163Sampler interface to the SDK #169New ParentOrElse sampler for fallback logic if parent is not sampled. #128
ParentOrElse sampler for fallback logic if parent is not sampled. #128record_exception and record_exception_with_stacktrace methods to Span #152Always is now AlwaysOn. Never is now AlwaysOff. Probability now ignores parent
sampled state.base64 and binary_propagator have been moved to experimental module. #134Correlation-Context header has been updated to otcorrelations #145B3Propagator has been updated to more closely follow the spec #148byte and http types #798Add http and tonic features to impl Carrier for common types.
http and tonic features to impl Carrier for common types.span_id from sampling parameters when implementing custom samplers.Context Send + Sync in #127Derive Clone for B3Propagator, SamplingResult, and SpanBuilder
Clone for B3Propagator, SamplingResult, and SpanBuilderFrom<T> for common Key and Value typestracer methodResource APIContext APICorrelations APIHttpTextCompositePropagator for composing HttpTextPropagatorsGlobalPropagator for globally configuring a propagatorTraceContextExt to provide methods for working with trace data in a contextEvictedQueue constructorSpan are Send and Sync when used in globalKey and Value method signatures to remove Cow referencesstart now uses the implicit current context instead of an explicit span context.
start_with_context may be used to specify a context if desired.with_span now accepts a span for naming consistency and managing the active state of a more
complex span (likely produced by a builder), and the previous functionality that accepts a
&str has been renamed to in_span, both of which now yield a context to the provided closure.get_active_span now accepts a closureInstrument trait has been renamed to FutureExt to avoid clashing with metric instruments,
and instead accepts contexts via with_context.get_context method has been renamed to span_context to avoid ambiguity.HttpTextPropagators inject the current context instead of an explicit span context. The context
can be specified with inject_context.SpanData's context has been renamed to span_contextTraceparent header to traceparentTracerGenerics methods have been folded in to the Tracer trait so it is longer neededmark_span_as_inactive has been removedas_any methodmark_as_active, mark_as_inactive, and as_any have been removedfrom_env and use environment variables to initialize the configurations by default #459Update Span's add_event and add_event_with_timestamp to accept attributes.
trace_id to SpanBuilderattributes to Events.Span's add_event and add_event_with_timestamp to accept attributes.Linksstatus_message to Span and SpanDataSpanStatus to StatusCodeEvictedQueue internals from LIFO to FIFOEvictedHashMapshutdown correctly when span processors and exporters are droppedSwitch to SpanId and TraceId from u64 and u128
SpanId and TraceId from u64 and u128&mut self requirements for Span APIHttpClient #511Make trace and metrics features optional
Opentelemetry integration with http #415
One column per quarter.