From e455af04a6ab8900d425bd48dfb814d67d69dd90 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 14 Sep 2023 15:38:48 -0500 Subject: [PATCH] fix: ensure string url is used for dynatrace sdk trace --- autodynatrace/wrappers/aiohttp/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autodynatrace/wrappers/aiohttp/wrapper.py b/autodynatrace/wrappers/aiohttp/wrapper.py index 130d2c8..17f48c8 100644 --- a/autodynatrace/wrappers/aiohttp/wrapper.py +++ b/autodynatrace/wrappers/aiohttp/wrapper.py @@ -11,7 +11,7 @@ def instrument(): async def dynatrace_request(wrapped, instance, args, kwargs): method = args[0] - url = args[1] + url = str(args[1]) headers = dict(kwargs.get("headers", {})) with sdk.trace_outgoing_web_request(url, method, headers) as tracer: