more tracing

This commit is contained in:
Andrew Dolgov
2023-04-09 22:15:16 +03:00
parent d68c736e47
commit e18295a364
8 changed files with 92 additions and 31 deletions

View File

@@ -145,7 +145,7 @@ class Counters {
* @return array<int, array<string, int|string>>
*/
private static function get_feeds(array $feed_ids = null): array {
$scope = Tracer::start(__FUNCTION__);
$scope = Tracer::start(__METHOD__);
$ret = [];
@@ -221,7 +221,7 @@ class Counters {
* @return array<int, array<string, int|string>>
*/
private static function get_global(): array {
$scope = Tracer::start(__FUNCTION__);
$scope = Tracer::start(__METHOD__);
$ret = [
[
@@ -248,7 +248,7 @@ class Counters {
* @return array<int, array<string, int|string>>
*/
private static function get_virt(): array {
$scope = Tracer::start(__FUNCTION__);
$scope = Tracer::start(__METHOD__);
$ret = [];
@@ -304,7 +304,7 @@ class Counters {
* @return array<int, array<string, int|string>>
*/
static function get_labels(array $label_ids = null): array {
$scope = Tracer::start(__FUNCTION__);
$scope = Tracer::start(__METHOD__);
$ret = [];