Struct dvm_info::config::InfoServiceConfig[][src]

pub struct InfoServiceConfig {
    pub info_service_addr: Option<SocketAddr>,
    pub dvm_self_check_addr: Option<Endpoint>,
    pub metric_update_interval: u64,
    pub heartbeat_max_interval: u64,
    pub heartbeat_stimulation_interval: u64,
}

Configuration for service that gathers metrics about VM execution.

Fields

info_service_addr: Option<SocketAddr>

Info service address in the form of HOST_ADDRESS:PORT. Optional parameter. If the address is set, the web service starts.

dvm_self_check_addr: Option<Endpoint>

Dvm self address. HOST_ADDRESS:PORT. Optional parameter. If the address is set, the health check service starts.

metric_update_interval: u64

Metric refresh interval in seconds.

heartbeat_max_interval: u64

Maximum period between heartbeats. In seconds.

heartbeat_stimulation_interval: u64

The interval between ping requests to dvm. In seconds.

Trait Implementations

impl Clap for InfoServiceConfig[src]

impl Clone for InfoServiceConfig[src]

impl Debug for InfoServiceConfig[src]

impl Default for InfoServiceConfig[src]

impl FromArgMatches for InfoServiceConfig[src]

impl IntoApp for InfoServiceConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for InfoServiceConfig

impl Send for InfoServiceConfig

impl Sync for InfoServiceConfig

impl Unpin for InfoServiceConfig

impl UnwindSafe for InfoServiceConfig

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]