udp: update config comments

This commit is contained in:
Joakim Frostegård 2023-06-08 01:25:58 +02:00
parent da25d60a5d
commit e6b0585372

View file

@ -169,7 +169,8 @@ pub struct StatisticsConfig {
///
/// Also, see `prometheus_peer_id_prefixes`.
///
/// Quite costly when it comes to CPU and RAM.
/// Expect a certain CPU hit (maybe 5% higher consumption) and a bit higher
/// memory use
pub peer_clients: bool,
/// Print statistics to standard output
pub print_to_stdout: bool,
@ -184,6 +185,7 @@ pub struct StatisticsConfig {
#[cfg(feature = "prometheus")]
pub prometheus_endpoint_address: SocketAddr,
/// Serve information on all peer id prefixes on the prometheus endpoint.
///
/// Requires `peer_clients` to be activated.
///
/// May consume quite a bit of CPU and RAM, since data on every single peer