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 Clap for InfoServiceConfig
[src]pub fn parse() -> Self
[src]
pub fn try_parse() -> Result<Self, Error>
[src]
pub fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
pub fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
impl Clone for InfoServiceConfig
[src]
impl Clone for InfoServiceConfig
[src]fn clone(&self) -> InfoServiceConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for InfoServiceConfig
[src]
impl Default for InfoServiceConfig
[src]fn default() -> InfoServiceConfig
[src]
impl FromArgMatches for InfoServiceConfig
[src]
impl FromArgMatches for InfoServiceConfig
[src]fn from_arg_matches(matches: &ArgMatches) -> Self
[src]
impl IntoApp 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> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,