stop calling spans scopes

This commit is contained in:
Andrew Dolgov
2023-10-20 22:39:41 +03:00
parent bf6e3c381b
commit d3fadc0bd0
13 changed files with 187 additions and 167 deletions

View File

@@ -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);
}