From cb3abeda946fbecf8ff1878a34ffa4bf2094bd39 Mon Sep 17 00:00:00 2001 From: Denis Kopylov Date: Wed, 19 Feb 2025 22:40:18 +0300 Subject: [PATCH] [Xhprof] Added url tag --- images/php-fpm/context/xhprof/etc/runs/xhprof_append.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images/php-fpm/context/xhprof/etc/runs/xhprof_append.php b/images/php-fpm/context/xhprof/etc/runs/xhprof_append.php index 161a79e..9c9a65e 100644 --- a/images/php-fpm/context/xhprof/etc/runs/xhprof_append.php +++ b/images/php-fpm/context/xhprof/etc/runs/xhprof_append.php @@ -3,7 +3,9 @@ $xhprofData = xhprof_disable(); $data = json_encode([ 'profile' => $xhprofData, - 'tags' => [], + 'tags' => [ + 'url' => $_SERVER['REQUEST_URI'] + ], 'app_name' => getenv('WARDEN_ENV_NAME'), 'hostname' => gethostname(), 'date' => (new DateTimeImmutable())->getTimestamp()