Added
opentelemetry-docker-tests: Refactor Docker tests to properly validate contents of exported telemetry (#5220)opentelemetry-exporter-otlp-common: add shared package for common OTLP utilities (#5252)opentelemetry-sdk: addMissingDependencyErrorexception for declarative configuration and use it for missing optional dependency errors (#5265)opentelemetry-sdk: Add ability to refresh process dependent Resource attributes (#5280)opentelemetry-sdk: addforce_flushmethod toLogRecordExporterABC (#5294)opentelemetry-sdk: Make it possible to limit the size of stored spans in InMemorySpanExporter (#5296)opentelemetry-sdk: add log record limits environment variablesOTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMITandOTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT(#5300)opentelemetry-sdk: add support for file exporter with declarative config (#5311)opentelemetry-sdk: exposeSynchronousMultiLogRecordProcessorandConcurrentMultiLogRecordProcessorpublicly (#5327)opentelemetry-sdk: point the declarative configuration package README at the shared language support status matrix in theopentelemetry-configurationrepo, so Python conformance status lives alongside the other languages instead of being duplicated per language SDK. (#5347)opentelemetry-sdk: document that Python-implementation extensions (OTEL_PYTHON_*variables) are bypassed whenOTEL_CONFIG_FILEis set. The env-var initialisation path is skipped entirely in favour of the declarative file; honouring these alongside a config file is tracked as a follow-up. (#5353)opentelemetry-sdk: wire id_generator from declarative configuration to TracerProvider (#5363)opentelemetry-sdk: Add support for activating instrumentors from a declarative configuration file via theinstrumentation/development.pythonsection. Instrumentors can declare aconfigurationattribute to have their options validated through the same type-coercion pipeline used for SDK component configuration. (#5372)opentelemetry-sdk: addrecord_min_maxoption toExponentialBucketHistogramAggregation, matching the option already available onExplicitBucketHistogramAggregationand required by the specification (#5377)
Changed
- opentelemetry-sdk: revert BoundedAttributes RLock back to Lock (#5329)
- docs: update logs example to use
opentelemetry-instrumentation-logging(#5344) opentelemetry-sdk: bump declarative configuration schema to v1.1.0 (#5345)opentelemetry-configuration: declarative configuration moves fromopentelemetry.sdk._configurationinto the new publicopentelemetry-configurationpackage (opentelemetry.configurationnamespace), published experimentally.opentelemetry-sdk[file-configuration]continues to work as an alias that installsopentelemetry-configurationalongside the SDK. (#5356)opentelemetry-api: remove env carrier environment snapshot caching, you now have to pass explicitly the mapping where to get the environment variables from as theEnvironmentGetter.getfirst argument. (#5366)opentelemetry-semantic-conventions: bump to 1.42.0 (#5410)opentelemetry-semantic-conventions: bump to 1.43.0 (#5413)
Removed
opentelemetry-api,opentelemetry-sdk: Removed deprecated Events API/SDK. UseLogRecordwith theevent_namefield set instead. (#5293)
Fixed
opentelemetry-sdk: OptimizeLogRecordmemory inBatchLogRecordProcessorby clearing theContextobject before buffering. This is a potentially breaking change for custom log exporters that accesscontextfrom the exportedReadableLogRecord, as the context will now be an emptyContext()instead of the original. (#4977)opentelemetry-sdk: drop non-finite measurements (NaN and Inf) at the instrument level to prevent permanent aggregation poisoning (#5336)opentelemetry-sdk: raiseValueErrorwhenExplicitBucketHistogramAggregationboundaries are not strictly increasing or finite (#5340)opentelemetry-sdk:ProcessResourceDetectorno longer collects or emitsprocess.command_argsandprocess.command_lineby default since the values are not sanitized and may contain sensitive information. Users who depend on these resource attributes must passinclude_command_args=True. (#5364)opentelemetry-exporter-otlp-proto-http: fix the OTLP HTTP metric exporter self-observability metrics over-counting data points whenmax_export_batch_sizesplits a batch; each split now reports its own data-point count instead of the whole-batch count. (#5370)opentelemetry-api: Prevent in-place mutation ofContextvia inheriteddictmethods (#5399)