diff --git a/packages/http/httpx/kiota_http/httpx_request_adapter.py b/packages/http/httpx/kiota_http/httpx_request_adapter.py index d204ccc..8adadea 100644 --- a/packages/http/httpx/kiota_http/httpx_request_adapter.py +++ b/packages/http/httpx/kiota_http/httpx_request_adapter.py @@ -607,7 +607,7 @@ def get_request_from_request_information( } if url.port is not None: - otel_attributes["http.port"] = url.port + otel_attributes["http.port"] = str(url.port) if self.observability_options.include_euii_attributes: otel_attributes.update({URL_FULL: url.geturl()})