NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #111 most downloaded on PyPI
OpenTelemetry Python Proto
Last release 2 months ago
16 Jul 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 60 of 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
73 releases · first in 2020
One column per quarter.
Added py.typed file to every package. This should resolve a bunch of mypy errors for users.
py.typed file to every package. This should resolve a bunch of mypy
errors for users. (#1720)SpanKind to should_sample parameters, suggest using parent span context's tracestate
instead of manually passed in tracestate in should_sample (#1764)B3Format propagator to be spec compliant by not modifying context
when propagation headers are not present/invalid/empty (#1728)__contains__ to opentelementry.trace.span.TraceState. (#1773)opentelemetry-opentracing-shim Fix an issue in the shim where a Span was being wrapped
in a NonRecordingSpan when it wasn't necessary. (#1776)Document how to work with fork process web server models(Gunicorn, uWSGI etc...)
opentelemetry-ext-max_attr_value_length support to Jaeger exporter
(#1633)use_span from Tracer to opentelemetry.trace.use_span.
(#1668)opentelemetry.trace.use_span() will now overwrite previously set status on span in case an
exception is raised inside the context manager and set_status_on_exception is set to True.
(#1668)udp_split_oversized_batches support to jaeger exporter
(#1500)service_name from constructor of jaeger and opencensus exporters and
use of env variable OTEL_PYTHON_SERVICE_NAME
([#1669])(https://github.com/open-telemetry/opentelemetry-python/pull/1669)IdsGenerator to IdGenerator
(#1651)create_empty to get_empty
(#1653)BatchExportSpanProcessor to BatchSpanProcessor and SimpleExportSpanProcessor to
SimpleSpanProcessor
(#1656)DefaultSpan to NonRecordingSpan
(#1661)OTEL_TRACES_EXPORTER env var set to otlp
(#1657)Getter, Setter and TextMapPropagator out of opentelemetry.trace.propagation and
into opentelemetry.propagators
(#1662)BaggagePropagator to W3CBaggagePropagator
(#1663)JaegerSpanExporter to JaegerExporter and rename ZipkinSpanExporter to ZipkinExporter
(#1664)StatusCode from the opentelemetry.trace module
(#1681)description when status_code is set to StatusCode.ERROR
(#1673)0.7.0
(#1674)opentelemetry-exporter-jaeger package into opentelemetry-exporter-jaeger-proto-grpc and
opentelemetry-exporter-jaeger-thrift packages to reduce dependencies for each one.
(#1694)opentelemetry-exporter-otlp-proto-grpc and changed opentelemetry-exporter-otlp to
install it as a dependency. This will allow for the next package/protocol to also be in
its own package.
(#1695)OTEL_TRACES_EXPORTER resulting in an error
(#1707)opentelemetry-exporter-zipkin-json and
opentelemetry-exporter-zipkin-proto-http packages to reduce dependencies. The
opentelemetry-exporter-zipkin installs both.
(#1699)get_hexadecimal_trace_id and get_hexadecimal_span_id methods.
(#1675)OTEL_EXPORTER_*_ INSECURE env var
(#1682)service_name from constructor of jaeger and opencensus exporters and
use of env variable OTEL_PYTHON_SERVICE_NAME
([#1669])(https://github.com/open-telemetry/opentelemetry-python/pull/1669)IdsGenerator to IdGenerator
(#1651)Release only affects core Opentelemetry components listed below: opentelemetry-api opentelemetry-sdk opentelemetry-exporter-otlp opentelemetry-exporte
Release only affects core Opentelemetry components listed below:
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp
opentelemetry-exporter-jaeger
opentelemetry-exporter-zipkin
opentelemetry-proto
opentelemetry-propagator-b3
opentelemetry-propagator-jaeger
TRACE_ to TRACES_ for environment variables (#1595])end_on_exit argument to start_as_current_span (#1519])Span.set_attributes method to set multiple values with one call (#1520)TRACE_ to TRACES_ for environment variables
(#1595)BatchExportSpanProcessor flushes export queue when it reaches max_export_batch_size
(#1521)end_on_exit argument to start_as_current_span
(#1519)Span.set_attributes method to set multiple values with one call
(#1520)Add protobuf via gRPC exporting support for Jaeger
fields to propagators (#1374)None for DictGetter if key not found (#1449)opentelemetry-instrumentation package. The
opentelemetry-sdk package now registers an entrypoint opentelemetry_configurator
to allow opentelemetry-instrument to load the configuration for the SDK (#1420)opentelemetry-exporter-zipkin Add support for array attributes in Span and Resource exports (#1285)__repr__ for DefaultSpan, added trace_flags to __repr__ of
SpanContext (#1485])opentelemetry-sdk Add support for OTEL_TRACE_SAMPLER and OTEL_TRACE_SAMPLER_ARG env variables (#1496)opentelemetry-distro package to add default configuration for
span exporter to OTLP (#1482)opentelemetry-exporter-zipkin Updated zipkin exporter status code and error tag (#1486)start_as_current_span-decorated function (#1451)opentelemetry-exporter-otlp Headers are now passed in as tuple as metadata, instead of a
string, which was incorrect. (#1507)opentelemetry-exporter-jaeger Updated Jaeger exporter status code tag (#1488)opentelemetry-api opentelemety-sdk Moved idsgenerator into sdk (#1514)opentelemetry-sdk The B3Format propagator has been moved into its own package: opentelemetry-propagator-b3 (#1513)opentelemetry-exporter-zipkin Update boolean attribute value transformation (#1509)opentelemetry-sdk The JaegerPropagator has been moved into its own package: opentelemetry-propagator-jaeger (#1525)opentelemetry-exporter-jaeger, opentelemetry-exporter-zipkin Update InstrumentationInfo tag keys for Jaeger and Zipkin exporters (#1535)opentelemetry-sdk Remove rate property setter from TraceIdRatioBasedSampler (#1536)opentelemetry-api Remove ThreadLocalRuntimeContext since python3.4 is not supported. (#1482)Add meter reference to observers to fix #1424
One major change done as part of this release was to move the instrumentation out of the core repo and into the contrib repo. This change should not i
One major change done as part of this release was to move the instrumentation out of the core repo and into the contrib repo. This change should not impact users of the published packages, but the release notes for instrumentation packages will now be available in the contrib repo.
🚀 Enhancements
record_exception method (#1314)🚀 Enhancements
OTEL_EXPORTER to the opentelemetry-instrument command (#1036)💥 Breaking Changes
💥 Breaking Changes
MetricRecord class to ExportRecord (#1367)Record class to Accumulation (#1373)Meter class to Accumulator (#1372)🚀 Enhancements)
Add optional parameter to record_exception method (#1314)
Update exception handling optional parameters, add escaped attribute to record_exception (#1365)
ParentBased sampler for implicit parent spans. Fix also trace_state erasure for dropped spans or spans sampled by the TraceIdRatioBased sampler. (#1394)🚀 Enhancements
💥 Breaking Changes
🚀 Enhancements
🚀 Enhancements
record_exception method
(#1314)OTEL_EXPORTER to the opentelemetry-instrument command
(#1036)MetricRecord to ExportRecord
(#1367)Record to Accumulation
(#1373)Meter to Accumulator
(#1372)ParentBased sampler for implicit parent spans. Fix also trace_state
erasure for dropped spans or spans sampled by the TraceIdRatioBased sampler.
(#1394)Updating status codes to adhere to spec
💥 Breaking Changes
🚀 Enhancements
💥 Breaking Changes
🚀 Enhancements
SpanProcessor.on_start accept parent Context (#1251)🚀 Enhancements
SpanProcessor.on_start accept parent Context (#1251)🚀 Enhancements
🚀 Enhancements
🚀 Enhancements
OTEL_PYTHON_DJANGO_INSTRUMENT to False (#1239)🚀 Enhancements
url.rule instead of request.endpoint for span name (#1260)🚀 Enhancements
🚀 Enhancements
SpanProcessor.on_start accept parent Context
(#1251)Update baggage propagation header
💥 Breaking Changes
🚀 Enhancements
OTEL_PROPAGATORS (#1123)ints as ints in the global Configuration object
(#1118)IdsGenerator for TracerProvider (#1153)💥 Breaking Changes
🚀 Enhancements
OTEL_BSP_MAX_QUEUE_SIZE, OTEL_BSP_SCHEDULE_DELAY_MILLIS, OTEL_BSP_MAX_EXPORT_BATCH_SIZE and OTEL_BSP_EXPORT_TIMEOUT_MILLIS environment variables (#1105)IdsGenerator for TracerProvider (#1153)start_as_current_span and use_span can now optionally auto-record any exceptions raised inside the context manager. (#1162)🚀 Enhancements
💥 Breaking Changes
🚀 Enhancements
🚀 Enhancements
max_tag_value_length attribute to customize the maximum allowed size a tag value can have. (#1151)🚀 Enhancements
🚀 Enhancements
OTEL_PYTHON_DJANGO_TRACED_REQUEST_ATTRS (#1154)🚀 Enhancements
OTEL_PYTHON_FALCON_TRACED_REQUEST_ATTRS (#1158)🚀 Enhancements
🐛 Bug Fixes
🚀 Enhancements
OTEL_PYTHON_TORNADO_TRACED_REQUEST_ATTRS (#1178)🚀 Enhancements
🐛 Bug Fixes
record_exception method
(#1242)OTEL_PROPAGATORS
(#1123)OTEL_BSP_MAX_QUEUE_SIZE, OTEL_BSP_SCHEDULE_DELAY_MILLIS, OTEL_BSP_MAX_EXPORT_BATCH_SIZE
and OTEL_BSP_EXPORT_TIMEOUT_MILLIS environment variables
(#1105)ints as ints in the global Configuration object
(#1118)IdsGenerator for TracerProvider
(#1153)max_tag_value_length attribute to customize the
maximum allowed size a tag value can have.
(#1151)start_as_current_span and use_span can now optionally auto-record any exceptions raised inside the context
manager.
(#1162)The 0.13b0 version officially drops support for Python 3.4
The 0.13b0 version officially drops support for Python 3.4 (#1099)
💥 Breaking Changes
SpanContext.is_valid from a method to a data attribute (#1005)get_global_httptextformat and set_global_httptextformat to get_global_textmap and set_global_textmap (#1085)🐛 Bug Fixes
correlationcontext.get_correlations to immutable MappingProxyType (#1024)💥 Breaking Changes
trace.sampling.Decision enum (#1115)🚀 Enhancements
🐛 Bug Fixes
🚀 Enhancements
🚀 Enhancements
🚀 Enhancements
url argument to replace host_name, port, protocol, endpoint. This brings this implementation inline with other implementations. (#1064)🚀 Enhancements
🐛 Bug Fixes
🚀 Enhancements
🚀 Enhancements
url argument to replace host_name,
port, protocol, endpoint. This brings this implementation inline with other
implementations.
(#1064)SpanContext.is_valid from a method to a data attribute
(#1005)correlationcontext.get_correlations to immutable MappingProxyType
(#1024)get_global_httptextformat and
set_global_httptextformat to get_global_textmap and set_global_textmap
(#1085)trace.sampling.Decision enum
(#1115)OTELResourceDetector result when creating resources
(#1096)Update environment variable names, prefix changed from OPENTELEMETRY to OTEL
OPENTELEMETRY to OTEL
(#904)ParentOrElse(AlwaysOn)
(#960)OPENTELEMETRY to OTEL
(#904)OTEL_RESOURCE to OTEL_RESOURCE_ATTRIBUTES as per
the specificationAdd support for resources and resource detector
Regenerate proto code and add pyi stubs
Adding trace.get_current_span, Removing Tracer.get_current_span
opentelemetry-auto-instrumentation to opentelemetry-instrumentYour coding agent can read these notes before it upgrades. Set up the MCP server →