Struct bosun_emitter::BosunConfig [] [src]

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

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

Fields

Bosun server host name

Local host name

Tags to always append to each metric

Methods

impl BosunConfig
[src]

Creates a default configuration for localhost, port 8070.

Loads a configuration from an SCollector configuration file.

Trait Implementations

impl Debug for BosunConfig
[src]

Formats the value using the given formatter.

impl Decodable for BosunConfig
[src]

Deserialize a value using a Decoder.