Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changelog/4854.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-api`, `opentelemetry-sdk`: add support for 'random-trace-id' flags in W3C traceparent header trace flags. Implementations of `IdGenerator` that do randomly generate the 56 least significant bits, should also implement a `is_trace_id_random` methods that returns `True`.
1 change: 1 addition & 0 deletions .changelog/4908.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
logs: add exception support to Logger emit and LogRecord attributes
Comment thread
MikeGoldsmith marked this conversation as resolved.
1 change: 1 addition & 0 deletions .changelog/4917.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-exporter-otlp-proto-grpc`: make retryable gRPC error codes configurable for gRPC exporters
1 change: 1 addition & 0 deletions .changelog/4990.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: Add `create_logger_provider`/`configure_logger_provider` to declarative file configuration, enabling LoggerProvider instantiation from config files without reading env vars
1 change: 1 addition & 0 deletions .changelog/4996.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-exporter-otlp-json-common`: add 'opentelemetry-exporter-otlp-json-common' package for OTLP JSON exporters
1 change: 1 addition & 0 deletions .changelog/5003.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: Add `service` resource detector support to declarative file configuration via `detection_development.detectors[].service`
1 change: 1 addition & 0 deletions .changelog/5055.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `registry` keyword argument to `PrometheusMetricReader` to allow passing a custom Prometheus registry
1 change: 1 addition & 0 deletions .changelog/5076.removed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Drop Python 3.9 support
1 change: 1 addition & 0 deletions .changelog/5077.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix incorrect code example in `create_tracer()` docstring
Comment thread
xrmx marked this conversation as resolved.
1 change: 1 addition & 0 deletions .changelog/5083.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: Fix `ProcessResourceDetector` to use `sys.orig_argv` so that `process.command`, `process.command_line`, and `process.command_args` reflect the original invocation for `python -m <module>` runs (where `sys.argv[0]` is rewritten to the module path)
1 change: 1 addition & 0 deletions .changelog/5088.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add WeaverLiveCheck test util
1 change: 1 addition & 0 deletions .changelog/5091.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: fix YAML structure injection via environment variable substitution in declarative file configuration; values containing newlines are now emitted as quoted YAML scalars per spec requirement
1 change: 1 addition & 0 deletions .changelog/5093.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: add `load_entry_point` shared utility to declarative file configuration for loading plugins via entry points; refactor propagator loading to use it
1 change: 1 addition & 0 deletions .changelog/5095.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: add sampler plugin loading to declarative file configuration via the `opentelemetry_sampler` entry point group, matching the spec's PluginComponentProvider mechanism
1 change: 1 addition & 0 deletions .changelog/5096.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-semantic-conventions`: use `X | Y` union annotation
1 change: 1 addition & 0 deletions .changelog/5119.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-api`: update `EnvironmentGetter` and `EnvironmentSetter` to use normalized environment variable names
1 change: 1 addition & 0 deletions .changelog/5120.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: make resource detector ordering deterministic
1 change: 1 addition & 0 deletions .changelog/5131.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: add `additional_properties` support to generated config models via custom `datamodel-codegen` template, enabling plugin/custom component names to flow through typed dataclasses
1 change: 1 addition & 0 deletions .changelog/5133.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Apply fixes for `UP` ruff rule
1 change: 1 addition & 0 deletions .changelog/5135.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix incorrect type annotation on `detectors` parameter of `get_aggregated_resources`
1 change: 1 addition & 0 deletions .changelog/5145.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: only load entrypoints for resource detectors if they are configured via `OTEL_EXPERIMENTAL_RESOURCE_DETECTORS`
1 change: 1 addition & 0 deletions .changelog/5149.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci: wait for tracecontext server readiness instead of a fixed sleep in `scripts/tracecontext-integration-test.sh`
1 change: 1 addition & 0 deletions .changelog/5151.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ability to selectively enable exporting of SDK internal metrics with the `OTEL_PYTHON_SDK_INTERNAL_METRICS_ENABLED` environment variable.
1 change: 1 addition & 0 deletions .changelog/5163.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-api`: Enforce W3C Baggage size limits on outbound propagation in `W3CBaggagePropagator.inject()`. Previously only inbound extraction enforced limits; now inject also caps entries at 180, individual pairs at 4096 bytes, and total header at 8192 bytes per the W3C Baggage spec. The extract path max_pairs limit now counts all size-valid entries rather than only successfully parsed ones.
Comment thread
MikeGoldsmith marked this conversation as resolved.
1 change: 1 addition & 0 deletions .changelog/5177.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Switch to SPDX license headers and add CI enforcement
1 change: 1 addition & 0 deletions .changelog/5179.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-sdk`: fix multi-processor `force_flush` skipping remaining processors when one returns `None`
55 changes: 0 additions & 55 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,61 +20,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- changelog start -->

## Unreleased

- `opentelemetry-sdk`: fix multi-processor `force_flush` skipping remaining processors when one returns `None`
([#5179](https://github.com/open-telemetry/opentelemetry-python/pull/5179))
- Apply fixes for `UP` ruff rule
([#5133](https://github.com/open-telemetry/opentelemetry-python/pull/5133))
- Switch to SPDX license headers and add CI enforcement
([#5177](https://github.com/open-telemetry/opentelemetry-python/pull/5177))
- `opentelemetry-api`: Enforce W3C Baggage size limits on outbound propagation in `W3CBaggagePropagator.inject()`. Previously only inbound extraction enforced limits; now inject also caps entries at 180, individual pairs at 4096 bytes, and total header at 8192 bytes per the W3C Baggage spec. The extract path max_pairs limit now counts all size-valid entries rather than only successfully parsed ones.
([#5163](https://github.com/open-telemetry/opentelemetry-python/pull/5163))
- `opentelemetry-sdk`: add `additional_properties` support to generated config models via custom `datamodel-codegen` template, enabling plugin/custom component names to flow through typed dataclasses
([#5131](https://github.com/open-telemetry/opentelemetry-python/pull/5131))
- Fix incorrect code example in `create_tracer()` docstring
([#5072](https://github.com/open-telemetry/opentelemetry-python/issues/5072))
- `opentelemetry-sdk`: add `load_entry_point` shared utility to declarative file configuration for loading plugins via entry points; refactor propagator loading to use it
([#5093](https://github.com/open-telemetry/opentelemetry-python/pull/5093))
- `opentelemetry-sdk`: fix YAML structure injection via environment variable substitution in declarative file configuration; values containing newlines are now emitted as quoted YAML scalars per spec requirement
([#5091](https://github.com/open-telemetry/opentelemetry-python/pull/5091))
- `opentelemetry-sdk`: Add `create_logger_provider`/`configure_logger_provider` to declarative file configuration, enabling LoggerProvider instantiation from config files without reading env vars
([#4990](https://github.com/open-telemetry/opentelemetry-python/pull/4990))
- `opentelemetry-sdk`: Add `service` resource detector support to declarative file configuration via `detection_development.detectors[].service`
([#5003](https://github.com/open-telemetry/opentelemetry-python/pull/5003))
- logs: add exception support to Logger emit and LogRecord attributes
([#4907](https://github.com/open-telemetry/opentelemetry-python/issues/4907))
- Drop Python 3.9 support
([#5076](https://github.com/open-telemetry/opentelemetry-python/pull/5076))
- `opentelemetry-semantic-conventions`: use `X | Y` union annotation
([#5096](https://github.com/open-telemetry/opentelemetry-python/pull/5096))
- `opentelemetry-sdk`: Fix `ProcessResourceDetector` to use `sys.orig_argv` so that `process.command`, `process.command_line`, and `process.command_args` reflect the original invocation for `python -m <module>` runs (where `sys.argv[0]` is rewritten to the module path)
([#5083](https://github.com/open-telemetry/opentelemetry-python/pull/5083))
- `opentelemetry-sdk`: make resource detector ordering deterministic
([#5120](https://github.com/open-telemetry/opentelemetry-python/pull/5120))
- Add WeaverLiveCheck test util
([#5088](https://github.com/open-telemetry/opentelemetry-python/pull/5088))
- Fix incorrect type annotation on `detectors` parameter of `get_aggregated_resources`
([#5135](https://github.com/open-telemetry/opentelemetry-python/pull/5135))
- ci: wait for tracecontext server readiness instead of a fixed sleep in `scripts/tracecontext-integration-test.sh`
([#5149](https://github.com/open-telemetry/opentelemetry-python/pull/5149))
- `opentelemetry-api`: update `EnvironmentGetter` and `EnvironmentSetter` to use normalized environment variable names
([#5119](https://github.com/open-telemetry/opentelemetry-python/pull/5119))
- `opentelemetry-sdk`: only load entrypoints for resource detectors if they are configured via `OTEL_EXPERIMENTAL_RESOURCE_DETECTORS`
([#5145](https://github.com/open-telemetry/opentelemetry-python/pull/5145))
- `opentelemetry-exporter-otlp-json-common`: add 'opentelemetry-exporter-otlp-json-common' package for OTLP JSON exporters
([#4996](https://github.com/open-telemetry/opentelemetry-python/pull/4996))
- `opentelemetry-exporter-otlp-proto-grpc`: make retryable gRPC error codes configurable for gRPC exporters
([#4917](https://github.com/open-telemetry/opentelemetry-python/pull/4917))
- `opentelemetry-sdk`: add sampler plugin loading to declarative file configuration via the `opentelemetry_sampler` entry point group, matching the spec's PluginComponentProvider mechanism
([#5095](https://github.com/open-telemetry/opentelemetry-python/pull/5095))
- Add `registry` keyword argument to `PrometheusMetricReader` to allow passing a custom Prometheus registry
([#5055](https://github.com/open-telemetry/opentelemetry-python/pull/5055))
- Add ability to selectively enable exporting of SDK internal metrics with the `OTEL_PYTHON_SDK_INTERNAL_METRICS_ENABLED` environment variable.
([#5151](https://github.com/open-telemetry/opentelemetry-python/pull/5151))
- `opentelemetry-api`, `opentelemetry-sdk`: add support for 'random-trace-id' flags in W3C traceparent header trace flags. Implementations of `IdGenerator` that do randomly generate the 56 least significant bits, should also implement a `is_trace_id_random` methods that returns `True`.
([#4854](https://github.com/open-telemetry/opentelemetry-python/pull/4854))

## Version 1.41.0/0.62b0 (2026-04-09)


Expand Down
Loading