diff options
author | Andrew Dolgov <[email protected]> | 2023-04-09 20:50:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-04-09 20:50:33 +0300 |
commit | 8f3646a9c93a06f76f6abb31020fdb74b4b1fc59 (patch) | |
tree | 4e6c9f39e0623ef70bedfee014f1bd20603f89ad /classes/rpc.php | |
parent | a37eab2610a0a2bcb655258781c1c7e925dc94c0 (diff) |
exp: jaeger tracing
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-x | classes/rpc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 204b002d5..977b88d46 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -106,6 +106,8 @@ class RPC extends Handler_Protected { } function getAllCounters(): void { + $scope = Tracer::start(__FUNCTION__); + @$seq = (int) $_REQUEST['seq']; $feed_id_count = (int) ($_REQUEST["feed_id_count"] ?? -1); @@ -132,6 +134,7 @@ class RPC extends Handler_Protected { 'seq' => $seq ]; + $scope->close(); print json_encode($reply); } |