Struct tendermint::config::InstrumentationConfig [−][src]
pub struct InstrumentationConfig { pub prometheus: bool, pub prometheus_listen_addr: String, pub max_open_connections: u64, pub namespace: String, }
Expand description
instrumentation configuration options
Fields
prometheus: bool
When true
, Prometheus metrics are served under /metrics on
PrometheusListenAddr.
prometheus_listen_addr: String
Address to listen for Prometheus collector(s) connections
max_open_connections: u64
Maximum number of simultaneous connections.
namespace: String
Instrumentation namespace
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InstrumentationConfig
impl Send for InstrumentationConfig
impl Sync for InstrumentationConfig
impl Unpin for InstrumentationConfig
impl UnwindSafe for InstrumentationConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V