Accepting request 1235905 from home:glaubitz:branches:devel:languages:python

- Update to version 0.50b0
  * `opentelemetry-instrumentation-starlette` Add type hints to the instrumentation
  * `opentelemetry-distro` default to OTLP log exporter.
  * `opentelemetry-instrumentation-sqlalchemy` Update unit tests to run with SQLALchemy 2
  * Add `opentelemetry-instrumentation-openai-v2` to `opentelemetry-bootstrap`
  * `opentelemetry-instrumentation-sqlalchemy` Add sqlcomment to `db.statement` attribute
  * `opentelemetry-instrumentation-dbapi` Add sqlcomment to `db.statement` attribute
  * `opentelemetry-instrumentation-dbapi` instrument_connection accepts optional connect_module
  * `opentelemetry-instrumentation-mysqlclient` Add sqlcommenter support
  * `opentelemetry-instrumentation-pymysql` Add sqlcommenter support
  * `opentelemetry-instrumentation-click`: new instrumentation to trace click commands
  * `opentelemetry-instrumentation-starlette`: Retrieve `meter_provider` key instead of
    `_meter_provider` on `_instrument`
  * `opentelemetry-instrumentation-httpx`: instrument_client is a static method again
  * `opentelemetry-instrumentation-system_metrics`: fix callbacks reading wrong config
  * `opentelemetry-instrumentation-httpx`: Check if mount transport is none before wrap it
  * Replace all instrumentor unit test `assertEqualSpanInstrumentationInfo` calls with
    `assertEqualSpanInstrumentationScope` calls
  * `opentelemetry-instrumentation-sqlalchemy` Fixes engines from `sqlalchemy.engine_from_config`
    not being fully instrumented
  * `opentelemetry-instrumentation-sqlalchemy`: Fix a remaining memory leak in EngineTracer
  * `opentelemetry-instrumentation-sqlite3`: Update documentation on explicit cursor support of tracing
  * `opentelemetry-instrumentation-sqlalchemy` teach instruments version
  * Drop `opentelemetry-instrumentation-test` package from default instrumentation list
  * `opentelemetry-instrumentation-httpx`: remove private unused `_InstrumentedClient`
    and `_InstrumentedAsyncClient` classes
- from version 0.49b0
  * `opentelemetry-instrumentation-openai-v2` Instrumentation for OpenAI >= 0.27.0
  * `opentelemetry-instrumentation-fastapi` Add autoinstrumentation mechanism tests.
  * `opentelemetry-instrumentation-aiokafka` Add instrumentor and auto instrumentation

OBS-URL: https://build.opensuse.org/request/show/1235905
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-instrumentation-asgi?expand=0&rev=3
This commit is contained in:
2025-01-08 12:24:17 +00:00
committed by Git OBS Bridge
parent c2611338e1
commit 8ef3139c71
4 changed files with 66 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04c32174b23c7fa72ddfe192dad874954968a6a924608079af9952964ecdf785
size 23435

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ca4cb5616ae6a3e8ce86e7d5c360a8d8cc8ed722cf3dc8a5e44300774e87d49
size 24105

View File

