Skip to content

Commit

Permalink
Merge pull request DataDog#1419 from DataDog/leo/histograms
Browse files Browse the repository at this point in the history
[core] Fix histogram option typo
  • Loading branch information
Remi Hakim committed Mar 13, 2015
2 parents 8fc200f + a6fe83c commit f5115a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,10 +379,10 @@ def get_config(parse_args=True, cfg_path=None, options=None):

# Custom histogram aggregate/percentile metrics
if config.has_option('Main', 'histogram_aggregates'):
agentConfig['histogram_aggregates'] = get_histogram_aggregates(config.get('Main', 'histograms_aggregates'))
agentConfig['histogram_aggregates'] = get_histogram_aggregates(config.get('Main', 'histogram_aggregates'))

if config.has_option('Main', 'histogram_percentiles'):
agentConfig['histogram_percentiles'] = get_histogram_percentiles(config.get('Main', 'histograms_percentiles'))
agentConfig['histogram_percentiles'] = get_histogram_percentiles(config.get('Main', 'histogram_percentiles'))

# Disable Watchdog (optionally)
if config.has_option('Main', 'watchdog'):
Expand Down

0 comments on commit f5115a4

Please sign in to comment.