summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-20 22:39:41 +0300
committerAndrew Dolgov <[email protected]>2023-10-20 22:39:41 +0300
commitd3fadc0bd0256697e4a8e9a445d48d9620339f04 (patch)
treee057b3dec2303faec913dc876b52340cabbe7877 /classes/rpc.php
parentbf6e3c381b31d71113dae521784c4f9b00f22de3 (diff)
stop calling spans scopes
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php4
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);
}