@@ -1,3 +1,52 @@
-------------------------------------------------------------------
Wed Jan 8 11:21:14 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.50b0
* `opentelemetry-instrumentation-starlette` Add type hints to the instrumentation
* `opentelemetry-distro` default to OTLP log exporter.
* `opentelemetry-instrumentation-sqlalchemy` Update unit tests to run with SQLALchemy 2
* Add `opentelemetry-instrumentation-openai-v2` to `opentelemetry-bootstrap`
* `opentelemetry-instrumentation-sqlalchemy` Add sqlcomment to `db.statement` attribute
* `opentelemetry-instrumentation-dbapi` Add sqlcomment to `db.statement` attribute
* `opentelemetry-instrumentation-dbapi` instrument_connection accepts optional connect_module
* `opentelemetry-instrumentation-mysqlclient` Add sqlcommenter support
* `opentelemetry-instrumentation-pymysql` Add sqlcommenter support
* `opentelemetry-instrumentation-click`: new instrumentation to trace click commands
* `opentelemetry-instrumentation-starlette`: Retrieve `meter_provider` key instead of
`_meter_provider` on `_instrument`
* `opentelemetry-instrumentation-httpx`: instrument_client is a static method again
* `opentelemetry-instrumentation-system_metrics`: fix callbacks reading wrong config
* `opentelemetry-instrumentation-httpx`: Check if mount transport is none before wrap it
* Replace all instrumentor unit test `assertEqualSpanInstrumentationInfo` calls with
`assertEqualSpanInstrumentationScope` calls
* `opentelemetry-instrumentation-sqlalchemy` Fixes engines from `sqlalchemy.engine_from_config`
not being fully instrumented
* `opentelemetry-instrumentation-sqlalchemy`: Fix a remaining memory leak in EngineTracer
* `opentelemetry-instrumentation-sqlite3`: Update documentation on explicit cursor support of tracing
* `opentelemetry-instrumentation-sqlalchemy` teach instruments version
* Drop `opentelemetry-instrumentation-test` package from default instrumentation list
* `opentelemetry-instrumentation-httpx`: remove private unused `_InstrumentedClient`
and `_InstrumentedAsyncClient` classes
- from version 0.49b0
* `opentelemetry-instrumentation-openai-v2` Instrumentation for OpenAI >= 0.27.0
* `opentelemetry-instrumentation-fastapi` Add autoinstrumentation mechanism tests.
* `opentelemetry-instrumentation-aiokafka` Add instrumentor and auto instrumentation
support for aiokafka
* `opentelemetry-instrumentation-redis` Add additional attributes for methods create_index
and search, rename those spans
* `opentelemetry-instrumentation` Add support for string based dotted module paths in unwrap
* `opentelemetry-instrumentation-aiokafka` Wrap `AIOKafkaConsumer.getone()` instead of `AIOKafkaConsumer.__anext__`
* `opentelemetry-instrumentation-confluent-kafka` Fix to allow `topic` to be extracted from `kwargs` in `produce()`
* `opentelemetry-instrumentation-system-metrics` Update metric units to conform to UCUM conventions.
* `opentelemetry-instrumentation-celery` Don't detach context without a None token
* `opentelemetry-exporter-prometheus-remote-write`: sort labels before exporting
* `opentelemetry-instrumentation-dbapi` sqlcommenter key values created from PostgreSQL, MySQL systems
* `opentelemetry-instrumentation-system-metrics`: don't report open file descriptors on Windows
* Deprecation of pkg_resource in favor of importlib.metadata
* `opentelemetry-instrumentation` Don't fail distro loading if instrumentor raises ImportError, instead skip them
* `opentelemetry-instrumentation-httpx` Rewrote instrumentation to use wrapt instead of subclassing
- Use %{version} in BuildRequires and Requires for dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 4 21:17:56 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Wed Sep 4 21:17:56 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-opentelemetry-instrumentation-asgi # spec file for package python-opentelemetry-instrumentation-asgi
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,31 +15,32 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-opentelemetry-instrumentation-asgi%{?psuffix} Name: python-opentelemetry-instrumentation-asgi%{?psuffix}
Version: 0.48b0 Version: 0.50b0
Release: 0 Release: 0
Summary: ASGI instrumentation for OpenTelemetry Summary: ASGI instrumentation for OpenTelemetry
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-asgi URL: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-asgi
Source: https://files.pythonhosted.org/packages/source/o/opentelemetry_instrumentation_asgi/opentelemetry_instrumentation_asgi-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/o/opentelemetry_instrumentation_asgi/opentelemetry_instrumentation_asgi-%{version}.tar.gz
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module opentelemetry-api >= 1.12}
BuildRequires: %{python_module opentelemetry-instrumentation == %{version}}
BuildRequires: %{python_module opentelemetry-semantic-conventions == %{version}}
BuildRequires: %{python_module opentelemetry-test-utils == %{version}}
BuildRequires: %{python_module opentelemetry-util-http == %{version}}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
BuildRequires: %{python_module opentelemetry-test-utils = 0.48b0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module opentelemetry-api >= 1.12}
BuildRequires: %{python_module opentelemetry-instrumentation = 0.48b0}
BuildRequires: %{python_module opentelemetry-semantic-conventions = 0.48b0}
BuildRequires: %{python_module opentelemetry-util-http = 0.48b0}
BuildRequires: %{python_module hatchling}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-asgiref >= 3.0 Requires: python-asgiref >= 3.0
Requires: python-opentelemetry-api >= 1.12 Requires: python-opentelemetry-api >= 1.12
Requires: python-opentelemetry-instrumentation = 0.48b0 Requires: python-opentelemetry-instrumentation == %{version}
Requires: python-opentelemetry-semantic-conventions = 0.48b0 Requires: python-opentelemetry-semantic-conventions == %{version}}
Requires: python-opentelemetry-util-http = 0.48b0 Requires: python-opentelemetry-util-http == %{version}}
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages