diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-10-01 14:54:29 +0000 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-10-01 14:54:29 +0000 |
| commit | df33ddaea1e46b5b923440d6383fa3ae85c4d60b (patch) | |
| tree | 89c510638669466453c7451f5eb493f50e850de0 /classes/Counters.php | |
| parent | 8fcc68baf5b0ff964a0a4a045353462586e0e316 (diff) | |
| parent | 7e0f5f295c0480023098edca5e3f5a806bd93bab (diff) | |
Merge branch 'drop-opentelemetry' into 'master'
drop opentelemetry
See merge request tt-rss/tt-rss!68
Diffstat (limited to 'classes/Counters.php')
| -rw-r--r-- | classes/Counters.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/classes/Counters.php b/classes/Counters.php index b3cba162c..0f6b419ba 100644 --- a/classes/Counters.php +++ b/classes/Counters.php @@ -145,8 +145,6 @@ class Counters { * @return array<int, array<string, int|string>> */ private static function get_feeds(?array $feed_ids = null): array { - $span = Tracer::start(__METHOD__); - $ret = []; $pdo = Db::pdo(); @@ -212,8 +210,6 @@ class Counters { } - $span->end(); - return $ret; } @@ -221,8 +217,6 @@ class Counters { * @return array<int, array<string, int|string>> */ private static function get_global(): array { - $span = Tracer::start(__METHOD__); - $ret = [ [ "id" => "global-unread", @@ -239,8 +233,6 @@ class Counters { "counter" => $subcribed_feeds ]); - $span->end(); - return $ret; } @@ -248,8 +240,6 @@ class Counters { * @return array<int, array<string, int|string>> */ private static function get_virt(): array { - $span = Tracer::start(__METHOD__); - $ret = []; foreach ([Feeds::FEED_ARCHIVED, Feeds::FEED_STARRED, Feeds::FEED_PUBLISHED, @@ -295,7 +285,6 @@ class Counters { } } - $span->end(); return $ret; } @@ -304,8 +293,6 @@ class Counters { * @return array<int, array<string, int|string>> */ static function get_labels(?array $label_ids = null): array { - $span = Tracer::start(__METHOD__); - $ret = []; $pdo = Db::pdo(); @@ -356,7 +343,6 @@ class Counters { array_push($ret, $cv); } - $span->end(); return $ret; } } |