mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
udp: check statistics.extended config for prometheus
This commit is contained in:
parent
07eac06a36
commit
f1d0901416
1 changed files with 4 additions and 2 deletions
|
|
@ -129,8 +129,10 @@ impl StatisticsCollector {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.last_complete_histogram
|
if config.statistics.extended {
|
||||||
.update_metrics(self.ip_version.clone());
|
self.last_complete_histogram
|
||||||
|
.update_metrics(self.ip_version.clone());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let num_peers: usize = num_peers_by_worker.into_iter().sum();
|
let num_peers: usize = num_peers_by_worker.into_iter().sum();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue