Struct cernan::source::GraphiteConfig[−][src]

pub struct GraphiteConfig {
    pub host: String,
    pub port: u16,
    pub forwards: Vec<String>,
    pub config_path: Option<String>,
}

Configured for the metric::Telemetry source.

Fields

The host that the source will listen on. May be an IP address or a DNS hostname.

The port that the source will listen on.

The forwards that the source will send all its Telemetry.

The unique name of the source in the routing topology.

Trait Implementations

impl Debug for GraphiteConfig
[src]

Formats the value using the given formatter. Read more

impl Clone for GraphiteConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for GraphiteConfig
[src]

Returns the "default value" for a type. Read more

impl From<GraphiteConfig> for TCPConfig
[src]

Performs the conversion.

Auto Trait Implementations