File tree Expand file tree Collapse file tree
packages/udp-tracker-server/src/statistics Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ impl Metrics {
8585 #[ must_use]
8686 #[ allow( clippy:: cast_sign_loss) ]
8787 #[ allow( clippy:: cast_possible_truncation) ]
88- pub fn udp_avg_processing_time_ns ( & self , label_set : & LabelSet ) -> u64 {
88+ fn udp_avg_processing_time_ns ( & self , label_set : & LabelSet ) -> u64 {
8989 self . metric_collection
9090 . sum (
9191 & metric_name ! ( UDP_TRACKER_SERVER_PERFORMANCE_AVG_PROCESSING_TIME_NS ) ,
@@ -106,7 +106,7 @@ impl Metrics {
106106 #[ must_use]
107107 #[ allow( clippy:: cast_sign_loss) ]
108108 #[ allow( clippy:: cast_possible_truncation) ]
109- pub fn udp_processed_requests_total ( & self , label_set : & LabelSet ) -> u64 {
109+ fn udp_processed_requests_total ( & self , label_set : & LabelSet ) -> u64 {
110110 self . metric_collection
111111 . sum (
112112 & metric_name ! ( UDP_TRACKER_SERVER_PERFORMANCE_AVG_PROCESSED_REQUESTS_TOTAL ) ,
You can’t perform that action at this time.
0 commit comments