opentelemetry-instrumentation-aiohttp-client 0.57b0__py3-none-any.whl → 0.58b0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -273,7 +273,8 @@ def create_trace_config(
273
273
 
274
274
  def _end_trace(trace_config_ctx: types.SimpleNamespace):
275
275
  elapsed_time = max(default_timer() - trace_config_ctx.start_time, 0)
276
- context_api.detach(trace_config_ctx.token)
276
+ if trace_config_ctx.token:
277
+ context_api.detach(trace_config_ctx.token)
277
278
  trace_config_ctx.span.end()
278
279
 
279
280
  if trace_config_ctx.duration_histogram_old is not None:
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "0.57b0"
15
+ __version__ = "0.58b0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: opentelemetry-instrumentation-aiohttp-client
3
- Version: 0.57b0
3
+ Version: 0.58b0
4
4
  Summary: OpenTelemetry aiohttp client instrumentation
5
5
  Project-URL: Homepage, https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-aiohttp-client
6
6
  Project-URL: Repository, https://github.com/open-telemetry/opentelemetry-python-contrib
@@ -19,9 +19,9 @@ Classifier: Programming Language :: Python :: 3.12
19
19
  Classifier: Programming Language :: Python :: 3.13
20
20
  Requires-Python: >=3.9
21
21
  Requires-Dist: opentelemetry-api~=1.12
22
- Requires-Dist: opentelemetry-instrumentation==0.57b0
23
- Requires-Dist: opentelemetry-semantic-conventions==0.57b0
24
- Requires-Dist: opentelemetry-util-http==0.57b0
22
+ Requires-Dist: opentelemetry-instrumentation==0.58b0
23
+ Requires-Dist: opentelemetry-semantic-conventions==0.58b0
24
+ Requires-Dist: opentelemetry-util-http==0.58b0
25
25
  Requires-Dist: wrapt<2.0.0,>=1.0.0
26
26
  Provides-Extra: instruments
27
27
  Requires-Dist: aiohttp~=3.0; extra == 'instruments'
@@ -0,0 +1,8 @@
1
+ opentelemetry/instrumentation/aiohttp_client/__init__.py,sha256=7-1lLV13n4k7DUbwZ0wUjcrh-mJ8ddkhGv_W-g5E33c,18854
2
+ opentelemetry/instrumentation/aiohttp_client/package.py,sha256=__vTycWKYyXjT2fu2vsyQ1YEFDZeYBNrlfrJtzELG6o,680
3
+ opentelemetry/instrumentation/aiohttp_client/version.py,sha256=J-MqLhLDd0RX_OlyzcCMyuNrY_IBKcmUUNwiJ3JfkqQ,610
4
+ opentelemetry_instrumentation_aiohttp_client-0.58b0.dist-info/METADATA,sha256=qcOmnqOSS8WRWg70k_IBG-49-iy0l1Jjp8jaOzEcLOk,2167
5
+ opentelemetry_instrumentation_aiohttp_client-0.58b0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
+ opentelemetry_instrumentation_aiohttp_client-0.58b0.dist-info/entry_points.txt,sha256=RyZ5eVO-u3V_rwvLrhMM0ABs_WYZDqcagmMKwDPtmwE,117
7
+ opentelemetry_instrumentation_aiohttp_client-0.58b0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
8
+ opentelemetry_instrumentation_aiohttp_client-0.58b0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- opentelemetry/instrumentation/aiohttp_client/__init__.py,sha256=-39Xf3mc97NaLaaE0zsvZrzZXwvOOqmVjw-1zbpAO_c,18815
2
- opentelemetry/instrumentation/aiohttp_client/package.py,sha256=__vTycWKYyXjT2fu2vsyQ1YEFDZeYBNrlfrJtzELG6o,680
3
- opentelemetry/instrumentation/aiohttp_client/version.py,sha256=2idyle1W6moKHfCgEoTm70Gq80CRw95wOrjMLiv4kkM,610
4
- opentelemetry_instrumentation_aiohttp_client-0.57b0.dist-info/METADATA,sha256=9N3fkHlVhbykeljs41pa_HTJxQo2k1NaDJtig8bV9s0,2167
5
- opentelemetry_instrumentation_aiohttp_client-0.57b0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
- opentelemetry_instrumentation_aiohttp_client-0.57b0.dist-info/entry_points.txt,sha256=RyZ5eVO-u3V_rwvLrhMM0ABs_WYZDqcagmMKwDPtmwE,117
7
- opentelemetry_instrumentation_aiohttp_client-0.57b0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
8
- opentelemetry_instrumentation_aiohttp_client-0.57b0.dist-info/RECORD,,