[][src]Struct tendermint::config::InstrumentationConfig

pub struct InstrumentationConfig {
    pub prometheus: bool,
    pub prometheus_listen_addr: String,
    pub max_open_connections: u64,
    pub namespace: String,
}

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

impl Clone for InstrumentationConfig[src]

impl Debug for InstrumentationConfig[src]

impl Serialize for InstrumentationConfig[src]

impl<'de> Deserialize<'de> for InstrumentationConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Typeable for T where
    T: Any