Sync from SUSE:SLFO:Main python-opentelemetry-api revision 319a9210caa4bd75f4b84b9427841fda

This commit is contained in:
2025-05-17 15:51:35 +02:00
parent 8ca25e0f7c
commit 9b15fbba5e
4 changed files with 61 additions and 6 deletions

BIN
opentelemetry_api-1.27.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
opentelemetry_api-1.30.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,58 @@
-------------------------------------------------------------------
Tue Feb 25 20:37:54 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.30.0:
* Always setup logs sdk,
OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED only
controls python `logging` module handler setup
* Add `attributes` field in `metrics.get_meter` wrapper
function
* Add Python 3.13 support
* sdk: don't log or print warnings when the SDK has been
disabled
* Fix span context manager typing by using ParamSpec from
typing_extensions
* Fix serialization of None values in logs body to match
1.31.0+ data model
* [BREAKING] semantic-conventions: Remove `opentelemetry.semcon
v.attributes.network_attributes.NETWORK_INTERFACE_NAME`
introduced by mistake in the wrong module.
* Add support for explicit bucket boundaries advisory for
Histograms
* semantic-conventions: Bump to 1.30.0
-------------------------------------------------------------------
Wed Jan 8 12:00:10 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.29.0
* Fix crash exporting a log record with None body
* Fix metrics export with exemplar and no context and filtering observable instruments
* Fix recursion error with sdk disabled and handler added to root logger
* sdk: setup EventLogger when OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED is set
* api: fix logging of duplicate EventLogger setup warning
* sdk: fix setting of process owner in ProcessResourceDetector
* sdk: fix serialization of logs severity_number field to int
* Remove `TestBase.assertEqualSpanInstrumentationInfo` method,
use `assertEqualSpanInstrumentationScope` instead
* sdk: instantiate lazily `ExemplarBucket`s in `ExemplarReservoir`s
* semantic-conventions: Bump to 1.29.0
- from version 1.28.0
* Removed superfluous py.typed markers and added them where they were missing
* Include metric info in encoding exceptions
* sdk: Add support for log formatting
* sdk: Add Host resource detector
* sdk: Implementation of exemplars
* Implement events sdk
* Update semantic conventions to version 1.28.0
* Add support to protobuf 5+ and drop support to protobuf 3 and 4
* Update environment variable descriptions to match signal
* Record logger name as the instrumentation scope name
* Fix memory leak in exporter and reader
* Drop `OTEL_PYTHON_EXPERIMENTAL_DISABLE_PROMETHEUS_UNIT_NORMALIZATION` environment variable
* Improve compatibility with other logging libraries that override
`LogRecord.getMessage()` in order to customize message formatting
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Mon Sep 2 08:01:13 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-opentelemetry-api
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-opentelemetry-api%{?psuffix}
Version: 1.27.0
Version: 1.30.0
Release: 0
Summary: OpenTelemetry Python API
License: Apache-2.0
@@ -51,7 +51,7 @@ Requires: python-aiocontextvars
%endif
%if %{with test}
BuildRequires: %{python_module opentelemetry-api = %{version}}
BuildRequires: %{python_module opentelemetry-test-utils == 0.48b0}
BuildRequires: %{python_module opentelemetry-test-utils == 0.51b0}
BuildRequires: %{python_module pytest}
%endif
%python_subpackages