Releases: open-telemetry/opentelemetry-python
Releases · open-telemetry/opentelemetry-python
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-conventionsUpdate 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: AddHttpTestBaseto 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-httpas dependency (#2147)- Fix validity calculation for trace and span IDs (#2145)
- Add
schema_urltoTracerProvider.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-sdkadded support forOTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT(#2044)opentelemetry-sdkAdd support forOTEL_ATTRIBUTE_VALUE_LENGTH_LIMITenv var (#2056)
Changed
opentelemetry-sdkget_aggregated_resource()returns default resource and service name
whenever called (#2013)opentelemetry-distro&opentelemetry-sdkMoved Auto Instrumentation Configurator code to SDK
to let distros use its default implementation (#1937)opentelemetry-sdkTreat limit even vars set to empty values as unset/unlimited. (#2054)opentelemetry-apiAttribute 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-conventionsGenerate semconv constants update for OTel Spec 1.5.0 (#1946)- Moved
opentelemetry-instrumentationto 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-exporterto useservice_nameof spans instead of resource (#1897) - Added descriptions to the env variables mentioned in the opentelemetry-specification (#1898)
- Ignore calls to
Span.set_statuswithStatusCode.UNSETand also if previous status already hadStatusCode.OK. (#1902) - Attributes for
LinkandResourceare immutable as they are forEvent, which means any attempt to modify attributes directly will result in aTypeErrorexception. (#1909) - Added
BoundedAttributesto the API to make it available forLinkwhich is defined in the API. MarkedBoundedDictin 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-shimScopeShimto 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_urlfield toResourceclass (#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
B3SingleFormatandB3MultiFormatpropagators to theopentelemetry-propagator-b3package. (#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
extractand do not modify the context if extracting from carrier does not work. (#1811) - Fixed
b3propagator entrypoint to point toB3SingleFormatpropagator. (#1823) - Added
b3multipropagator entrypoint to point toB3MultiFormatpropagator. (#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_OFreference ([#1809])(#1809) - Fixed sequence values in OTLP exporter not translating (#1818)
Removed
- Moved
opentelemetry-instrumentationto contrib repository. (#1797)
opentelemetry v1.1.0 & v0.20b0
1.1.0 - 2021-04-20
Added
- Added
py.typedfile 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
SpanKindtoshould_sampleparameters, suggest using parent span context's tracestate
instead of manually passed in tracestate inshould_sample(#1764) - Added experimental HTTP back propagators. (#1762)
Changed
- Adjust
B3Formatpropagator 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-shimFix 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_lengthsupport to Jaeger exporter
(#1633) - Moved
use_spanfrom 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_exceptionis set toTrue.
(#1668)- Add
udp_split_oversized_batchessupport to jaeger exporter
(#1500)
Changed
- remove
service_namefrom constructor of jaeger and opencensus exporters and
use of env variableOTEL_PYTHON_SERVICE_NAME
([#1669])(#1669) - Rename
IdsGeneratortoIdGenerator
(#1651) - Make TracerProvider's resource attribute private
(#1652) - Rename Resource's
create_emptytoget_empty
(#1653) - Renamed
BatchExportSpanProcessortoBatchSpanProcessorandSimpleExportSpanProcessorto
SimpleSpanProcessor
(#1656) - Rename
DefaultSpantoNonRecordingSpan
(#1661) - Fixed distro configuration with
OTEL_TRACES_EXPORTERenv var set tootlp
(#1657) - Moving
Getter,SetterandTextMapPropagatorout ofopentelemetry.trace.propagationand
intoopentelemetry.propagators
(#1662) - Rename
BaggagePropagatortoW3CBaggagePropagator
(#1663) - Rename
JaegerSpanExportertoJaegerExporterand renameZipkinSpanExportertoZipkinExporter
(#1664) - Expose
StatusCodefrom theopentelemetry.tracemodule
(#1681) - Status now only sets
descriptionwhenstatus_codeis 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-jaegerpackage intoopentelemetry-exporter-jaeger-proto-grpcand
opentelemetry-exporter-jaeger-thriftpackages to reduce dependencies for each one.
(#1694) - Added
opentelemetry-exporter-otlp-proto-grpcand changedopentelemetry-exporter-otlpto
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_EXPORTERresulting in an error
(#1707) - Split Zipkin exporter into
opentelemetry-exporter-zipkin-jsonand
opentelemetry-exporter-zipkin-proto-httppackages to reduce dependencies. The
opentelemetry-exporter-zipkininstalls both.
(#1699) - Make setters and getters optional
(#1690)
Removed
- Removed unused
get_hexadecimal_trace_idandget_hexadecimal_span_idmethods.
(#1675) - Remove
OTEL_EXPORTER_*_ INSECUREenv var
(#1682) - Removing support for Python 3.5
(#1706)
0.19b0 - 2021-03-26
Changed
- remove
service_namefrom constructor of jaeger and opencensus exporters and
use of env variableOTEL_PYTHON_SERVICE_NAME
([#1669])(#1669) - Rename
IdsGeneratortoIdGenerator
(#1651)
Removed
- Removing support for Python 3.5
(#1706)