Releases: open-telemetry/opentelemetry-python
Releases · open-telemetry/opentelemetry-python
opentelemetry v1.6.1 & v0.25b1
opentelemetry v1.6.0 & v0.25b0
- Fix race in
set_tracer_provider()
(#2182) - Automatically load OTEL environment variables as options for
opentelemetry-instrument
(#1969) opentelemetry-semantic-conventions
Update to semantic conventions v1.6.1 (#2077)- Do not count invalid attributes for dropped (#2096)
- Fix propagation bug caused by counting skipped entries (#2071)
- Add entry point for exporters with default protocol (#2093)
- Do not skip sequence attribute on decode error (#2097)
opentelemetry-test
: AddHttpTestBase
to allow tests with actual TCP sockets (#2101)- Fix incorrect headers parsing via environment variables (#2103)
- Add support for OTEL_ATTRIBUTE_COUNT_LIMIT (#2139)
- Attribute limits no longer apply to Resource attributes (#2138)
opentelemetry-exporter-otlp
: Addopentelemetry-otlp-proto-http
as dependency (#2147)- Fix validity calculation for trace and span IDs (#2145)
- Add
schema_url
toTracerProvider.get_tracer
(#2154) - Make baggage implementation w3c spec complaint (#2167)
opentelemetry v1.5.0 & v0.24b0
Added
- Add Trace ID validation to meet TraceID spec (#1992)
opentelemetry-sdk
added support forOTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT
(#2044)opentelemetry-sdk
Add support forOTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
env var (#2056)
Changed
opentelemetry-sdk
get_aggregated_resource()
returns default resource and service name
whenever called (#2013)opentelemetry-distro
&opentelemetry-sdk
Moved Auto Instrumentation Configurator code to SDK
to let distros use its default implementation (#1937)opentelemetry-sdk
Treat limit even vars set to empty values as unset/unlimited. (#2054)opentelemetry-api
Attribute keys must be non-empty strings. (#2057)
Fixed
opentelemetry v1.4.1 & v0.23b2
Hotfix to address #1988
opentelemetry v1.4.0 & v0.23b0
Added
opentelemetry-semantic-conventions
Generate semconv constants update for OTel Spec 1.5.0 (#1946)- Moved
opentelemetry-instrumentation
to core repository. (#1959) - Dropped attributes/events/links count available exposed on ReadableSpans. (#1893)
- Added dropped count to otlp, jaeger and zipkin exporters. (#1893)
Changed
- Updated
opentelemetry-opencensus-exporter
to useservice_name
of spans instead of resource (#1897) - Added descriptions to the env variables mentioned in the opentelemetry-specification (#1898)
- Ignore calls to
Span.set_status
withStatusCode.UNSET
and also if previous status already hadStatusCode.OK
. (#1902) - Attributes for
Link
andResource
are immutable as they are forEvent
, which means any attempt to modify attributes directly will result in aTypeError
exception. (#1909) - Added
BoundedAttributes
to the API to make it available forLink
which is defined in the API. MarkedBoundedDict
in the SDK as deprecated as a result. (#1915) - Fix OTLP SpanExporter to distinguish spans based off Resource and InstrumentationInfo (#1927)
- Updating dependency for opentelemetry api/sdk packages to support major version instead of pinning to specific versions. (#1933)
Fixed
- Updated
opentelementry-opentracing-shim
ScopeShim
to report exceptions in opentelemetry specification format, rather than opentracing spec format. (#1878)
opentelemetry v1.3.0 & v0.22b0
Added
- Allow span limits to be set programatically via TracerProvider. (#1877)
Changed
- Updated get_tracer to return an empty string when passed an invalid name (#1854)
- Changed AttributeValue sequences to warn mypy users on adding None values to array (#1855)
- Fixed exporter OTLP header parsing to match baggage header formatting. (#1869)
- Added optional
schema_url
field toResource
class (#1871) - Update protos to latest version release 0.9.0 (#1873)
opentelemetry v1.2.0 & v0.21b0
Added
- Added example for running Django with auto instrumentation. (#1803)
- Added
B3SingleFormat
andB3MultiFormat
propagators to theopentelemetry-propagator-b3
package. (#1823) - Added support for OTEL_SERVICE_NAME. (#1829)
Changed
- Fixed OTLP gRPC exporter silently failing if scheme is not specified in endpoint. (#1806)
- Rename CompositeHTTPPropagator to CompositePropagator as per specification. (#1807)
- Propagators use the root context as default for
extract
and do not modify the context if extracting from carrier does not work. (#1811) - Fixed
b3
propagator entrypoint to point toB3SingleFormat
propagator. (#1823) - Added
b3multi
propagator entrypoint to point toB3MultiFormat
propagator. (#1823) - Improve warning when failing to decode byte attribute (#1810)
- Fixed inconsistency in parent_id formatting from the ConsoleSpanExporter (#1833)
- Include span parent in Jaeger gRPC export as
CHILD_OF
reference ([#1809])(#1809) - Fixed sequence values in OTLP exporter not translating (#1818)
Removed
- Moved
opentelemetry-instrumentation
to contrib repository. (#1797)
opentelemetry v1.1.0 & v0.20b0
1.1.0 - 2021-04-20
Added
- Added
py.typed
file to every package. This should resolve a bunch of mypy
errors for users. (#1720) - Add auto generated trace and resource attributes semantic conventions (#1759)
- Added
SpanKind
toshould_sample
parameters, suggest using parent span context's tracestate
instead of manually passed in tracestate inshould_sample
(#1764) - Added experimental HTTP back propagators. (#1762)
Changed
- Adjust
B3Format
propagator to be spec compliant by not modifying context
when propagation headers are not present/invalid/empty (#1728) - Silence unnecessary warning when creating a new Status object without description. (#1721)
- Update bootstrap cmd to use exact version when installing instrumentation packages. (#1722)
- Fix B3 propagator to never return None. (#1750)
- Added ProxyTracerProvider and ProxyTracer implementations to allow fetching provider
and tracer instances before a global provider is set up. (#1726) - Added
__contains__
toopentelementry.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)- OTLP Exporter now uses the scheme in the endpoint to determine whether to establish
a secure connection or not. (#1771)
opentelemetry v1.10a0
This release adds the experimental metrics API/SDK and will include the following packages:
opentelemetry-exporter-prometheus
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-exporter-otlp
opentelemetry v1.0.0 & v0.19b0
NOTE: As part of this release, all old versions have been removed for packages prefixed with opentelemetry-ext-
1.0.0 - 2021-03-26
Added
- Document how to work with fork process web server models(Gunicorn, uWSGI etc...)
(#1609) - Add
max_attr_value_length
support to Jaeger exporter
(#1633) - Moved
use_span
from Tracer toopentelemetry.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 andset_status_on_exception
is set toTrue
.
(#1668)- Add
udp_split_oversized_batches
support to jaeger exporter
(#1500)
Changed
- remove
service_name
from constructor of jaeger and opencensus exporters and
use of env variableOTEL_PYTHON_SERVICE_NAME
([#1669])(#1669) - Rename
IdsGenerator
toIdGenerator
(#1651) - Make TracerProvider's resource attribute private
(#1652) - Rename Resource's
create_empty
toget_empty
(#1653) - Renamed
BatchExportSpanProcessor
toBatchSpanProcessor
andSimpleExportSpanProcessor
to
SimpleSpanProcessor
(#1656) - Rename
DefaultSpan
toNonRecordingSpan
(#1661) - Fixed distro configuration with
OTEL_TRACES_EXPORTER
env var set tootlp
(#1657) - Moving
Getter
,Setter
andTextMapPropagator
out ofopentelemetry.trace.propagation
and
intoopentelemetry.propagators
(#1662) - Rename
BaggagePropagator
toW3CBaggagePropagator
(#1663) - Rename
JaegerSpanExporter
toJaegerExporter
and renameZipkinSpanExporter
toZipkinExporter
(#1664) - Expose
StatusCode
from theopentelemetry.trace
module
(#1681) - Status now only sets
description
whenstatus_code
is set toStatusCode.ERROR
(#1673) - Update OTLP exporter to use OTLP proto
0.7.0
(#1674) - Remove time_ns from API and add a warning for older versions of Python
(#1602) - Hide implementation classes/variables in api/sdk
(#1684) - Cleanup OTLP exporter compression options, add tests
(#1671) - Initial documentation for environment variables
(#1680) - Change Zipkin exporter to obtain service.name from span
(#1696) - Split up
opentelemetry-exporter-jaeger
package intoopentelemetry-exporter-jaeger-proto-grpc
and
opentelemetry-exporter-jaeger-thrift
packages to reduce dependencies for each one.
(#1694) - Added
opentelemetry-exporter-otlp-proto-grpc
and changedopentelemetry-exporter-otlp
to
install it as a dependency. This will allow for the next package/protocol to also be in
its own package.
(#1695) - Change Jaeger exporters to obtain service.name from span
(#1703) - Fixed an unset
OTEL_TRACES_EXPORTER
resulting in an error
(#1707) - Split Zipkin exporter into
opentelemetry-exporter-zipkin-json
and
opentelemetry-exporter-zipkin-proto-http
packages to reduce dependencies. The
opentelemetry-exporter-zipkin
installs both.
(#1699) - Make setters and getters optional
(#1690)
Removed
- Removed unused
get_hexadecimal_trace_id
andget_hexadecimal_span_id
methods.
(#1675) - Remove
OTEL_EXPORTER_*_ INSECURE
env var
(#1682) - Removing support for Python 3.5
(#1706)
0.19b0 - 2021-03-26
Changed
- remove
service_name
from constructor of jaeger and opencensus exporters and
use of env variableOTEL_PYTHON_SERVICE_NAME
([#1669])(#1669) - Rename
IdsGenerator
toIdGenerator
(#1651)
Removed
- Removing support for Python 3.5
(#1706)