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
histogram_masks: Vec<(Regex, Vec<f64>)>
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.
summarize_error_bound: f64
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for StatsdParseConfig
[src]
fn clone(&self) -> StatsdParseConfig
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for StatsdParseConfig
[src]
fn default() -> StatsdParseConfig
[src]
Returns the "default value" for a type. Read more