Struct cernan::source::StatsdConfig [] [src]

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

Configuration for the statsd source.

Fields

The host for the statsd protocol to bind to.

The port for the statsd source to listen on.

The forwards that statsd will send its telemetry on to.

The unique name for the source in the routing topology.

Configuration for the parsing of statsd lines

Trait Implementations

impl Debug for StatsdConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for StatsdConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for StatsdConfig
[src]

[src]

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

impl Source<StatsdConfig> for Statsd
[src]

[src]

Create and spawn a new statsd source

[src]

Run method invoked by RunnableSource. It is from this method that Sources produce metric::Events. Read more

[src]

Constructs a so-called runnable source for the given Source and config.` See RunnableSource. Read more

Auto Trait Implementations

impl Send for StatsdConfig

impl Sync for StatsdConfig