Struct rs_collector::config::Config[][src]

pub struct Config {
    pub Host: String,
    pub Hostname: String,
    pub Tags: Tags,
    pub Galera: Option<GaleraConfig>,
    pub HasIpAddr: Option<HasIpAddrConfig>,
    pub Jvm: Vec<JvmConfig>,
    pub Mongo: Vec<MongoConfig>,
    pub Postfix: Option<PostfixConfig>,
    pub Megaraid: Option<MegaraidConfig>,
    pub DontSend: Option<bool>,
}

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

Galera config; if enabled

HasIpAddr config; if enabled

JVM config; if enabled

Mongo configs; if enabled

Postfix config; if enabled

Postfix config; if enabled

Deactivate Data Transmission to Bosun

Methods

impl Config
[src]

Loads a configuration from an SCollector configuration file.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter. Read more

impl Decodable for Config
[src]

Deserialize a value using a Decoder.

impl Default for Config
[src]

Creates a default configuration for localhost, port 8070.

Auto Trait Implementations

impl Send for Config

impl Sync for Config