mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +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`.
|
/// 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,
|
pub peer_clients: bool,
|
||||||
/// Print statistics to standard output
|
/// Print statistics to standard output
|
||||||
pub print_to_stdout: bool,
|
pub print_to_stdout: bool,
|
||||||
|
|
@ -184,6 +185,7 @@ pub struct StatisticsConfig {
|
||||||
#[cfg(feature = "prometheus")]
|
#[cfg(feature = "prometheus")]
|
||||||
pub prometheus_endpoint_address: SocketAddr,
|
pub prometheus_endpoint_address: SocketAddr,
|
||||||
/// Serve information on all peer id prefixes on the prometheus endpoint.
|
/// Serve information on all peer id prefixes on the prometheus endpoint.
|
||||||
|
///
|
||||||
/// Requires `peer_clients` to be activated.
|
/// Requires `peer_clients` to be activated.
|
||||||
///
|
///
|
||||||
/// May consume quite a bit of CPU and RAM, since data on every single peer
|
/// 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