From 9cefa8ac1fd6074f7fb44de78c72987840a4596c Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 14 Dec 2023 13:48:54 +0100 Subject: [PATCH] fix: Don't set a user if a user is not authenticated --- .../Integrations/WordPress/V2/WordPressIntegrationLoader.php | 2 +- ...enarios_callbacks_test.test_scenario_get_return_string.json | 3 +-- ...narios_callbacks_test.test_scenario_get_with_exception.json | 3 +-- ...n_scenarios_callbacks_test.test_scenario_get_with_view.json | 3 +-- ....common_scenarios_test.test_scenario_get_return_string.json | 3 +-- ...common_scenarios_test.test_scenario_get_with_exception.json | 3 +-- ...v4_8.common_scenarios_test.test_scenario_get_with_view.json | 3 +-- ...enarios_callbacks_test.test_scenario_get_return_string.json | 3 +-- ...rios_callbacks_test.test_scenario_get_to_missing_route.json | 3 +-- ...narios_callbacks_test.test_scenario_get_with_exception.json | 3 +-- ...n_scenarios_callbacks_test.test_scenario_get_with_view.json | 3 +-- ....common_scenarios_test.test_scenario_get_return_string.json | 3 +-- ...mmon_scenarios_test.test_scenario_get_to_missing_route.json | 3 +-- ...common_scenarios_test.test_scenario_get_with_exception.json | 3 +-- ...v5_5.common_scenarios_test.test_scenario_get_with_view.json | 3 +-- ...enarios_callbacks_test.test_scenario_get_return_string.json | 3 +-- ...rios_callbacks_test.test_scenario_get_to_missing_route.json | 3 +-- ...narios_callbacks_test.test_scenario_get_with_exception.json | 3 +-- ...n_scenarios_callbacks_test.test_scenario_get_with_view.json | 3 +-- ....common_scenarios_test.test_scenario_get_return_string.json | 3 +-- ...mmon_scenarios_test.test_scenario_get_to_missing_route.json | 3 +-- ...common_scenarios_test.test_scenario_get_with_exception.json | 3 +-- ...v5_9.common_scenarios_test.test_scenario_get_with_view.json | 3 +-- ...enarios_callbacks_test.test_scenario_get_return_string.json | 3 +-- ...narios_callbacks_test.test_scenario_get_with_exception.json | 3 +-- ...n_scenarios_callbacks_test.test_scenario_get_with_view.json | 3 +-- ....common_scenarios_test.test_scenario_get_return_string.json | 3 +-- ...common_scenarios_test.test_scenario_get_with_exception.json | 3 +-- ...v6_1.common_scenarios_test.test_scenario_get_with_view.json | 3 +-- 29 files changed, 29 insertions(+), 57 deletions(-) diff --git a/src/Integrations/Integrations/WordPress/V2/WordPressIntegrationLoader.php b/src/Integrations/Integrations/WordPress/V2/WordPressIntegrationLoader.php index 3cb91a11163..1abc151b029 100644 --- a/src/Integrations/Integrations/WordPress/V2/WordPressIntegrationLoader.php +++ b/src/Integrations/Integrations/WordPress/V2/WordPressIntegrationLoader.php @@ -268,7 +268,7 @@ function (HookData $hook) use ($integration, $theme) { // Runs after wp-settings.php is loaded - i.e., after the entire core of WordPress functions is // loaded and the current user is populated $user = wp_get_current_user(); - if ($user) { + if ($user && $user->ID !== 0) { $meta = []; if ($user->user_login) { $meta['username'] = $user->user_login; diff --git a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_return_string.json index 60f03a6a476..181aa425072 100644 --- a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_return_string.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple?key=value&", "runtime-id": "ca4d22f2-9347-458f-be03-e9defbc1af52", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_with_exception.json index 767fc6b0cce..e000e2a04ce 100644 --- a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_with_exception.json @@ -18,8 +18,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/error?key=value&", "runtime-id": "2ee1d558-5813-4a2b-a74e-1404119c4473", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_with_view.json index 8b1235278a1..23ef8aa3577 100644 --- a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_callbacks_test.test_scenario_get_with_view.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple_view?key=value&", "runtime-id": "6732cc6a-78ad-4ca4-b1ea-5eb516ff75f0", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_return_string.json index a754fb1be21..c335349ddb0 100644 --- a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_return_string.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple?key=value&", "runtime-id": "a4fe8a3c-397d-4da6-afb8-53617be50dbe", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_with_exception.json index 4c3d0c4970a..b56822d1d09 100644 --- a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_with_exception.json @@ -18,8 +18,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/error?key=value&", "runtime-id": "06e879d2-e97d-4420-81ec-30074239cf68", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_with_view.json index ff804d175a1..5a1786eb9ff 100644 --- a/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.word_press.v4_8.common_scenarios_test.test_scenario_get_with_view.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple_view?key=value&", "runtime-id": "06e879d2-e97d-4420-81ec-30074239cf68", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_return_string.json index 2c1257d411a..9a26411521b 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_return_string.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple?key=value&", "runtime-id": "bb23676d-44d0-4bd7-8c2a-fc5a5c89985a", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_to_missing_route.json index 7154fc61821..3504271bc12 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_to_missing_route.json @@ -14,8 +14,7 @@ "http.status_code": "404", "http.url": "http://localhost:9999/does_not_exist?key=value&", "runtime-id": "bb23676d-44d0-4bd7-8c2a-fc5a5c89985a", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_with_exception.json index 7ffe282f11c..6bd9d47046a 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_with_exception.json @@ -18,8 +18,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/error?key=value&", "runtime-id": "7b42d084-3a90-4688-9319-30e9724039bb", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_with_view.json index 741d640c4fd..90a20cc92f0 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_callbacks_test.test_scenario_get_with_view.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple_view?key=value&", "runtime-id": "7b42d084-3a90-4688-9319-30e9724039bb", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_return_string.json index b15281c89d4..90035d9a7cd 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_return_string.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple?key=value&", "runtime-id": "9244a46d-d13c-4bce-b787-87c52dd20f33", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_to_missing_route.json index a6f55c0dfb8..7ff38287a35 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_to_missing_route.json @@ -14,8 +14,7 @@ "http.status_code": "404", "http.url": "http://localhost:9999/does_not_exist?key=value&", "runtime-id": "b5e7ee20-5ea1-486f-a770-c17a3b60636e", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_with_exception.json index e5f0da388a3..06feb859125 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_with_exception.json @@ -18,8 +18,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/error?key=value&", "runtime-id": "7a9eb703-4857-4061-adce-a45e58093b65", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_with_view.json index 74a9b28d7c3..782913de1c6 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.word_press.v5_5.common_scenarios_test.test_scenario_get_with_view.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple_view?key=value&", "runtime-id": "b5e7ee20-5ea1-486f-a770-c17a3b60636e", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_return_string.json index b23f76eb7ed..336d945829e 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_return_string.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple?key=value&", "runtime-id": "95e244b4-fc3a-4566-8940-d2badc3e99b5", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_to_missing_route.json index b5eed334ba8..2d714b5ae23 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_to_missing_route.json @@ -14,8 +14,7 @@ "http.status_code": "404", "http.url": "http://localhost:9999/does_not_exist?key=value&", "runtime-id": "95e244b4-fc3a-4566-8940-d2badc3e99b5", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_with_exception.json index d1b8eea442f..5c1d8738e9d 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_with_exception.json @@ -18,8 +18,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/error?key=value&", "runtime-id": "eae4f3b0-bd58-46e8-ac81-96149959e17a", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_with_view.json index 7bc7da770d9..9ab6009c013 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_callbacks_test.test_scenario_get_with_view.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple_view?key=value&", "runtime-id": "95e244b4-fc3a-4566-8940-d2badc3e99b5", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_return_string.json index 117350e68c2..b1afdbd3655 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_return_string.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple?key=value&", "runtime-id": "500b19ab-e36c-4cbc-a9dd-f15015a52ccf", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_to_missing_route.json b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_to_missing_route.json index f70f72db54b..59313cb3830 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_to_missing_route.json +++ b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_to_missing_route.json @@ -14,8 +14,7 @@ "http.status_code": "404", "http.url": "http://localhost:9999/does_not_exist?key=value&", "runtime-id": "c1971c1f-c171-4612-ba42-df98413a59df", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_with_exception.json index 629dd79dd0a..be6358dcd35 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_with_exception.json @@ -18,8 +18,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/error?key=value&", "runtime-id": "500b19ab-e36c-4cbc-a9dd-f15015a52ccf", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_with_view.json index 30b42854dae..1dd5fdda272 100644 --- a/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.word_press.v5_9.common_scenarios_test.test_scenario_get_with_view.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple_view?key=value&", "runtime-id": "c1971c1f-c171-4612-ba42-df98413a59df", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_return_string.json index 61920a5a8db..f75ce3c6a8d 100644 --- a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_return_string.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple?key=value&", "runtime-id": "912637ae-7f7b-4e70-aaf9-c93af17d9c55", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_with_exception.json index f691674aa93..0576141cc52 100644 --- a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_with_exception.json @@ -18,8 +18,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/error?key=value&", "runtime-id": "c89d84b2-1990-414b-82d3-bd32b893f06f", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_with_view.json index 04f53796f3f..2abceab035b 100644 --- a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_callbacks_test.test_scenario_get_with_view.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple_view?key=value&", "runtime-id": "912637ae-7f7b-4e70-aaf9-c93af17d9c55", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_return_string.json b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_return_string.json index 9e210ce681e..557d87cfe4f 100644 --- a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_return_string.json +++ b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_return_string.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple?key=value&", "runtime-id": "837e05f7-6878-41e5-b501-744109c8953b", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_with_exception.json b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_with_exception.json index 9b1ab08857c..fb10ad27ae1 100644 --- a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_with_exception.json +++ b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_with_exception.json @@ -18,8 +18,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/error?key=value&", "runtime-id": "7232ea59-8385-4459-abb2-dfebc631eff9", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0 diff --git a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_with_view.json b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_with_view.json index 511bf951514..0980cdd9891 100644 --- a/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_with_view.json +++ b/tests/snapshots/tests.integrations.word_press.v6_1.common_scenarios_test.test_scenario_get_with_view.json @@ -14,8 +14,7 @@ "http.status_code": "200", "http.url": "http://localhost:9999/simple_view?key=value&", "runtime-id": "837e05f7-6878-41e5-b501-744109c8953b", - "span.kind": "server", - "usr.id": "0" + "span.kind": "server" }, "metrics": { "_sampling_priority_v1": 1.0