opentelemetry-instrumentation-aiohttp-client 0.55b1__py3-none-any.whl → 0.57b0__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.
@@ -135,7 +135,7 @@ from opentelemetry.semconv.metrics.http_metrics import (
135
135
  )
136
136
  from opentelemetry.trace import Span, SpanKind, TracerProvider, get_tracer
137
137
  from opentelemetry.trace.status import Status, StatusCode
138
- from opentelemetry.util.http import remove_url_credentials, sanitize_method
138
+ from opentelemetry.util.http import redact_url, sanitize_method
139
139
 
140
140
  _UrlFilterT = typing.Optional[typing.Callable[[yarl.URL], str]]
141
141
  _RequestHookT = typing.Optional[
@@ -311,9 +311,9 @@ def create_trace_config(
311
311
  method = params.method
312
312
  request_span_name = _get_span_name(method)
313
313
  request_url = (
314
- remove_url_credentials(trace_config_ctx.url_filter(params.url))
314
+ redact_url(trace_config_ctx.url_filter(params.url))
315
315
  if callable(trace_config_ctx.url_filter)
316
- else remove_url_credentials(str(params.url))
316
+ else redact_url(str(params.url))
317
317
  )
318
318
 
319
319
  span_attributes = {}
@@ -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.55b1"
15
+ __version__ = "0.57b0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: opentelemetry-instrumentation-aiohttp-client
3
- Version: 0.55b1
3
+ Version: 0.57b0
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.55b1
23
- Requires-Dist: opentelemetry-semantic-conventions==0.55b1
24
- Requires-Dist: opentelemetry-util-http==0.55b1
22
+ Requires-Dist: opentelemetry-instrumentation==0.57b0
23
+ Requires-Dist: opentelemetry-semantic-conventions==0.57b0
24
+ Requires-Dist: opentelemetry-util-http==0.57b0
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=-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,,
@@ -1,8 +0,0 @@
1
- opentelemetry/instrumentation/aiohttp_client/__init__.py,sha256=rLi7n_y4XtF1Lv_GAtAz1b5ku7JWDvm_elAA18MkLAg,18851
2
- opentelemetry/instrumentation/aiohttp_client/package.py,sha256=__vTycWKYyXjT2fu2vsyQ1YEFDZeYBNrlfrJtzELG6o,680
3
- opentelemetry/instrumentation/aiohttp_client/version.py,sha256=KDpIRiO89Niqyaplpb46BZGZyR_QWCc4_eR0dh0hPCg,610
4
- opentelemetry_instrumentation_aiohttp_client-0.55b1.dist-info/METADATA,sha256=VrjHcdaYfhVDrW3mNz23sckpTTHwdLeZouvZUmlNi-4,2167
5
- opentelemetry_instrumentation_aiohttp_client-0.55b1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
- opentelemetry_instrumentation_aiohttp_client-0.55b1.dist-info/entry_points.txt,sha256=RyZ5eVO-u3V_rwvLrhMM0ABs_WYZDqcagmMKwDPtmwE,117
7
- opentelemetry_instrumentation_aiohttp_client-0.55b1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
8
- opentelemetry_instrumentation_aiohttp_client-0.55b1.dist-info/RECORD,,