From 6044b4f2cee59ef4990b58e0c0b002e7130abc8f Mon Sep 17 00:00:00 2001 From: Weslen Teche Date: Thu, 19 Oct 2023 21:14:08 -0300 Subject: [PATCH] Update deprecated attributes (#207) --- src/Watchers/ClientRequestWatcher.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Watchers/ClientRequestWatcher.php b/src/Watchers/ClientRequestWatcher.php index 73fa171..3d96d5c 100644 --- a/src/Watchers/ClientRequestWatcher.php +++ b/src/Watchers/ClientRequestWatcher.php @@ -50,7 +50,6 @@ public function recordRequest(RequestSending $request): void TraceAttributes::HTTP_REQUEST_METHOD => $request->request->method(), TraceAttributes::URL_FULL => $processedUrl, TraceAttributes::URL_PATH => $parsedUrl['path'] ?? '', - TraceAttributes::HTTP_HOST => $parsedUrl['host'] ?? '', TraceAttributes::URL_SCHEME => $parsedUrl['scheme'] ?? '', TraceAttributes::SERVER_ADDRESS => $parsedUrl['host'] ?? '', TraceAttributes::SERVER_PORT => $parsedUrl['port'] ?? '',