mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: update config comments
This commit is contained in:
parent
da25d60a5d
commit
e6b0585372
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue