Struct cernan::source::StatsdParseConfig [] [src]

pub struct StatsdParseConfig {
    pub histogram_masks: Vec<(Regex, Vec<f64>)>,
    pub summarize_error_bound: f64,
}

Configuration for the statsd parser

Fields

Set specific bin masks for timeseries according to their name. The name may be a regex match, such like 'foo.*'. In this case all metrics prefixed by 'foo.' which are timer or histogram will be interpreted as a histogram.

Configure the error bound for a statsd timer or histogram. Cernan does not compute precise quantiles but approximations with a guaranteed upper bound on the error of approximation. This allows the end-user to set that.

Trait Implementations

impl Debug for StatsdParseConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for StatsdParseConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for StatsdParseConfig
[src]

[src]

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

Auto Trait Implementations