Skip to content

Commit

Permalink
[Xhprof] Added url tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Den4ik committed Feb 19, 2025
1 parent 82f76ce commit cb3abed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion images/php-fpm/context/xhprof/etc/runs/xhprof_append.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cb3abed

Please sign in to comment.