pub struct BosunConfig {
    pub Host: String,
    pub Hostname: String,
    pub Tags: Tags,
}
Expand description

Represents connection parameters to reach Bosun as well as default tags to append to each metric datum.

Fields

Host: String

Bosun server host name

Hostname: String

Local host name

Tags: Tags

Tags to always append to each metric

Implementations

Creates a default configuration for localhost, port 8070.

Loads a configuration from an SCollector configuration file.

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize a value using a Decoder.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.