File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
packages/torrent-repository/src/statistics Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ use torrust_tracker_metrics::metric_name;
88use torrust_tracker_metrics:: unit:: Unit ;
99
1010const TORRENT_REPOSITORY_RUNTIME_TORRENTS_DOWNLOADS_TOTAL : & str = "torrent_repository_runtime_torrents_downloads_total" ;
11- const TORRENT_REPOSITORY_PERSISTENT_TORRENTS_DOWNLOADS_TOTAL : & str = "torrent_repository_persistent_torrents_downloads_total" ;
1211
1312#[ must_use]
1413pub fn describe_metrics ( ) -> Metrics {
@@ -22,13 +21,5 @@ pub fn describe_metrics() -> Metrics {
2221 ) ) ,
2322 ) ;
2423
25- metrics. metric_collection . describe_counter (
26- & metric_name ! ( TORRENT_REPOSITORY_PERSISTENT_TORRENTS_DOWNLOADS_TOTAL ) ,
27- Some ( Unit :: Count ) ,
28- Some ( & MetricDescription :: new (
29- "The total number of torrent downloads since persistent statistics were enabled the first time." ,
30- ) ) ,
31- ) ;
32-
3324 metrics
3425}
You can’t perform that action at this time.
0 commit comments