exp: jaeger tracing

This commit is contained in:
Andrew Dolgov
2023-04-09 20:50:33 +03:00
parent a37eab2610
commit 8f3646a9c9
276 changed files with 24972 additions and 684 deletions

View File

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