diff options
author | Andrew Dolgov <[email protected]> | 2023-10-20 22:39:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-20 22:39:41 +0300 |
commit | d3fadc0bd0256697e4a8e9a445d48d9620339f04 (patch) | |
tree | e057b3dec2303faec913dc876b52340cabbe7877 /classes/rpc.php | |
parent | bf6e3c381b31d71113dae521784c4f9b00f22de3 (diff) |
stop calling spans scopes
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-x | classes/rpc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 929c6bda0..092a0e25f 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -106,7 +106,7 @@ class RPC extends Handler_Protected { } function getAllCounters(): void { - $scope = Tracer::start(__METHOD__); + $span = Tracer::start(__METHOD__); @$seq = (int) $_REQUEST['seq']; @@ -134,7 +134,7 @@ class RPC extends Handler_Protected { 'seq' => $seq ]; - $scope->end(); + $span->end(); print json_encode($reply); } |